2017-06-06 16:18:36 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ruleset>
|
|
|
|
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
|
2017-07-23 07:40:14 +00:00
|
|
|
<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" />
|
2017-06-06 16:18:36 +00:00
|
|
|
<exclude name="Squiz.Classes.ValidClassName.NotCamelCaps"/>
|
2017-07-08 10:41:21 +00:00
|
|
|
<exclude name="MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment"/>
|
2017-06-06 16:18:36 +00:00
|
|
|
</rule>
|
|
|
|
<rule ref="MediaWiki.NamingConventions.ValidGlobalName">
|
|
|
|
<properties>
|
|
|
|
<property name="ignoreList" type="array" value="$messageMemc" />
|
|
|
|
</properties>
|
|
|
|
</rule>
|
|
|
|
<file>.</file>
|
|
|
|
<arg name="extensions" value="php,php5,inc"/>
|
|
|
|
<arg name="encoding" value="UTF-8"/>
|
|
|
|
<exclude-pattern>vendor</exclude-pattern>
|
|
|
|
<exclude-pattern>node_modules</exclude-pattern>
|
|
|
|
</ruleset>
|