2017-07-17 19:49:49 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<ruleset>
|
|
|
|
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
|
|
|
|
<exclude name="MediaWiki.NamingConventions.LowerCamelFunctionsName.FunctionName"/>
|
|
|
|
<exclude name="MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment"/>
|
|
|
|
<exclude name="MediaWiki.Usage.ExtendClassUsage.FunctionVarUsage"/>
|
|
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingParamTag"/>
|
|
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingParamComment"/>
|
|
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.WrongStyle"/>
|
|
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.ParamNameNoMatch"/>
|
|
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.SpacingAfterParamType"/>
|
|
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationProtected"/>
|
|
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingReturn"/>
|
|
|
|
</rule>
|
|
|
|
<file>.</file>
|
|
|
|
<arg name="extensions" value="php,php5,inc"/>
|
|
|
|
<arg name="encoding" value="UTF-8"/>
|
|
|
|
|
|
|
|
<rule ref="Squiz.Functions.FunctionDeclarationArgumentSpacing">
|
|
|
|
<properties>
|
|
|
|
<property name="equalsSpacing" value="1" />
|
2017-07-24 16:53:04 +00:00
|
|
|
<property name="requiredSpacesAfterOpen" value="1"/>
|
|
|
|
<property name="requiredSpacesBeforeClose" value="1" />
|
2017-07-17 19:49:49 +00:00
|
|
|
</properties>
|
|
|
|
</rule>
|
|
|
|
</ruleset>
|