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" + ] } }