PSR2Tabs.xml
<?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" />
<exclude name="PSR2.ControlStructures.SwitchDeclaration" />
<!-- I don't really care about line length -->
<exclude name="Generic.Files.LineLength" />
</rule>
<!-- Break PSR-2 by requiring tabs instead of spaces for indentation. -->
<rule ref="Generic.WhiteSpace.DisallowSpaceIndent"/>
</ruleset>