build: Updating dependencies

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
This commit is contained in:
libraryupgrader 2022-04-15 07:55:55 +00:00
parent 384c64e113
commit 309b1408cb
4 changed files with 5196 additions and 49 deletions

View file

@ -1,11 +1,24 @@
<?xml version="1.0"?>
<ruleset name="Scribunto">
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
<exclude name="MediaWiki.Commenting.FunctionComment.MissingParamTag" />
<exclude name="MediaWiki.Commenting.FunctionComment.ObjectTypeHintParam" />
<exclude name="MediaWiki.Commenting.FunctionComment.ObjectTypeHintReturn" />
<exclude name="MediaWiki.Commenting.FunctionComment.ParamNameNoMatch" />
<exclude name="MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPrivate" />
<exclude name="MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationProtected" />
<exclude name="MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPublic" />
<exclude name="MediaWiki.Commenting.PropertyDocumentation.NotShortBoolVar" />
<exclude name="MediaWiki.Commenting.PropertyDocumentation.NotShortIntVar" />
<exclude name="MediaWiki.Commenting.PropertyDocumentation.WrongStyle" />
<exclude name="MediaWiki.Files.ClassMatchesFilename.NotMatch" />
<exclude name="MediaWiki.Usage.ForbiddenFunctions.popen" />
<exclude name="MediaWiki.Usage.ForbiddenFunctions.proc_open" />
<exclude name="MediaWiki.Usage.ForbiddenFunctions.shell_exec" />
<exclude name="MediaWiki.Usage.StaticClosure.StaticClosure" />
<exclude name="MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment" />
<exclude name="PSR12.Functions.ReturnTypeDeclaration.SpaceBeforeColon" />
<exclude name="PSR2.Classes.PropertyDeclaration.Multiple" />
<exclude name="Squiz.Classes.ValidClassName.NotCamelCaps" />
</rule>
<file>.</file>

View file

@ -1,7 +1,7 @@
{
"require-dev": {
"mediawiki/lua-sandbox": "3.0.1",
"mediawiki/mediawiki-codesniffer": "31.0.0",
"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",
@ -24,13 +24,14 @@
"scripts": {
"test": [
"parallel-lint . --exclude vendor --exclude node_modules",
"phpcs -p -s",
"@phpcs",
"minus-x check ."
],
"fix": [
"minus-x fix .",
"phpcbf"
],
"phan": "phan -d . --long-progress-bar"
"phan": "phan -d . --long-progress-bar",
"phpcs": "phpcs -sp --cache"
}
}

5224
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -1,4 +1,5 @@
{
"name": "Scribunto",
"private": true,
"scripts": {
"test": "grunt test"