build: Updating dependencies
composer: * mediawiki/mediawiki-codesniffer: 31.0.0 → 38.0.0 The following sniffs are failing and were disabled: * MediaWiki.NamingConventions.PrefixedGlobalFunctions.allowedPrefix * MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage npm: * ajv: 6.11.0 → 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 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: Id3fadc2ea75f6bee4a1dfdfdc2f4892ec8d35a0d
This commit is contained in:
parent
8b144bcb65
commit
9cf2aa9019
4 changed files with 2369 additions and 19 deletions
|
@ -2,6 +2,8 @@
|
|||
<ruleset>
|
||||
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
|
||||
<exclude name="MediaWiki.Files.ClassMatchesFilename.NotMatch" />
|
||||
<exclude name="MediaWiki.NamingConventions.PrefixedGlobalFunctions.allowedPrefix" />
|
||||
<exclude name="MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage" />
|
||||
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationProtected" />
|
||||
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic" />
|
||||
<exclude name="Squiz.Scope.MethodScope.Missing" />
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"require-dev": {
|
||||
"mediawiki/mediawiki-codesniffer": "31.0.0",
|
||||
"mediawiki/mediawiki-codesniffer": "38.0.0",
|
||||
"mediawiki/minus-x": "1.1.0",
|
||||
"php-parallel-lint/php-console-highlighter": "0.5.0",
|
||||
"php-parallel-lint/php-parallel-lint": "1.2.0"
|
||||
|
@ -12,8 +12,9 @@
|
|||
],
|
||||
"test": [
|
||||
"parallel-lint . --exclude vendor --exclude node_modules",
|
||||
"phpcs -p -s",
|
||||
"@phpcs",
|
||||
"minus-x check ."
|
||||
]
|
||||
],
|
||||
"phpcs": "phpcs -sp --cache"
|
||||
}
|
||||
}
|
||||
|
|
2378
package-lock.json
generated
2378
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"name": "ContributionScores",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"test": "grunt test"
|
||||
|
|
Loading…
Add table
Reference in a new issue