Skip to content

Commit

Permalink
Merge pull request #207 from cakephp/uppercase-constant-fix
Browse files Browse the repository at this point in the history
Switch to using the phpcs provided uppercase constant sniff.
  • Loading branch information
dereuromark authored Jun 8, 2018
2 parents 1309b61 + ebc4557 commit d6018c8
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 288 deletions.
225 changes: 0 additions & 225 deletions CakePHP/Sniffs/NamingConventions/UpperCaseConstantNameSniff.php

This file was deleted.

37 changes: 0 additions & 37 deletions CakePHP/Tests/NamingConventions/UpperCaseConstantNameUnitTest.inc

This file was deleted.

26 changes: 0 additions & 26 deletions CakePHP/Tests/NamingConventions/UpperCaseConstantNameUnitTest.php

This file was deleted.

2 changes: 2 additions & 0 deletions CakePHP/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
<property name="ignoreBlankLines" value="false"/>
</properties>
</rule>

<!--
Temporarily ignore until API docblock formatting and line length issues in core code are fixed.
-->
Expand Down Expand Up @@ -111,6 +112,7 @@
<rule ref="Squiz.WhiteSpace.SemicolonSpacing"/>
<rule ref="Squiz.WhiteSpace.SuperfluousWhitespace"/>
<rule ref="Squiz.WhiteSpace.ScopeClosingBrace"/>
<rule ref="Generic.NamingConventions.UpperCaseConstantName"/>

<!-- Relax some src/* and tests/* rules -->
<rule ref="PSR1.Files.SideEffects">
Expand Down

0 comments on commit d6018c8

Please sign in to comment.