Fork me on GitHub
a Sensio Labs Product

Remote Void (v2.18.1) edition

Rule lowercase_constants

Warning

This rule is deprecated and will be removed on next major version.

You should use constant_case instead.

The PHP constants true, false, and null MUST be in lower case.

Examples

Example #1

--- Original
+++ New
@@ -1,4 +1,4 @@
 <?php
-$a = FALSE;
-$b = True;
-$c = nuLL;
+$a = false;
+$b = true;
+$c = null;
The logo is © 2010-2014 Sensio Labs