mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-12 01:10:07 +00:00
852ddaf903
Change-Id: I05c9299944a5a8e215ecb2996f1a3846e257e12c
22 lines
996 B
XML
22 lines
996 B
XML
<?xml version="1.0"?>
|
|
<ruleset name="MediaWiki">
|
|
<file>.</file>
|
|
<rule ref="vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
|
|
<exclude name="Generic.Files.LineLength"/>
|
|
<exclude name="MediaWiki.NamingConventions.PrefixedGlobalFunctions.wfPrefix"/>
|
|
<exclude name="MediaWiki.VariableAnalysis.UnusedGlobalVariables"/>
|
|
<exclude name="MediaWiki.WhiteSpace.SpaceAfterControlStructure.Incorrect"/>
|
|
<exclude name="MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment"/>
|
|
<exclude name="PSR2.Classes.PropertyDeclaration.ScopeMissing"/>
|
|
<exclude name="PSR2.Classes.PropertyDeclaration.VarUsed"/>
|
|
<exclude name="PSR2.Methods.MethodDeclaration.AbstractAfterVisibility"/>
|
|
<exclude name="PSR2.Methods.MethodDeclaration.StaticBeforeVisibility"/>
|
|
<exclude name="Squiz.Classes.ValidClassName.NotCamelCaps"/>
|
|
</rule>
|
|
<arg name="encoding" value="utf8"/>
|
|
<arg name="extensions" value="php,php5,inc"/>
|
|
<arg name="colors"/>
|
|
<arg value="p"/>
|
|
<exclude-pattern>vendor</exclude-pattern>
|
|
</ruleset>
|