mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Scribunto
synced 2024-11-28 02:00:01 +00:00
309b1408cb
composer: * mediawiki/mediawiki-codesniffer: 31.0.0 → 38.0.0 The following sniffs are failing and were disabled: * MediaWiki.Commenting.FunctionComment.MissingParamTag * MediaWiki.Commenting.FunctionComment.ObjectTypeHintParam * MediaWiki.Commenting.FunctionComment.ObjectTypeHintReturn * MediaWiki.Commenting.FunctionComment.ParamNameNoMatch * MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPrivate * MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationProtected * MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPublic * MediaWiki.Commenting.PropertyDocumentation.NotShortBoolVar * MediaWiki.Commenting.PropertyDocumentation.NotShortIntVar * MediaWiki.Commenting.PropertyDocumentation.WrongStyle * MediaWiki.Usage.StaticClosure.StaticClosure * PSR12.Functions.ReturnTypeDeclaration.SpaceBeforeColon * PSR2.Classes.PropertyDeclaration.Multiple npm: * ajv: 6.10.2 → 6.12.6 * https://github.com/advisories/GHSA-v88g-cgmw-v5xw * ansi-regex: 5.0.0 → 5.0.1 * https://github.com/advisories/GHSA-93q8-gq69-wqmw * https://github.com/advisories/GHSA-93q8-gq69-wqmw * async: 3.2.0 → 3.2.3 * https://github.com/advisories/GHSA-fwr7-v2mv-hh25 * minimist: 1.2.5 → 1.2.6 * https://github.com/advisories/GHSA-xvch-5gv4-984h * nanoid: 3.1.23 → 3.3.2 * https://github.com/advisories/GHSA-qrpm-p2h7-hrv2 Additional changes: * Set `name` in package.json. * composer.json: Updated phpcs command in composer test (T280592). * composer.json: Added phpcs command to scripts (T280592). Change-Id: I816da6b8a36655ee7c44af56eff55bb84622c0a7
38 lines
828 B
JSON
38 lines
828 B
JSON
{
|
|
"require-dev": {
|
|
"mediawiki/lua-sandbox": "3.0.1",
|
|
"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"
|
|
},
|
|
"repositories": [
|
|
{
|
|
"type": "package",
|
|
"package": {
|
|
"name": "mediawiki/lua-sandbox",
|
|
"version": "3.0.1",
|
|
"source": {
|
|
"url": "https://gerrit.wikimedia.org/r/mediawiki/php/luasandbox.git",
|
|
"type": "git",
|
|
"reference": "tags/3.0.1"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"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"
|
|
}
|
|
}
|