steeffeen/FancyManiaLinks

View on GitHub
FML/Controls/Quads/Quad_321Go.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%

The class Quad_321Go is not named in CamelCase.
Open

class Quad_321Go extends Quad
{

    /*
     * Constants
Severity: Minor
Found in FML/Controls/Quads/Quad_321Go.php by phpmd

CamelCaseClassName

Since: 0.2

It is considered best practice to use the CamelCase notation to name classes.

Example

class class_name {
}

Source

The closing brace for the class must go on the next line after the body
Open

}

Class constants must be uppercase; expected SUBSTYLE_GO but found SUBSTYLE_Go
Open

    const SUBSTYLE_Go = 'Go!';

Constant SUBSTYLE_Go should be defined in uppercase
Open

    const SUBSTYLE_Go = 'Go!';
Severity: Minor
Found in FML/Controls/Quads/Quad_321Go.php by phpmd

ConstantNamingConventions

Since: 0.2

Class/Interface constant names should always be defined in uppercase.

Example

class Foo {
    const MY_NUM = 0; // ok
    const myTest = ""; // fail
}

Source https://phpmd.org/rules/naming.html#constantnamingconventions

Class name "Quad_321Go" is not in camel caps format
Open

class Quad_321Go extends Quad

There are no issues that match your filters.

Category
Status