mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-13 17:57:21 +00:00
ff43e1ecf2
The following sniffs are failing and were disabled: * MediaWiki.Commenting.FunctionComment.MissingDocumentationPrivate * MediaWiki.Commenting.FunctionComment.MissingReturn * MediaWiki.Usage.ForbiddenFunctions.isset * MediaWiki.Usage.PHPUnitDeprecatedMethods.AssertInternalTypeGeneric Additional changes: * Also sorted "composer fix" command to run phpcbf last. Change-Id: I29416247ff3736799543926813beaf4afd569a6e
24 lines
483 B
JSON
24 lines
483 B
JSON
{
|
|
"require-dev": {
|
|
"jakub-onderka/php-parallel-lint": "1.0.0",
|
|
"mediawiki/mediawiki-codesniffer": "29.0.0",
|
|
"jakub-onderka/php-console-highlighter": "0.3.2",
|
|
"mediawiki/minus-x": "0.3.2",
|
|
"mediawiki/mediawiki-phan-config": "0.9.0"
|
|
},
|
|
"scripts": {
|
|
"test": [
|
|
"parallel-lint . --exclude vendor --exclude node_modules",
|
|
"phpcs -p -s",
|
|
"minus-x check ."
|
|
],
|
|
"fix": [
|
|
"minus-x fix .",
|
|
"phpcbf"
|
|
]
|
|
},
|
|
"extra": {
|
|
"phan-taint-check-plugin": "2.0.1"
|
|
}
|
|
}
|