mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Linter
synced 2024-11-15 03:34:50 +00:00
5e5d52648c
composer: * mediawiki/mediawiki-codesniffer: 31.0.0 → 38.0.0 The following sniffs are failing and were disabled: * MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPrivate * MediaWiki.Commenting.PropertyDocumentation.WrongStyle * MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage * MediaWiki.Usage.StaticClosure.StaticClosure npm: * async: 3.2.0 → 3.2.3 * https://github.com/advisories/GHSA-fwr7-v2mv-hh25 Additional changes: * Set `name` in package.json. * Dropped default excluded folder(s) from .phpcs.xml (T274684). Change-Id: Ibe42c1d86c197581dc6df8dbb5b4d0c8ec0ea55c
23 lines
509 B
JSON
23 lines
509 B
JSON
{
|
|
"require-dev": {
|
|
"mediawiki/mediawiki-codesniffer": "38.0.0",
|
|
"mediawiki/mediawiki-phan-config": "0.10.2",
|
|
"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",
|
|
"minus-x check ."
|
|
],
|
|
"fix": [
|
|
"minus-x fix .",
|
|
"phpcbf"
|
|
],
|
|
"phan": "phan -d . --long-progress-bar",
|
|
"phpcs": "phpcs -sp --cache"
|
|
}
|
|
}
|