mediawiki-extensions-Echo/.phpcs.xml
libraryupgrader c7555e54c5 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 35.0.0 → 38.0.0
  The following sniffs are failing and were disabled:
  * MediaWiki.Commenting.RedundantVarName.Found
  * MediaWiki.PHPUnit.AssertionOrder.WrongOrder
  * MediaWiki.PHPUnit.SetMethods.SetMethods
  * MediaWiki.Usage.DeprecatedConstantUsage.DB_MASTER
  * MediaWiki.Usage.StaticClosure.StaticClosure
  * PSR12.Functions.ReturnTypeDeclaration.SpaceBeforeColon
  * PSR12.Functions.ReturnTypeDeclaration.SpaceBeforeReturnType
  * Squiz.WhiteSpace.FunctionSpacing.Before

npm:
* grunt: 1.4.0 → 1.5.3
* async: 0.9.2 → 3.2.3
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
* ejs: 3.1.3 → 3.1.8
  * https://github.com/advisories/GHSA-phwq-j96m-2c2q
* jake: 10.8.4 → 10.8.5
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25

Change-Id: I241933007de17c98c6e3a5f0c7ceefa14492c0e2
2022-05-22 16:41:23 +00:00

26 lines
1.4 KiB
XML

<?xml version="1.0"?>
<ruleset name="MediaWiki">
<file>.</file>
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPrivate" />
<exclude name="MediaWiki.Files.ClassMatchesFilename.NotMatch" />
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationProtected" />
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic" />
<exclude name="MediaWiki.Commenting.FunctionComment.WrongStyle" />
<exclude name="MediaWiki.Commenting.RedundantVarName.Found" />
<exclude name="MediaWiki.NamingConventions.LowerCamelFunctionsName.FunctionName" />
<exclude name="MediaWiki.PHPUnit.AssertionOrder.WrongOrder" />
<exclude name="MediaWiki.PHPUnit.SetMethods.SetMethods" />
<exclude name="MediaWiki.Usage.DeprecatedConstantUsage.DB_MASTER" />
<exclude name="MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage" />
<exclude name="MediaWiki.Usage.StaticClosure.StaticClosure" />
<exclude name="MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment" />
<exclude name="PSR12.Functions.ReturnTypeDeclaration.SpaceBeforeColon" />
<exclude name="PSR12.Functions.ReturnTypeDeclaration.SpaceBeforeReturnType" />
<exclude name="Squiz.WhiteSpace.FunctionSpacing.Before" />
</rule>
<arg name="encoding" value="UTF-8" />
<arg name="extensions" value="php" />
<arg name="colors" />
</ruleset>