steeffeen/FancyManiaLinks

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

Summary

Maintainability
A
0 mins
Test Coverage
F
0%

The class Quad_ManiaPlanetMainMenu is not named in CamelCase.
Open

class Quad_ManiaPlanetMainMenu 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_ICONADD but found SUBSTYLE_IconAdd
Open

    const SUBSTYLE_IconAdd      = 'IconAdd';

Class constants must be uppercase; expected SUBSTYLE_ICONHOME but found SUBSTYLE_IconHome
Open

    const SUBSTYLE_IconHome     = 'IconHome';

Class constants must be uppercase; expected SUBSTYLE_HIGHLIGHT but found SUBSTYLE_Highlight
Open

    const SUBSTYLE_Highlight    = 'Highlight';

Class constants must be uppercase; expected SUBSTYLE_ICONPLAY but found SUBSTYLE_IconPlay
Open

    const SUBSTYLE_IconPlay     = 'IconPlay';

Class constants must be uppercase; expected SUBSTYLE_TOPBAR but found SUBSTYLE_TopBar
Open

    const SUBSTYLE_TopBar       = 'TopBar';

Class constants must be uppercase; expected SUBSTYLE_ICONSETTINGS but found SUBSTYLE_IconSettings
Open

    const SUBSTYLE_IconSettings = 'IconSettings';

Class constants must be uppercase; expected SUBSTYLE_BOTTOMBAR but found SUBSTYLE_BottomBar
Open

    const SUBSTYLE_BottomBar    = 'BottomBar';

Class constants must be uppercase; expected SUBSTYLE_ICONQUIT but found SUBSTYLE_IconQuit
Open

    const SUBSTYLE_IconQuit     = 'IconQuit';

Class constants must be uppercase; expected SUBSTYLE_ICONSTORE but found SUBSTYLE_IconStore
Open

    const SUBSTYLE_IconStore    = 'IconStore';

Class constants must be uppercase; expected SUBSTYLE_MAINBG but found SUBSTYLE_MainBg
Open

    const SUBSTYLE_MainBg       = 'MainBg';

Class constants must be uppercase; expected SUBSTYLE_TITLEBG but found SUBSTYLE_TitleBg
Open

    const SUBSTYLE_TitleBg      = 'TitleBg';

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

}

Constant SUBSTYLE_TopBar should be defined in uppercase
Open

    const SUBSTYLE_TopBar       = 'TopBar';

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

    const SUBSTYLE_IconPlay     = 'IconPlay';

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

    const SUBSTYLE_IconStore    = 'IconStore';

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

    const SUBSTYLE_IconHome     = 'IconHome';

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

    const SUBSTYLE_IconQuit     = 'IconQuit';

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

    const SUBSTYLE_Highlight    = 'Highlight';

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

    const SUBSTYLE_IconAdd      = 'IconAdd';

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

    const SUBSTYLE_MainBg       = 'MainBg';

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

    const SUBSTYLE_IconSettings = 'IconSettings';

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

    const SUBSTYLE_TitleBg      = 'TitleBg';

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

    const SUBSTYLE_BottomBar    = 'BottomBar';

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

class Quad_ManiaPlanetMainMenu extends Quad

There are no issues that match your filters.

Category
Status