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.Commenting.FunctionComment.MissingParamComment"/>
|
2017-09-01 05:01:10 +00:00
|
|
|
<exclude name="MediaWiki.Files.ClassMatchesFilename.NotMatch" />
|
|
|
|
<exclude name="MediaWiki.Files.OneClassPerFile.MultipleFound" />
|
2017-07-17 19:49:49 +00:00
|
|
|
</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>
|