2015-09-21 16:14:01 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<ruleset>
|
2017-07-01 08:33:20 +00:00
|
|
|
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
|
2022-04-14 23:28:27 +00:00
|
|
|
<exclude name="Generic.ControlStructures.DisallowYodaConditions.Found" />
|
2020-01-14 07:43:50 +00:00
|
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPrivate" />
|
2017-07-01 08:33:20 +00:00
|
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationProtected" />
|
|
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic" />
|
2022-04-14 23:28:27 +00:00
|
|
|
<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" />
|
2017-06-20 07:11:57 +00:00
|
|
|
<exclude name="MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment" />
|
2022-04-14 23:28:27 +00:00
|
|
|
<exclude name="PSR12.Functions.ReturnTypeDeclaration.SpaceBeforeColon" />
|
|
|
|
<exclude name="PSR12.Functions.ReturnTypeDeclaration.SpaceBeforeReturnType" />
|
2017-06-20 07:11:57 +00:00
|
|
|
</rule>
|
2015-09-21 16:14:01 +00:00
|
|
|
<file>.</file>
|
2021-01-02 03:29:43 +00:00
|
|
|
<arg name="extensions" value="php" />
|
2017-07-26 20:43:39 +00:00
|
|
|
<arg name="encoding" value="UTF-8" />
|
2015-09-21 16:14:01 +00:00
|
|
|
</ruleset>
|