steeffeen/FancyManiaLinks

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

Summary

Maintainability
A
0 mins
Test Coverage
F
0%

The class Quad_ManiaPlanetLogos is not named in CamelCase.
Open

class Quad_ManiaPlanetLogos 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_MANIAPLANETLOGOWHITESMALL but found SUBSTYLE_ManiaPlanetLogoWhiteSmall
Open

    const SUBSTYLE_ManiaPlanetLogoWhiteSmall = 'ManiaPlanetLogoWhiteSmall';

Class constants must be uppercase; expected SUBSTYLE_MANIAPLANETLOGOBLACKSMALL but found SUBSTYLE_ManiaPlanetLogoBlackSmall
Open

    const SUBSTYLE_ManiaPlanetLogoBlackSmall = 'ManiaPlanetLogoBlackSmall';

Class constants must be uppercase; expected SUBSTYLE_MANIAPLANETLOGOWHITE but found SUBSTYLE_ManiaPlanetLogoWhite
Open

    const SUBSTYLE_ManiaPlanetLogoWhite      = 'ManiaPlanetLogoWhite';

Class constants must be uppercase; expected SUBSTYLE_ICONPLANETS but found SUBSTYLE_IconPlanets
Open

    const SUBSTYLE_IconPlanets               = 'IconPlanets';

Class constants must be uppercase; expected SUBSTYLE_ICONPLANETSSMALL but found SUBSTYLE_IconPlanetsSmall
Open

    const SUBSTYLE_IconPlanetsSmall          = 'IconPlanetsSmall';

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

}

Class constants must be uppercase; expected SUBSTYLE_ICONPLANETSPERSPECTIVE but found SUBSTYLE_IconPlanetsPerspective
Open

    const SUBSTYLE_IconPlanetsPerspective    = 'IconPlanetsPerspective';

Class constants must be uppercase; expected SUBSTYLE_MANIAPLANETLOGOBLACK but found SUBSTYLE_ManiaPlanetLogoBlack
Open

    const SUBSTYLE_ManiaPlanetLogoBlack      = 'ManiaPlanetLogoBlack';

Constant SUBSTYLE_IconPlanetsSmall should be defined in uppercase
Open

    const SUBSTYLE_IconPlanetsSmall          = 'IconPlanetsSmall';

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

    const SUBSTYLE_ManiaPlanetLogoWhiteSmall = 'ManiaPlanetLogoWhiteSmall';

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

    const SUBSTYLE_IconPlanetsPerspective    = 'IconPlanetsPerspective';

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

    const SUBSTYLE_ManiaPlanetLogoBlackSmall = 'ManiaPlanetLogoBlackSmall';

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

    const SUBSTYLE_ManiaPlanetLogoBlack      = 'ManiaPlanetLogoBlack';

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

    const SUBSTYLE_IconPlanets               = 'IconPlanets';

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

    const SUBSTYLE_ManiaPlanetLogoWhite      = 'ManiaPlanetLogoWhite';

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

class Quad_ManiaPlanetLogos extends Quad

There are no issues that match your filters.

Category
Status