diff --git a/composer.json b/composer.json index 5a30f30c9..5f5af96ee 100644 --- a/composer.json +++ b/composer.json @@ -36,13 +36,18 @@ "require-dev": { "jakub-onderka/php-parallel-lint": "0.9.2", "mediawiki/mediawiki-codesniffer": "14.1.0", - "jakub-onderka/php-console-highlighter": "0.3.2" + "jakub-onderka/php-console-highlighter": "0.3.2", + "mediawiki/minus-x": "0.2.1" }, "scripts": { - "fix": "phpcbf", + "fix": [ + "phpcbf", + "minus-x fix ." + ], "test": [ "parallel-lint . --exclude node_modules --exclude vendor", - "phpcs -p -s" + "phpcs -p -s", + "minus-x check ." ] } }