mediawiki-extensions-Math/.phpcs.xml
libraryupgrader 76ea872f97 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 31.0.0 → 38.0.0
  The following sniffs are failing and were disabled:
  * Generic.ControlStructures.DisallowYodaConditions.Found
  * MediaWiki.Commenting.FunctionComment.NoParamType
  * MediaWiki.Commenting.FunctionComment.ObjectTypeHintParam
  * MediaWiki.Commenting.FunctionComment.UppercasePrimitiveObjectParam
  * MediaWiki.Commenting.FunctionComment.UppercasePrimitiveStringParam
  * MediaWiki.Commenting.FunctionComment.WrongStyle
  * MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPrivate
  * MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationProtected
  * MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPublic
  * MediaWiki.Commenting.PropertyDocumentation.UppercasePrimitiveStringVar
  * MediaWiki.Commenting.PropertyDocumentation.WrongStyle
  * MediaWiki.PHPUnit.AssertionOrder.WrongOrder
  * MediaWiki.PHPUnit.SetMethods.SetMethods
  * MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage
  * MediaWiki.Usage.ExtendClassUsage.FunctionVarUsage
  * MediaWiki.Usage.StaticClosure.StaticClosure
  * MediaWiki.VariableAnalysis.MisleadingGlobalNames.Misleading$wgUser
  * PSR12.Functions.ReturnTypeDeclaration.SpaceBeforeColon
  * PSR12.Functions.ReturnTypeDeclaration.SpaceBeforeReturnType

npm:
* ajv: 6.12.2 → 6.12.6
  * https://github.com/advisories/GHSA-v88g-cgmw-v5xw
* ansi-regex: 5.0.1 → 5.0.1
  * https://github.com/advisories/GHSA-93q8-gq69-wqmw
  * https://github.com/advisories/GHSA-93q8-gq69-wqmw
* async: 0.9.2 → 0.9.2
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
* ejs: 3.1.3 → 3.1.3
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
* jake: 10.8.1 → 10.8.4
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
  * 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
* pathval: 1.1.0 → 1.1.1
  * https://github.com/advisories/GHSA-g6ww-v8xp-vmwg

Additional changes:
* Set `name` in package.json.

Change-Id: Ia7af0d4ffb656bcc99d1989d8f54f5e5106e9482
2022-04-15 12:06:36 +00:00

32 lines
2 KiB
XML

<?xml version="1.0"?>
<ruleset>
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
<exclude name="Generic.ControlStructures.DisallowYodaConditions.Found" />
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPrivate" />
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationProtected" />
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic" />
<exclude name="MediaWiki.Commenting.FunctionComment.NoParamType" />
<exclude name="MediaWiki.Commenting.FunctionComment.ObjectTypeHintParam" />
<exclude name="MediaWiki.Commenting.FunctionComment.UppercasePrimitiveObjectParam" />
<exclude name="MediaWiki.Commenting.FunctionComment.UppercasePrimitiveStringParam" />
<exclude name="MediaWiki.Commenting.FunctionComment.WrongStyle" />
<exclude name="MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPrivate" />
<exclude name="MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationProtected" />
<exclude name="MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPublic" />
<exclude name="MediaWiki.Commenting.PropertyDocumentation.UppercasePrimitiveStringVar" />
<exclude name="MediaWiki.Commenting.PropertyDocumentation.WrongStyle" />
<exclude name="MediaWiki.PHPUnit.AssertionOrder.WrongOrder" />
<exclude name="MediaWiki.PHPUnit.SetMethods.SetMethods" />
<exclude name="MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage" />
<exclude name="MediaWiki.Usage.ExtendClassUsage.FunctionVarUsage" />
<exclude name="MediaWiki.Usage.StaticClosure.StaticClosure" />
<exclude name="MediaWiki.VariableAnalysis.MisleadingGlobalNames.Misleading$wgUser" />
<exclude name="MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment" />
<exclude name="PSR12.Functions.ReturnTypeDeclaration.SpaceBeforeColon" />
<exclude name="PSR12.Functions.ReturnTypeDeclaration.SpaceBeforeReturnType" />
</rule>
<file>.</file>
<arg name="extensions" value="php" />
<arg name="encoding" value="UTF-8" />
</ruleset>