steeffeen/FancyManiaLinks

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

Summary

Maintainability
A
0 mins
Test Coverage
F
0%

The class Quad_BgsChallengeMedals is not named in CamelCase.
Open

class Quad_BgsChallengeMedals 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_BGSILVER but found SUBSTYLE_BgSilver
Open

    const SUBSTYLE_BgSilver    = 'BgSilver';

Class constants must be uppercase; expected SUBSTYLE_BGNADEO but found SUBSTYLE_BgNadeo
Open

    const SUBSTYLE_BgNadeo     = 'BgNadeo';

Class constants must be uppercase; expected SUBSTYLE_BGPLAYED but found SUBSTYLE_BgPlayed
Open

    const SUBSTYLE_BgPlayed    = 'BgPlayed';

Class constants must be uppercase; expected SUBSTYLE_BGNOTPLAYED but found SUBSTYLE_BgNotPlayed
Open

    const SUBSTYLE_BgNotPlayed = 'BgNotPlayed';

Class constants must be uppercase; expected SUBSTYLE_BGBRONZE but found SUBSTYLE_BgBronze
Open

    const SUBSTYLE_BgBronze    = 'BgBronze';

Class constants must be uppercase; expected SUBSTYLE_BGGOLD but found SUBSTYLE_BgGold
Open

    const SUBSTYLE_BgGold      = 'BgGold';

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

}

Constant SUBSTYLE_BgGold should be defined in uppercase
Open

    const SUBSTYLE_BgGold      = 'BgGold';

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

    const SUBSTYLE_BgBronze    = 'BgBronze';

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

    const SUBSTYLE_BgNadeo     = 'BgNadeo';

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

    const SUBSTYLE_BgPlayed    = 'BgPlayed';

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

    const SUBSTYLE_BgNotPlayed = 'BgNotPlayed';

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

    const SUBSTYLE_BgSilver    = 'BgSilver';

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

class Quad_BgsChallengeMedals extends Quad

There are no issues that match your filters.

Category
Status