]> git.mxchange.org Git - friendica.git/blob - vendor/pear/text_languagedetect/phpcs.xml
Removed useless "function_exists" checks
[friendica.git] / vendor / pear / text_languagedetect / phpcs.xml
1 <?xml version="1.0"?>
2 <ruleset name="PEAR-textlanguagedetect">
3  <rule ref="PEAR">
4   <!-- we keep the old php4-style variable names for now -->
5   <exclude name="PEAR.NamingConventions.ValidFunctionName.PublicUnderscore"/>
6   <exclude name="PEAR.NamingConventions.ValidVariableName.PublicUnderscore"/>
7   <exclude name="PEAR.NamingConventions.ValidVariableName.PrivateNoUnderscore"/>
8   <exclude name="PEAR.NamingConventions.ValidFunctionName.PrivateNoUnderscore"/>
9   <exclude name="PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps"/>
10   <exclude name="PEAR.WhiteSpace.ScopeIndent.IncorrectExact"/>
11   <exclude name="PSR1.Methods.CamelCapsMethodName.NotCamelCaps"/>
12  </rule>
13  <description>PSR2 with tabs instead of spaces.</description>
14  <arg name="tab-width" value="4"/>
15  <rule ref="PSR2">
16      <exclude name="Generic.WhiteSpace.DisallowTabIndent"/>
17      <exclude name="Generic.Commenting.DocComment.MissingShort"/>
18  </rule>
19  <rule ref="Generic.WhiteSpace.DisallowSpaceIndent"/>
20  <rule ref="Generic.WhiteSpace.ScopeIndent">
21      <properties>
22          <property name="indent" value="4"/>
23          <property name="tabIndent" value="true"/>
24      </properties>
25  </rule>
26 </ruleset>