Add minus-x to "composer test"

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

Bug: T175794
Change-Id: I54088f3895ca931006c6a004a48c87f9445abf8c
This commit is contained in:
Rafid Aslam 2017-12-16 16:08:31 +07:00
parent 85bb48bfcc
commit 88d889ab25
1 changed files with 6 additions and 3 deletions

View File

@ -2,15 +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.1"
},
"scripts": {
"test": [
"parallel-lint . --exclude vendor --exclude node_modules",
"phpcs -p -s"
"phpcs -p -s",
"minus-x check ."
],
"fix": [
"phpcbf"
"phpcbf",
"minus-x fix ."
]
}
}