2015-09-28 18:03:35 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<ruleset>
|
2017-07-08 18:49:13 +00:00
|
|
|
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
|
2017-07-23 07:03:40 +00:00
|
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationProtected" />
|
|
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic" />
|
|
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingParamComment" />
|
|
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingParamName" />
|
|
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingParamTag" />
|
|
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingReturn" />
|
|
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.ParamNameNoMatch" />
|
|
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.WrongStyle" />
|
2017-09-01 04:44:02 +00:00
|
|
|
<exclude name="MediaWiki.Files.ClassMatchesFilename.NotMatch" />
|
|
|
|
<exclude name="MediaWiki.Files.ClassMatchesFilename.WrongCase" />
|
|
|
|
<exclude name="MediaWiki.Files.OneClassPerFile.MultipleFound" />
|
2017-09-24 05:19:01 +00:00
|
|
|
<exclude name="MediaWiki.VariableAnalysis.ForbiddenGlobalVariables.ForbiddenGlobal$wgTitle" />
|
2017-07-08 18:49:13 +00:00
|
|
|
<exclude name="MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment"/>
|
|
|
|
</rule>
|
2017-06-15 14:22:16 +00:00
|
|
|
<rule ref="Generic.Files.LineLength">
|
|
|
|
<exclude-pattern>AbuseFilter.alias.php</exclude-pattern>
|
|
|
|
</rule>
|
2015-09-28 18:03:35 +00:00
|
|
|
<file>.</file>
|
|
|
|
<arg name="extensions" value="php,php5,inc"/>
|
2017-06-13 09:59:10 +00:00
|
|
|
<arg name="encoding" value="UTF-8"/>
|
2015-09-28 18:03:35 +00:00
|
|
|
<exclude-pattern>vendor</exclude-pattern>
|
2017-06-13 09:59:10 +00:00
|
|
|
<exclude-pattern>node_modules</exclude-pattern>
|
|
|
|
<exclude-pattern>extensions/AntiSpoof</exclude-pattern>
|
2015-09-28 18:03:35 +00:00
|
|
|
</ruleset>
|