Add minus-x to "composer test"

Add minus-x to "composer test" and "composer fix"

Bug: T175794
Change-Id: I0a8b67e15f691aa1dad78d28e220cf9d5bcd8b0f
This commit is contained in:
Rafid Aslam 2017-12-20 21:45:24 +07:00
parent e13d71bef3
commit 43b1ed9e18

View file

@ -36,13 +36,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 ."
]
}
}