From 9a778e93d0b6574872466c11ecceda9f0daf2f8d Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Fri, 3 Nov 2017 17:19:13 -0700 Subject: [PATCH] build: Adding MinusX Change-Id: Ia8ef35fb534bb7e22bbb94270d08e055225526a6 --- composer.json | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 3edd3ddb1..0f5353eff 100644 --- a/composer.json +++ b/composer.json @@ -2,13 +2,18 @@ "require-dev": { "jakub-onderka/php-parallel-lint": "0.9.2", "jakub-onderka/php-console-highlighter": "0.3.2", - "mediawiki/mediawiki-codesniffer": "14.1.0" + "mediawiki/mediawiki-codesniffer": "14.1.0", + "mediawiki/minus-x": "0.2.0" }, "scripts": { - "fix": "phpcbf", + "fix": [ + "phpcbf", + "minus-x fix ." + ], "test": [ "parallel-lint . --exclude vendor", - "phpcs -p -s" + "phpcs -p -s", + "minus-x check ." ] } }