mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Scribunto
synced 2024-11-24 00:05:00 +00:00
Add minus-x to "composer test"
See <https://www.mediawiki.org/wiki/MinusX>. Change-Id: I316b9ac9246fe61301d302b73a402bd7dfcf1dda
This commit is contained in:
parent
236dac2fd5
commit
72f0a19560
5
.minus-x.json
Normal file
5
.minus-x.json
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"ignore": [
|
||||
"./engines/LuaStandalone/binaries/lua5_1_5_mac_lion_fat_generic/lua"
|
||||
]
|
||||
}
|
|
@ -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 ."
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue