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

Commit 0f2365e

Browse files
author
Charles Marion
committed
BUG: Fixed constant check regular expression
1 parent a963038 commit 0f2365e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/library/PhpCheckstyle/config/default.cfg.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<!-- **************** -->
77

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

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

0 commit comments

Comments
 (0)