Fork me on GitHub
a Sensio Labs Product

Remote Void (v2.18.5) edition

Rule lowercase_constants


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.


Example #1

--- Original
+++ New
-$a = FALSE;
-$b = True;
-$c = nuLL;
+$a = false;
+$b = true;
+$c = null;
The logo is © 2010-2014 Sensio Labs