From f08c1ebc29b981b27d17c96f15e5e03043897b7d Mon Sep 17 00:00:00 2001 From: Umherirrender Date: Sat, 11 Jan 2020 22:27:35 +0100 Subject: [PATCH] build: Add MinusX MinusX will test for executable bits Also add php-console-highlighter Change-Id: I26929198357e032d70b4801c5e548278e7376fa9 --- composer.json | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index c9132a97a..d67d101d4 100644 --- a/composer.json +++ b/composer.json @@ -1,13 +1,19 @@ { "require-dev": { "jakub-onderka/php-parallel-lint": "1.0.0", - "mediawiki/mediawiki-codesniffer": "28.0.0" + "jakub-onderka/php-console-highlighter": "0.4.0", + "mediawiki/mediawiki-codesniffer": "28.0.0", + "mediawiki/minus-x": "0.3.2" }, "scripts": { "test": [ - "parallel-lint . --exclude vendor", + "parallel-lint . --exclude vendor --exclude node_modules", + "minus-x check .", "phpcs -p -s" ], - "fix": "phpcbf" + "fix": [ + "minus-x fix .", + "phpcbf" + ] } }