steeffeen/FancyManiaLinks

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

Summary

Maintainability
A
0 mins
Test Coverage
F
0%

The class Quad_BgRaceScore2 is not named in CamelCase.
Open

class Quad_BgRaceScore2 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_CUPFINISHER but found SUBSTYLE_CupFinisher
Open

    const SUBSTYLE_CupFinisher          = 'CupFinisher';

Class constants must be uppercase; expected SUBSTYLE_CARTOUCHELINE but found SUBSTYLE_CartoucheLine
Open

    const SUBSTYLE_CartoucheLine        = 'CartoucheLine';

Class constants must be uppercase; expected SUBSTYLE_HANDLEBLUE but found SUBSTYLE_HandleBlue
Open

    const SUBSTYLE_HandleBlue           = 'HandleBlue';

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

}

Class constants must be uppercase; expected SUBSTYLE_HANDLERED but found SUBSTYLE_HandleRed
Open

    const SUBSTYLE_HandleRed            = 'HandleRed';

Class constants must be uppercase; expected SUBSTYLE_SENDSCORE but found SUBSTYLE_SendScore
Open

    const SUBSTYLE_SendScore            = 'SendScore';

Class constants must be uppercase; expected SUBSTYLE_SPECTATOR but found SUBSTYLE_Spectator
Open

    const SUBSTYLE_Spectator            = 'Spectator';

Class constants must be uppercase; expected SUBSTYLE_BGCARDSERVER but found SUBSTYLE_BgCardServer
Open

    const SUBSTYLE_BgCardServer         = 'BgCardServer';

Class constants must be uppercase; expected SUBSTYLE_HANDLESELECTABLE but found SUBSTYLE_HandleSelectable
Open

    const SUBSTYLE_HandleSelectable     = 'HandleSelectable';

Class constants must be uppercase; expected SUBSTYLE_BGSCORES but found SUBSTYLE_BgScores
Open

    const SUBSTYLE_BgScores             = 'BgScores';

Class constants must be uppercase; expected SUBSTYLE_CUPPOTENTIALFINISHER but found SUBSTYLE_CupPotentialFinisher
Open

    const SUBSTYLE_CupPotentialFinisher = 'CupPotentialFinisher';

Class constants must be uppercase; expected SUBSTYLE_FAME but found SUBSTYLE_Fame
Open

    const SUBSTYLE_Fame                 = 'Fame';

Class constants must be uppercase; expected SUBSTYLE_BGCARDPLAYER but found SUBSTYLE_BgCardPlayer
Open

    const SUBSTYLE_BgCardPlayer         = 'BgCardPlayer';

Class constants must be uppercase; expected SUBSTYLE_ISLADDERDISABLED but found SUBSTYLE_IsLadderDisabled
Open

    const SUBSTYLE_IsLadderDisabled     = 'IsLadderDisabled';

Class constants must be uppercase; expected SUBSTYLE_PODIUM but found SUBSTYLE_Podium
Open

    const SUBSTYLE_Podium               = 'Podium';

Class constants must be uppercase; expected SUBSTYLE_TV but found SUBSTYLE_Tv
Open

    const SUBSTYLE_Tv                   = 'Tv';

Class constants must be uppercase; expected SUBSTYLE_POINTS but found SUBSTYLE_Points
Open

    const SUBSTYLE_Points               = 'Points';

Class constants must be uppercase; expected SUBSTYLE_HANDLE but found SUBSTYLE_Handle
Open

    const SUBSTYLE_Handle               = 'Handle';

Class constants must be uppercase; expected SUBSTYLE_SPEAKING but found SUBSTYLE_Speaking
Open

    const SUBSTYLE_Speaking             = 'Speaking';

Class constants must be uppercase; expected SUBSTYLE_CARTOUCHE but found SUBSTYLE_Cartouche
Open

    const SUBSTYLE_Cartouche            = 'Cartouche';

Class constants must be uppercase; expected SUBSTYLE_LADDERRANK but found SUBSTYLE_LadderRank
Open

    const SUBSTYLE_LadderRank           = 'LadderRank';

Class constants must be uppercase; expected SUBSTYLE_SCORELINK but found SUBSTYLE_ScoreLink
Open

    const SUBSTYLE_ScoreLink            = 'ScoreLink';

Class constants must be uppercase; expected SUBSTYLE_ISLOCALPLAYER but found SUBSTYLE_IsLocalPlayer
Open

    const SUBSTYLE_IsLocalPlayer        = 'IsLocalPlayer';

Class constants must be uppercase; expected SUBSTYLE_LADDERPOINTS but found SUBSTYLE_LadderPoints
Open

    const SUBSTYLE_LadderPoints         = 'LadderPoints';

Class constants must be uppercase; expected SUBSTYLE_WARMUP but found SUBSTYLE_Warmup
Open

    const SUBSTYLE_Warmup               = 'Warmup';

Class constants must be uppercase; expected SUBSTYLE_SANDTIMER but found SUBSTYLE_SandTimer
Open

    const SUBSTYLE_SandTimer            = 'SandTimer';

Class constants must be uppercase; expected SUBSTYLE_LAPS but found SUBSTYLE_Laps
Open

    const SUBSTYLE_Laps                 = 'Laps';

Class constants must be uppercase; expected SUBSTYLE_SCOREREPLAY but found SUBSTYLE_ScoreReplay
Open

    const SUBSTYLE_ScoreReplay          = 'ScoreReplay';

Constant SUBSTYLE_Cartouche should be defined in uppercase
Open

    const SUBSTYLE_Cartouche            = 'Cartouche';

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

    const SUBSTYLE_HandleRed            = 'HandleRed';

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

    const SUBSTYLE_ScoreLink            = 'ScoreLink';

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

    const SUBSTYLE_BgCardPlayer         = 'BgCardPlayer';

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

    const SUBSTYLE_BgScores             = 'BgScores';

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

    const SUBSTYLE_LadderRank           = 'LadderRank';

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

    const SUBSTYLE_Spectator            = 'Spectator';

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

    const SUBSTYLE_IsLadderDisabled     = 'IsLadderDisabled';

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

    const SUBSTYLE_IsLocalPlayer        = 'IsLocalPlayer';

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

    const SUBSTYLE_Fame                 = 'Fame';

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

    const SUBSTYLE_LadderPoints         = 'LadderPoints';

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

    const SUBSTYLE_BgCardServer         = 'BgCardServer';

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

    const SUBSTYLE_SendScore            = 'SendScore';

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

    const SUBSTYLE_Tv                   = 'Tv';

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

    const SUBSTYLE_SandTimer            = 'SandTimer';

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

    const SUBSTYLE_CartoucheLine        = 'CartoucheLine';

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

    const SUBSTYLE_Podium               = 'Podium';

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

    const SUBSTYLE_Warmup               = 'Warmup';

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

    const SUBSTYLE_Handle               = 'Handle';

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

    const SUBSTYLE_HandleBlue           = 'HandleBlue';

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

    const SUBSTYLE_HandleSelectable     = 'HandleSelectable';

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

    const SUBSTYLE_Laps                 = 'Laps';

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

    const SUBSTYLE_CupPotentialFinisher = 'CupPotentialFinisher';

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

    const SUBSTYLE_CupFinisher          = 'CupFinisher';

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

    const SUBSTYLE_Points               = 'Points';

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

    const SUBSTYLE_ScoreReplay          = 'ScoreReplay';

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

    const SUBSTYLE_Speaking             = 'Speaking';

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

class Quad_BgRaceScore2 extends Quad

There are no issues that match your filters.

Category
Status