Skip to content
On this page

ValidClassName

Ensures class and interface names start with a capital letter and use _ separators.

Scope

PEAR.NamingConventions.ValidClassName

Description

Classes should be given descriptive names. Avoid using abbreviations where possible. Class names should always begin with an uppercase letter. The PEAR class hierarchy is also reflected in the class name, each level of the hierarchy separated with a single underscore.

Usage

xml
<rule ref="PEAR.NamingConventions.ValidClassName"></rule>

Examples

No Examples Available

Please edit this page through Github to add examples.

Released under the MIT License.