mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-15 10:15:24 +00:00
0f7f4ad917
Bug: T178007 Change-Id: Ia1ae78b30b889b7a8965354ae0a404bf9a520917
19 lines
874 B
XML
19 lines
874 B
XML
<?xml version="1.0"?>
|
|
<ruleset>
|
|
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic" />
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingParamComment" />
|
|
<exclude name="MediaWiki.Files.ClassMatchesFilename.NotMatch" />
|
|
<exclude name="MediaWiki.Files.ClassMatchesFilename.WrongCase" />
|
|
<exclude name="MediaWiki.Files.OneClassPerFile.MultipleFound" />
|
|
<exclude name="MediaWiki.VariableAnalysis.ForbiddenGlobalVariables.ForbiddenGlobal$wgTitle" />
|
|
<exclude name="MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment"/>
|
|
</rule>
|
|
<rule ref="Generic.Files.LineLength">
|
|
<exclude-pattern>AbuseFilter\.alias\.php</exclude-pattern>
|
|
</rule>
|
|
<file>.</file>
|
|
<arg name="extensions" value="php,php5,inc"/>
|
|
<arg name="encoding" value="UTF-8"/>
|
|
</ruleset>
|