steeffeen/FancyManiaLinks

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

Summary

Maintainability
A
0 mins
Test Coverage
F
0%

The class Quad_BgsPlayerCard is not named in CamelCase.
Open

class Quad_BgsPlayerCard 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_BGACTIVEPLAYERSCORE but found SUBSTYLE_BgActivePlayerScore
Open

    const SUBSTYLE_BgActivePlayerScore = 'BgActivePlayerScore';

Class constants must be uppercase; expected SUBSTYLE_BGACTIVEPLAYERCARD but found SUBSTYLE_BgActivePlayerCard
Open

    const SUBSTYLE_BgActivePlayerCard  = 'BgActivePlayerCard';

Class constants must be uppercase; expected SUBSTYLE_BGPLAYERSCORE but found SUBSTYLE_BgPlayerScore
Open

    const SUBSTYLE_BgPlayerScore       = 'BgPlayerScore';

Class constants must be uppercase; expected SUBSTYLE_BGPLAYERCARDBIG but found SUBSTYLE_BgPlayerCardBig
Open

    const SUBSTYLE_BgPlayerCardBig     = 'BgPlayerCardBig';

Class constants must be uppercase; expected SUBSTYLE_BGPLAYERNAME but found SUBSTYLE_BgPlayerName
Open

    const SUBSTYLE_BgPlayerName        = 'BgPlayerName';

Class constants must be uppercase; expected SUBSTYLE_BGMEDIATRACKER but found SUBSTYLE_BgMediaTracker
Open

    const SUBSTYLE_BgMediaTracker      = 'BgMediaTracker';

Class constants must be uppercase; expected SUBSTYLE_BGCARD but found SUBSTYLE_BgCard
Open

    const SUBSTYLE_BgCard              = 'BgCard';

Class constants must be uppercase; expected SUBSTYLE_BGRACEPLAYERNAME but found SUBSTYLE_BgRacePlayerName
Open

    const SUBSTYLE_BgRacePlayerName    = 'BgRacePlayerName';

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

}

Class constants must be uppercase; expected SUBSTYLE_BGACTIVEPLAYERNAME but found SUBSTYLE_BgActivePlayerName
Open

    const SUBSTYLE_BgActivePlayerName  = 'BgActivePlayerName';

Class constants must be uppercase; expected SUBSTYLE_BGCARDSYSTEM but found SUBSTYLE_BgCardSystem
Open

    const SUBSTYLE_BgCardSystem        = 'BgCardSystem';

Class constants must be uppercase; expected SUBSTYLE_BGRACEPLAYERLINE but found SUBSTYLE_BgRacePlayerLine
Open

    const SUBSTYLE_BgRacePlayerLine    = 'BgRacePlayerLine';

Class constants must be uppercase; expected SUBSTYLE_BGPLAYERCARD but found SUBSTYLE_BgPlayerCard
Open

    const SUBSTYLE_BgPlayerCard        = 'BgPlayerCard';

Class constants must be uppercase; expected SUBSTYLE_BGPLAYERCARDSMALL but found SUBSTYLE_BgPlayerCardSmall
Open

    const SUBSTYLE_BgPlayerCardSmall   = 'BgPlayerCardSmall';

Class constants must be uppercase; expected SUBSTYLE_PROGRESSBAR but found SUBSTYLE_ProgressBar
Open

    const SUBSTYLE_ProgressBar         = 'ProgressBar';

Constant SUBSTYLE_BgPlayerCardBig should be defined in uppercase
Open

    const SUBSTYLE_BgPlayerCardBig     = 'BgPlayerCardBig';

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

    const SUBSTYLE_BgPlayerCardSmall   = 'BgPlayerCardSmall';

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

    const SUBSTYLE_BgCard              = 'BgCard';

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

    const SUBSTYLE_BgRacePlayerName    = 'BgRacePlayerName';

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

    const SUBSTYLE_BgPlayerName        = 'BgPlayerName';

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

    const SUBSTYLE_BgActivePlayerScore = 'BgActivePlayerScore';

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

    const SUBSTYLE_ProgressBar         = 'ProgressBar';

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

    const SUBSTYLE_BgRacePlayerLine    = 'BgRacePlayerLine';

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

    const SUBSTYLE_BgPlayerScore       = 'BgPlayerScore';

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

    const SUBSTYLE_BgCardSystem        = 'BgCardSystem';

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

    const SUBSTYLE_BgMediaTracker      = 'BgMediaTracker';

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

    const SUBSTYLE_BgActivePlayerCard  = 'BgActivePlayerCard';

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

    const SUBSTYLE_BgActivePlayerName  = 'BgActivePlayerName';

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

    const SUBSTYLE_BgPlayerCard        = 'BgPlayerCard';

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

class Quad_BgsPlayerCard extends Quad

There are no issues that match your filters.

Category
Status