steeffeen/FancyManiaLinks

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

Summary

Maintainability
A
0 mins
Test Coverage
F
0%

The class Quad_Hud3dEchelons is not named in CamelCase.
Open

class Quad_Hud3dEchelons 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_ECHELONGOLD1 but found SUBSTYLE_EchelonGold1
Open

    const SUBSTYLE_EchelonGold1   = 'EchelonGold1';

Class constants must be uppercase; expected SUBSTYLE_ECHELONBRONZE1 but found SUBSTYLE_EchelonBronze1
Open

    const SUBSTYLE_EchelonBronze1 = 'EchelonBronze1';

Class constants must be uppercase; expected SUBSTYLE_ECHELONGOLD3 but found SUBSTYLE_EchelonGold3
Open

    const SUBSTYLE_EchelonGold3   = 'EchelonGold3';

Class constants must be uppercase; expected SUBSTYLE_ECHELONBRONZE2 but found SUBSTYLE_EchelonBronze2
Open

    const SUBSTYLE_EchelonBronze2 = 'EchelonBronze2';

Class constants must be uppercase; expected SUBSTYLE_ECHELONSILVER3 but found SUBSTYLE_EchelonSilver3
Open

    const SUBSTYLE_EchelonSilver3 = 'EchelonSilver3';

Class constants must be uppercase; expected SUBSTYLE_ECHELONGOLD2 but found SUBSTYLE_EchelonGold2
Open

    const SUBSTYLE_EchelonGold2   = 'EchelonGold2';

Class constants must be uppercase; expected SUBSTYLE_ECHELONBRONZE3 but found SUBSTYLE_EchelonBronze3
Open

    const SUBSTYLE_EchelonBronze3 = 'EchelonBronze3';

Class constants must be uppercase; expected SUBSTYLE_ECHELONSILVER1 but found SUBSTYLE_EchelonSilver1
Open

    const SUBSTYLE_EchelonSilver1 = 'EchelonSilver1';

Class constants must be uppercase; expected SUBSTYLE_ECHELONSILVER2 but found SUBSTYLE_EchelonSilver2
Open

    const SUBSTYLE_EchelonSilver2 = 'EchelonSilver2';

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

}

Constant SUBSTYLE_EchelonGold1 should be defined in uppercase
Open

    const SUBSTYLE_EchelonGold1   = 'EchelonGold1';

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_EchelonBronze1 should be defined in uppercase
Open

    const SUBSTYLE_EchelonBronze1 = 'EchelonBronze1';

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_EchelonSilver2 should be defined in uppercase
Open

    const SUBSTYLE_EchelonSilver2 = 'EchelonSilver2';

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_EchelonGold3 should be defined in uppercase
Open

    const SUBSTYLE_EchelonGold3   = 'EchelonGold3';

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_EchelonBronze3 should be defined in uppercase
Open

    const SUBSTYLE_EchelonBronze3 = 'EchelonBronze3';

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_EchelonGold2 should be defined in uppercase
Open

    const SUBSTYLE_EchelonGold2   = 'EchelonGold2';

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_EchelonSilver1 should be defined in uppercase
Open

    const SUBSTYLE_EchelonSilver1 = 'EchelonSilver1';

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_EchelonSilver3 should be defined in uppercase
Open

    const SUBSTYLE_EchelonSilver3 = 'EchelonSilver3';

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_EchelonBronze2 should be defined in uppercase
Open

    const SUBSTYLE_EchelonBronze2 = 'EchelonBronze2';

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

class Quad_Hud3dEchelons extends Quad

There are no issues that match your filters.

Category
Status