2017-11-05 14:34:02 +01:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<ruleset name="PEAR-textlanguagedetect">
|
|
|
|
<rule ref="PEAR">
|
|
|
|
<!-- we keep the old php4-style variable names for now -->
|
|
|
|
<exclude name="PEAR.NamingConventions.ValidFunctionName.PublicUnderscore"/>
|
|
|
|
<exclude name="PEAR.NamingConventions.ValidVariableName.PublicUnderscore"/>
|
2017-11-08 23:02:50 +01:00
|
|
|
<exclude name="PEAR.NamingConventions.ValidVariableName.PrivateNoUnderscore"/>
|
|
|
|
<exclude name="PEAR.NamingConventions.ValidFunctionName.PrivateNoUnderscore"/>
|
|
|
|
<exclude name="PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps"/>
|
|
|
|
<exclude name="PSR1.Methods.CamelCapsMethodName.NotCamelCaps"/>
|
|
|
|
</rule>
|
|
|
|
<description>PSR2 with tabs instead of spaces.</description>
|
|
|
|
<arg name="tab-width" value="4"/>
|
|
|
|
<rule ref="PSR2">
|
|
|
|
<exclude name="Generic.WhiteSpace.DisallowTabIndent"/>
|
|
|
|
<exclude name="Generic.Commenting.DocComment.MissingShort"/>
|
|
|
|
</rule>
|
|
|
|
<rule ref="Generic.WhiteSpace.DisallowSpaceIndent"/>
|
|
|
|
<rule ref="Generic.WhiteSpace.ScopeIndent">
|
|
|
|
<properties>
|
|
|
|
<property name="indent" value="4"/>
|
|
|
|
<property name="tabIndent" value="true"/>
|
|
|
|
</properties>
|
2017-11-05 14:34:02 +01:00
|
|
|
</rule>
|
|
|
|
</ruleset>
|