mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Scribunto
synced 2024-12-18 02:41:09 +00:00
a3334f72d8
The following sniffs are failing and were disabled: * Generic.Files.OneObjectStructurePerFile.MultipleFound * Squiz.Scope.MethodScope.Missing The following sniffs now pass and were enabled: * MediaWiki.Files.OneClassPerFile.MultipleFound Change-Id: I7499d975eb378abd500619f0026a32b59fe6dda6
20 lines
384 B
JSON
20 lines
384 B
JSON
{
|
|
"require-dev": {
|
|
"jakub-onderka/php-parallel-lint": "0.9.2",
|
|
"mediawiki/mediawiki-codesniffer": "15.0.0",
|
|
"mediawiki/minus-x": "0.2.1",
|
|
"jakub-onderka/php-console-highlighter": "0.3.2"
|
|
},
|
|
"scripts": {
|
|
"test": [
|
|
"parallel-lint . --exclude vendor --exclude node_modules",
|
|
"phpcs -p -s",
|
|
"minus-x check ."
|
|
],
|
|
"fix": [
|
|
"phpcbf",
|
|
"minus-x fix ."
|
|
]
|
|
}
|
|
}
|