aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar logmanoriginal <logmanoriginal@users.noreply.github.com> 2016-09-10 19:55:49 +0200
committerGravatar logmanoriginal <logmanoriginal@users.noreply.github.com> 2016-09-10 19:55:49 +0200
commit32ce2b65411d0cb02a0116bf05fef234e52e7c8f (patch)
treee38c24833c6d7897499d3eb8964a1a561101870b
parentd17998224ed018df86f70756e821a290f588e52d (diff)
downloadrss-bridge-32ce2b65411d0cb02a0116bf05fef234e52e7c8f.tar.gz
rss-bridge-32ce2b65411d0cb02a0116bf05fef234e52e7c8f.tar.zst
rss-bridge-32ce2b65411d0cb02a0116bf05fef234e52e7c8f.zip
[phpcs] Update checks
- Use tabs for indentation
-rw-r--r--phpcs.xml29
1 files changed, 2 insertions, 27 deletions
diff --git a/phpcs.xml b/phpcs.xml
index 635c12dd..22687654 100644
--- a/phpcs.xml
+++ b/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> \ No newline at end of file
+</ruleset>