Add minus-x to "composer test"

See <https://www.mediawiki.org/wiki/MinusX>.

Change-Id: I316b9ac9246fe61301d302b73a402bd7dfcf1dda
This commit is contained in:
Kunal Mehta 2017-09-12 23:47:16 -07:00
parent 236dac2fd5
commit 72f0a19560
2 changed files with 10 additions and 2 deletions

5
.minus-x.json Normal file
View file

@ -0,0 +1,5 @@
{
"ignore": [
"./engines/LuaStandalone/binaries/lua5_1_5_mac_lion_fat_generic/lua"
]
}

View file

@ -20,15 +20,18 @@
"require-dev": {
"jakub-onderka/php-parallel-lint": "0.9.2",
"mediawiki/mediawiki-codesniffer": "0.12.0",
"mediawiki/minus-x": "0.1.0",
"jakub-onderka/php-console-highlighter": "0.3.2"
},
"scripts": {
"test": [
"parallel-lint . --exclude vendor",
"phpcs -p -s"
"phpcs -p -s",
"minus-x.php check ."
],
"fix": [
"phpcbf"
"phpcbf",
"minus-x.php fix ."
]
}
}