Skip to content

Commit

Permalink
Codesniffer config.
Browse files Browse the repository at this point in the history
  • Loading branch information
joshmoody committed Jan 16, 2015
1 parent 2a56386 commit fe129cb
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions PSR2Tabs.xml
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
<?xml version="1.0"?>
<ruleset name="PSR2-Tabs">
<description>The PSR-2 coding standard, but with tabs for indentation.</description>

<!-- Include the whole PSR-1 standard -->


<!-- Include the whole PSR-2 standard -->
<rule ref="PSR2">
<!-- Exclude the rules forbidding tab indents -->
<exclude name="Generic.WhiteSpace.ScopeIndent" />
<exclude name="Generic.WhiteSpace.DisallowTabIndent" />
</rule>

<!-- Break PSR-2 by requiring tabs instead of spaces for indentation. -->
<rule ref="Generic.WhiteSpace.DisallowSpaceIndent"/>
<description>The PSR-2 coding standard, but with tabs for indentation.</description>

<!-- Include the whole PSR-1 standard -->


<!-- Include the whole PSR-2 standard -->
<rule ref="PSR2">
<!-- Exclude the rules forbidding tab indents -->
<exclude name="Generic.WhiteSpace.ScopeIndent" />
<exclude name="Generic.WhiteSpace.DisallowTabIndent" />
<exclude name="PSR2.ControlStructures.SwitchDeclaration" />
</rule>

<!-- Break PSR-2 by requiring tabs instead of spaces for indentation. -->
<rule ref="Generic.WhiteSpace.DisallowSpaceIndent"/>

</ruleset>

0 comments on commit fe129cb

Please sign in to comment.