From 6789598547729c21f40a6a70e4fa36719f27a554 Mon Sep 17 00:00:00 2001 From: Rafid Aslam Date: Wed, 20 Dec 2017 21:46:53 +0700 Subject: [PATCH] Add minus-x to "composer test" Add minus-x to "composer test" and "composer fix" Bug: T175794 Change-Id: Ibf63dd38b23f84bd395bea2d1c2c71eddece9ebe --- composer.json | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 95bdb5f..4756a8a 100644 --- a/composer.json +++ b/composer.json @@ -2,13 +2,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 ." ] } }