steeffeen/FancyManiaLinks

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

Summary

Maintainability
A
0 mins
Test Coverage
F
0%

The class Quad_ManiaplanetSystem is not named in CamelCase.
Open

class Quad_ManiaplanetSystem 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_STATISTICS but found SUBSTYLE_Statistics
Open

    const SUBSTYLE_Statistics     = 'Statistics';

Class constants must be uppercase; expected SUBSTYLE_EVENTS but found SUBSTYLE_Events
Open

    const SUBSTYLE_Events         = 'Events';

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

}

Class constants must be uppercase; expected SUBSTYLE_BGFLOAT but found SUBSTYLE_BgFloat
Open

    const SUBSTYLE_BgFloat        = 'BgFloat';

Class constants must be uppercase; expected SUBSTYLE_BGDIALOG but found SUBSTYLE_BgDialog
Open

    const SUBSTYLE_BgDialog       = 'BgDialog';

Class constants must be uppercase; expected SUBSTYLE_BGDIALOGANCHOR but found SUBSTYLE_BgDialogAnchor
Open

    const SUBSTYLE_BgDialogAnchor = 'BgDialogAnchor';

Class constants must be uppercase; expected SUBSTYLE_MEDALS but found SUBSTYLE_Medals
Open

    const SUBSTYLE_Medals         = 'Medals';

Constant SUBSTYLE_BgFloat should be defined in uppercase
Open

    const SUBSTYLE_BgFloat        = 'BgFloat';

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

    const SUBSTYLE_Medals         = 'Medals';

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

    const SUBSTYLE_Statistics     = 'Statistics';

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

    const SUBSTYLE_BgDialogAnchor = 'BgDialogAnchor';

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

    const SUBSTYLE_Events         = 'Events';

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

    const SUBSTYLE_BgDialog       = 'BgDialog';

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

class Quad_ManiaplanetSystem extends Quad

There are no issues that match your filters.

Category
Status