Skip to content
On this page

CamelCapsFunctionName

Ensures method and functions are named correctly.

Scope

Generic.NamingConventions.CamelCapsFunctionName

Description

Functions should use camelCaps format for their names. Only PHP's magic methods should use a double underscore prefix.

Properties

Property NameTypeDefaultAvailable Since
strictbooltrue1.3.5

Usage

xml
<rule ref="Generic.NamingConventions.CamelCapsFunctionName">
    <properties>
        <property name="strict" value="false" />
    </properties>
</rule>

Examples

No Examples Available

Please edit this page through Github to add examples.

Released under the MIT License.