Skip to content

Commit

Permalink
fix: properly disable AlphabeticallyOrderedConstants by default
Browse files Browse the repository at this point in the history
  • Loading branch information
simPod committed Jan 9, 2024
1 parent f39c43b commit 623ac6c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 94 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ composer require --dev cdn77/coding-standard
* Reference this coding standard in your `phpcs.xml.dist` (_check out [the one used in this project](phpcs.xml.dist)_):

```
<rule ref="Cdn77CS" />
<rule ref="Cdn77" />
```
4 changes: 4 additions & 0 deletions src/Cdn77/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
<arg value="p"/>
<arg value="s"/>

<rule ref="Cdn77.Ordering.AlphabeticallyOrderedConstants">
<severity>0</severity>
</rule>

<!-- use Doctrine as the base standard -->
<rule ref="Doctrine">
<exclude name="Generic.Formatting.MultipleStatementAlignment"/>
Expand Down
93 changes: 0 additions & 93 deletions src/Cdn77CS/ruleset.xml

This file was deleted.

0 comments on commit 623ac6c

Please sign in to comment.