Skip to content
This repository has been archived by the owner on Sep 10, 2021. It is now read-only.

Commit

Permalink
BUG: Fixed constant check regular expression
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles Marion committed May 26, 2011
1 parent a963038 commit 0f2365e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/library/PhpCheckstyle/config/default.cfg.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<!-- **************** -->

<!-- Check Constant Naming -->
<test name="constantNaming" regexp="/^[A-Z_][A-Z_]*[A-Z_]$/" level="ERROR"/>
<test name="constantNaming" regexp="/^[A-Z0-9_][A-Z0-9_]*[A-Z0-9_]$/" level="ERROR"/>

<!-- Check Variable Naming -->
<test name="variableNaming" regexp="/^[a-zA-Z_][a-zA-Z0-9_]*$/" />
Expand Down

0 comments on commit 0f2365e

Please sign in to comment.