From 43b1ed9e18439b16f262772d922e2ec31e73b1aa Mon Sep 17 00:00:00 2001 From: Rafid Aslam Date: Wed, 20 Dec 2017 21:45:24 +0700 Subject: [PATCH] Add minus-x to "composer test" Add minus-x to "composer test" and "composer fix" Bug: T175794 Change-Id: I0a8b67e15f691aa1dad78d28e220cf9d5bcd8b0f --- composer.json | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) 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 ." ] } }