Browse Source

[phpcs] Update checks

- Use tabs for indentation
logmanoriginal 7 years ago
parent
commit
32ce2b6541
1 changed files with 2 additions and 27 deletions
  1. 2 27
      phpcs.xml

+ 2 - 27
phpcs.xml

@@ -18,39 +18,14 @@
   <rule ref="Generic.NamingConventions.UpperCaseConstantName"/>
   <rule ref="Generic.PHP.LowerCaseConstant"/>
   <rule ref="Generic.Strings.UnnecessaryStringConcat"/>
-  <rule ref="Generic.WhiteSpace.DisallowTabIndent"/>
-  <rule ref="Generic.WhiteSpace.ScopeIndent">
-    <properties>
-      <property name="indent" value="2"/>
-    </properties>
-  </rule>
-  <rule ref="PEAR.Functions.FunctionCallSignature">
-    <properties>
-      <property name="indent" value="2"/>
-    </properties>
-  </rule>
+  <rule ref="Generic.WhiteSpace.DisallowSpaceIndent"/>
   <rule ref="PEAR.Functions.ValidDefaultValue"/>
   <rule ref="PEAR.NamingConventions.ValidClassName"/>
-  <rule ref="PEAR.WhiteSpace.ObjectOperatorIndent">
-    <properties>
-      <property name="indent" value="2"/>
-    </properties>
-  </rule>
-  <rule ref="PEAR.WhiteSpace.ScopeClosingBrace">
-    <properties>
-      <property name="indent" value="2"/>
-    </properties>
-  </rule>
   <rule ref="PSR2.ControlStructures.ElseIfDeclaration"/>
-  <rule ref="PSR2.ControlStructures.SwitchDeclaration">
-    <properties>
-      <property name="indent" value="2"/>
-    </properties>
-  </rule>
   <rule ref="PSR2.Files.EndFileNewline"/>
   <rule ref="Squiz.WhiteSpace.CastSpacing"/>
   <rule ref="Squiz.WhiteSpace.ObjectOperatorSpacing"/>
   <rule ref="Squiz.WhiteSpace.OperatorSpacing"/>
   <rule ref="Squiz.WhiteSpace.SemicolonSpacing"/>
   <rule ref="Squiz.WhiteSpace.SuperfluousWhitespace"/>
-</ruleset>
+</ruleset>