Skip to content
On this page

UpperCaseConstant

Checks that all uses of TRUE, FALSE and NULL are uppercase.

Scope

Generic.PHP.UpperCaseConstant

Description

The <em>true</em>, <em>false</em> and <em>null</em> constants must always be uppercase.

Usage

xml
<rule ref="Generic.PHP.UpperCaseConstant"></rule>

Examples

No Examples Available

Please edit this page through Github to add examples.

Released under the MIT License.