mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Gadgets
synced 2024-12-23 20:22:55 +00:00
570a7e9137
The following sniffs are failing and were disabled: * Squiz.Scope.MemberVarScope.Missing * Squiz.Scope.MethodScope.Missing Change-Id: I2d6f0152000954215ac4771bf94ef4acb5c3fc82
20 lines
384 B
JSON
20 lines
384 B
JSON
{
|
|
"require-dev": {
|
|
"jakub-onderka/php-parallel-lint": "0.9.2",
|
|
"jakub-onderka/php-console-highlighter": "0.3.2",
|
|
"mediawiki/mediawiki-codesniffer": "15.0.0",
|
|
"mediawiki/minus-x": "0.2.1"
|
|
},
|
|
"scripts": {
|
|
"fix": [
|
|
"phpcbf",
|
|
"minus-x fix ."
|
|
],
|
|
"test": [
|
|
"parallel-lint . --exclude node_modules --exclude vendor",
|
|
"phpcs -p -s",
|
|
"minus-x check ."
|
|
]
|
|
}
|
|
}
|