mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-23 23:25:02 +00:00
457b953dd0
Excluded Generic.WhiteSpace.ScopeIndent as it impact many lines in switch/case syntax Also disable BraceNotOnOwnLine due to T347440 Change-Id: Ia0c8072da9b7bff6a4010d3fb70cb0e576cdf98a
26 lines
1.4 KiB
XML
26 lines
1.4 KiB
XML
<?xml version="1.0"?>
|
|
<ruleset>
|
|
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPrivate" />
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationProtected" />
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic" />
|
|
<exclude name="MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPrivate" />
|
|
<exclude name="MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationProtected" />
|
|
<exclude name="MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPublic" />
|
|
<exclude name="MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage" />
|
|
<exclude name="MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment" />
|
|
<exclude name="MediaWiki.WhiteSpace.SpaceBeforeClassBrace.BraceNotOnOwnLine" />
|
|
<exclude name="Generic.WhiteSpace.ScopeIndent" />
|
|
</rule>
|
|
<rule ref="Generic.Files.LineLength.TooLong">
|
|
<exclude-pattern>/src/WikiTexVC/Mhchem/MhchemPatterns.php</exclude-pattern>
|
|
<exclude-pattern>/src/WikiTexVC/Mhchem/MhchemStateMachines.php</exclude-pattern>
|
|
</rule>
|
|
<exclude-pattern>/src/WikiTexVC/Parser.php</exclude-pattern>
|
|
<exclude-pattern>/src/WikiTexVC/ParserIntent.php</exclude-pattern>
|
|
|
|
<file>.</file>
|
|
<arg name="extensions" value="php" />
|
|
<arg name="encoding" value="UTF-8" />
|
|
</ruleset>
|