Add minus-x to "composer test"

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

Bug: T175794
Change-Id: Ie987caacda887a862022632ecce3f5db4db8c9aa
This commit is contained in:
Rafid Aslam 2017-12-19 22:12:08 +07:00
parent 53e95c4970
commit b159861383

View file

@ -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.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 ."
]
}
}