steeffeen/FancyManiaLinks

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

Summary

Maintainability
A
0 mins
Test Coverage
F
0%

The class Quad_MedalsBig is not named in CamelCase.
Open

class Quad_MedalsBig extends Quad
{

    /*
     * Constants
Severity: Minor
Found in FML/Controls/Quads/Quad_MedalsBig.php by phpmd

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_MEDALGOLD but found SUBSTYLE_MedalGold
Open

    const SUBSTYLE_MedalGold             = 'MedalGold';

Class constants must be uppercase; expected SUBSTYLE_MEDALNADEOPERSPECTIVE but found SUBSTYLE_MedalNadeoPerspective
Open

    const SUBSTYLE_MedalNadeoPerspective = 'MedalNadeoPerspective';

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

}

Class constants must be uppercase; expected SUBSTYLE_MEDALSLOT but found SUBSTYLE_MedalSlot
Open

    const SUBSTYLE_MedalSlot             = 'MedalSlot';

Class constants must be uppercase; expected SUBSTYLE_MEDALSILVER but found SUBSTYLE_MedalSilver
Open

    const SUBSTYLE_MedalSilver           = 'MedalSilver';

Class constants must be uppercase; expected SUBSTYLE_MEDALGOLDPERSPECTIVE but found SUBSTYLE_MedalGoldPerspective
Open

    const SUBSTYLE_MedalGoldPerspective  = 'MedalGoldPerspective';

Class constants must be uppercase; expected SUBSTYLE_MEDALNADEO but found SUBSTYLE_MedalNadeo
Open

    const SUBSTYLE_MedalNadeo            = 'MedalNadeo';

Class constants must be uppercase; expected SUBSTYLE_MEDALBRONZE but found SUBSTYLE_MedalBronze
Open

    const SUBSTYLE_MedalBronze           = 'MedalBronze';

Constant SUBSTYLE_MedalGoldPerspective should be defined in uppercase
Open

    const SUBSTYLE_MedalGoldPerspective  = 'MedalGoldPerspective';
Severity: Minor
Found in FML/Controls/Quads/Quad_MedalsBig.php by phpmd

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

    const SUBSTYLE_MedalGold             = 'MedalGold';
Severity: Minor
Found in FML/Controls/Quads/Quad_MedalsBig.php by phpmd

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

    const SUBSTYLE_MedalSlot             = 'MedalSlot';
Severity: Minor
Found in FML/Controls/Quads/Quad_MedalsBig.php by phpmd

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

    const SUBSTYLE_MedalBronze           = 'MedalBronze';
Severity: Minor
Found in FML/Controls/Quads/Quad_MedalsBig.php by phpmd

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

    const SUBSTYLE_MedalSilver           = 'MedalSilver';
Severity: Minor
Found in FML/Controls/Quads/Quad_MedalsBig.php by phpmd

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

    const SUBSTYLE_MedalNadeoPerspective = 'MedalNadeoPerspective';
Severity: Minor
Found in FML/Controls/Quads/Quad_MedalsBig.php by phpmd

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

    const SUBSTYLE_MedalNadeo            = 'MedalNadeo';
Severity: Minor
Found in FML/Controls/Quads/Quad_MedalsBig.php by phpmd

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

class Quad_MedalsBig extends Quad

There are no issues that match your filters.

Category
Status