Skip to content

Commit

Permalink
Remove indent and EOL modifications
Browse files Browse the repository at this point in the history
  • Loading branch information
rhowardiv committed Dec 28, 2012
1 parent 7f9db7f commit 83a499b
Showing 1 changed file with 1 addition and 30 deletions.
31 changes: 1 addition & 30 deletions CodeSniffer/Standards/Snap/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,43 +2,14 @@
<ruleset name="Snap">
<description>The Snap Interactive coding standard.</description>

<!-- Use a modified PSR2 -->
<!-- Our goal is to eventually remove these modifications -->
<rule ref="PSR2">
<exclude name="Generic.Files.LineEndings"/>
<exclude name="Generic.WhiteSpace.DisallowTabIndent"/>
</rule>
<rule ref="PSR2"/>

<rule ref="PSR1.Classes.ClassDeclaration">
<properties>
<property name="enforce_namespaces" value="false"/>
</properties>
</rule>

<rule ref="Generic.WhiteSpace.DisallowSpaceIndent"/>
<rule ref="Generic.WhiteSpace.ScopeIndent">
<properties>
<property name="indent" value="1"/>
</properties>
</rule>
<rule ref="PSR2.ControlStructures.SwitchDeclaration">
<properties>
<property name="indent" value="1"/>
</properties>
</rule>
<rule ref="PEAR.Functions.FunctionCallSignature">
<properties>
<property name="indent" value="1"/>
</properties>
</rule>
<rule ref="Squiz.Functions.MultiLineFunctionDeclaration">
<properties>
<property name="indent" value="1"/>
</properties>
</rule>

<!-- end modifications -->

<!-- Other nice things -->
<rule ref="Generic.CodeAnalysis.UnusedFunctionParameter"/>
<rule ref="Generic.Metrics.CyclomaticComplexity"/>
Expand Down

0 comments on commit 83a499b

Please sign in to comment.