build: Adding MinusX

Change-Id: I6363608112e34b7c90942ceb1cfd5badebff1298
This commit is contained in:
Kunal Mehta 2017-11-02 18:35:30 -07:00
parent 7830849d58
commit af882e4b8b
1 changed files with 8 additions and 3 deletions

View File

@ -2,13 +2,18 @@
"require-dev": { "require-dev": {
"jakub-onderka/php-parallel-lint": "0.9.2", "jakub-onderka/php-parallel-lint": "0.9.2",
"jakub-onderka/php-console-highlighter": "0.3.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": { "scripts": {
"fix": "phpcbf", "fix": [
"phpcbf",
"minus-x fix ."
],
"test": [ "test": [
"parallel-lint . --exclude vendor", "parallel-lint . --exclude vendor",
"phpcs -p -s" "phpcs -p -s",
"minus-x check ."
] ]
} }
} }