From af882e4b8b7fb13c58db50e578f5a8bcbc73a2ea Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Thu, 2 Nov 2017 18:35:30 -0700 Subject: [PATCH] build: Adding MinusX Change-Id: I6363608112e34b7c90942ceb1cfd5badebff1298 --- composer.json | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 3edd3dd..0f5353e 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 ." ] } }