steeffeen/FancyManiaLinks

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

Summary

Maintainability
A
0 mins
Test Coverage
F
0%

The class Quad_Hud3dIcons is not named in CamelCase.
Open

class Quad_Hud3dIcons extends Quad
{

    /*
     * Constants

CamelCaseClassName

Since: 0.2

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

Example

class class_name {
}

Source

Class constants must be uppercase; expected SUBSTYLE_POINTA but found SUBSTYLE_PointA
Open

    const SUBSTYLE_PointA        = 'PointA';

Class constants must be uppercase; expected SUBSTYLE_PLAYER1 but found SUBSTYLE_Player1
Open

    const SUBSTYLE_Player1       = 'Player1';

Class constants must be uppercase; expected SUBSTYLE_PLAYER2 but found SUBSTYLE_Player2
Open

    const SUBSTYLE_Player2       = 'Player2';

Class constants must be uppercase; expected SUBSTYLE_POINTB but found SUBSTYLE_PointB
Open

    const SUBSTYLE_PointB        = 'PointB';

Class constants must be uppercase; expected SUBSTYLE_CROSS but found SUBSTYLE_Cross
Open

    const SUBSTYLE_Cross         = 'Cross';

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

}

Class constants must be uppercase; expected SUBSTYLE_CROSSTARGETED but found SUBSTYLE_CrossTargeted
Open

    const SUBSTYLE_CrossTargeted = 'CrossTargeted';

Class constants must be uppercase; expected SUBSTYLE_PLAYER3 but found SUBSTYLE_Player3
Open

    const SUBSTYLE_Player3       = 'Player3';

Class constants must be uppercase; expected SUBSTYLE_POINTC but found SUBSTYLE_PointC
Open

    const SUBSTYLE_PointC        = 'PointC';

Constant SUBSTYLE_PointC should be defined in uppercase
Open

    const SUBSTYLE_PointC        = 'PointC';

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

Constant SUBSTYLE_Player3 should be defined in uppercase
Open

    const SUBSTYLE_Player3       = 'Player3';

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

Constant SUBSTYLE_Player1 should be defined in uppercase
Open

    const SUBSTYLE_Player1       = 'Player1';

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

Constant SUBSTYLE_PointA should be defined in uppercase
Open

    const SUBSTYLE_PointA        = 'PointA';

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

Constant SUBSTYLE_Cross should be defined in uppercase
Open

    const SUBSTYLE_Cross         = 'Cross';

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

Constant SUBSTYLE_Player2 should be defined in uppercase
Open

    const SUBSTYLE_Player2       = 'Player2';

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

Constant SUBSTYLE_PointB should be defined in uppercase
Open

    const SUBSTYLE_PointB        = 'PointB';

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

Constant SUBSTYLE_CrossTargeted should be defined in uppercase
Open

    const SUBSTYLE_CrossTargeted = 'CrossTargeted';

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_Hud3dIcons" is not in camel caps format
Open

class Quad_Hud3dIcons extends Quad

There are no issues that match your filters.

Category
Status