-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
15 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |