mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-24 15:44:33 +00:00
ce88944fe5
The following sniffs are failing and were disabled: * Generic.ControlStructures.DisallowYodaConditions.Found * MediaWiki.Commenting.FunctionComment.ObjectTypeHintParam * MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPrivate * MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationProtected * MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage * MediaWiki.Usage.ExtendClassUsage.FunctionVarUsage Additional changes: * Dropped .inc files from .phpcs.xml (T200956). Change-Id: I2a0a579219607d60c1557d4b700cdf810f07f538
21 lines
439 B
JSON
21 lines
439 B
JSON
{
|
|
"require-dev": {
|
|
"mediawiki/mediawiki-codesniffer": "33.0.0",
|
|
"mediawiki/mediawiki-phan-config": "0.10.3",
|
|
"mediawiki/minus-x": "1.1.0",
|
|
"php-parallel-lint/php-console-highlighter": "0.5.0",
|
|
"php-parallel-lint/php-parallel-lint": "1.2.0"
|
|
},
|
|
"scripts": {
|
|
"test": [
|
|
"parallel-lint . --exclude vendor --exclude node_modules",
|
|
"phpcs -p -s",
|
|
"minus-x check ."
|
|
],
|
|
"fix": [
|
|
"minus-x fix .",
|
|
"phpcbf"
|
|
]
|
|
}
|
|
}
|