From 18ddfcd388b071e2baaef571835e0f1199fba646 Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Fri, 3 Nov 2017 18:59:16 -0700 Subject: [PATCH] build: Adding MinusX Change-Id: Iedabfee60461f0c95d304d8021785c35b3293db0 --- composer.json | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 1c13dcc2..14142b94 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.0" }, "scripts": { "test": [ "parallel-lint . --exclude vendor --exclude node_modules", - "phpcs -s -p" + "phpcs -s -p", + "minus-x check ." ], - "fix": "phpcbf" + "fix": [ + "phpcbf", + "minus-x fix ." + ] } }