The class Quad_BgRaceScore2 is not named in CamelCase. Open
class Quad_BgRaceScore2 extends Quad
{
/*
* Constants
- Read upRead up
- Exclude checks
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_SCORELINK but found SUBSTYLE_ScoreLink Open
const SUBSTYLE_ScoreLink = 'ScoreLink';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_HANDLEBLUE but found SUBSTYLE_HandleBlue Open
const SUBSTYLE_HandleBlue = 'HandleBlue';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_LADDERRANK but found SUBSTYLE_LadderRank Open
const SUBSTYLE_LadderRank = 'LadderRank';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_PODIUM but found SUBSTYLE_Podium Open
const SUBSTYLE_Podium = 'Podium';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_SPECTATOR but found SUBSTYLE_Spectator Open
const SUBSTYLE_Spectator = 'Spectator';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_CUPPOTENTIALFINISHER but found SUBSTYLE_CupPotentialFinisher Open
const SUBSTYLE_CupPotentialFinisher = 'CupPotentialFinisher';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_SCOREREPLAY but found SUBSTYLE_ScoreReplay Open
const SUBSTYLE_ScoreReplay = 'ScoreReplay';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_BGSCORES but found SUBSTYLE_BgScores Open
const SUBSTYLE_BgScores = 'BgScores';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_CARTOUCHELINE but found SUBSTYLE_CartoucheLine Open
const SUBSTYLE_CartoucheLine = 'CartoucheLine';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_HANDLERED but found SUBSTYLE_HandleRed Open
const SUBSTYLE_HandleRed = 'HandleRed';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_ISLOCALPLAYER but found SUBSTYLE_IsLocalPlayer Open
const SUBSTYLE_IsLocalPlayer = 'IsLocalPlayer';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_SENDSCORE but found SUBSTYLE_SendScore Open
const SUBSTYLE_SendScore = 'SendScore';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_TV but found SUBSTYLE_Tv Open
const SUBSTYLE_Tv = 'Tv';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_BGCARDSERVER but found SUBSTYLE_BgCardServer Open
const SUBSTYLE_BgCardServer = 'BgCardServer';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_CUPFINISHER but found SUBSTYLE_CupFinisher Open
const SUBSTYLE_CupFinisher = 'CupFinisher';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_SPEAKING but found SUBSTYLE_Speaking Open
const SUBSTYLE_Speaking = 'Speaking';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_LADDERPOINTS but found SUBSTYLE_LadderPoints Open
const SUBSTYLE_LadderPoints = 'LadderPoints';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_HANDLESELECTABLE but found SUBSTYLE_HandleSelectable Open
const SUBSTYLE_HandleSelectable = 'HandleSelectable';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_POINTS but found SUBSTYLE_Points Open
const SUBSTYLE_Points = 'Points';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_SANDTIMER but found SUBSTYLE_SandTimer Open
const SUBSTYLE_SandTimer = 'SandTimer';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_WARMUP but found SUBSTYLE_Warmup Open
const SUBSTYLE_Warmup = 'Warmup';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_BGCARDPLAYER but found SUBSTYLE_BgCardPlayer Open
const SUBSTYLE_BgCardPlayer = 'BgCardPlayer';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_LAPS but found SUBSTYLE_Laps Open
const SUBSTYLE_Laps = 'Laps';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_HANDLE but found SUBSTYLE_Handle Open
const SUBSTYLE_Handle = 'Handle';
- Exclude checks
The closing brace for the class must go on the next line after the body Open
}
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_CARTOUCHE but found SUBSTYLE_Cartouche Open
const SUBSTYLE_Cartouche = 'Cartouche';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_FAME but found SUBSTYLE_Fame Open
const SUBSTYLE_Fame = 'Fame';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_ISLADDERDISABLED but found SUBSTYLE_IsLadderDisabled Open
const SUBSTYLE_IsLadderDisabled = 'IsLadderDisabled';
- Exclude checks
Constant SUBSTYLE_BgCardServer should be defined in uppercase Open
const SUBSTYLE_BgCardServer = 'BgCardServer';
- Read upRead up
- Exclude checks
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';
- Read upRead up
- Exclude checks
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';
- Read upRead up
- Exclude checks
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';
- Read upRead up
- Exclude checks
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';
- Read upRead up
- Exclude checks
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';
- Read upRead up
- Exclude checks
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';
- Read upRead up
- Exclude checks
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';
- Read upRead up
- Exclude checks
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';
- Read upRead up
- Exclude checks
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';
- Read upRead up
- Exclude checks
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';
- Read upRead up
- Exclude checks
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';
- Read upRead up
- Exclude checks
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';
- Read upRead up
- Exclude checks
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';
- Read upRead up
- Exclude checks
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';
- Read upRead up
- Exclude checks
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';
- Read upRead up
- Exclude checks
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';
- Read upRead up
- Exclude checks
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';
- Read upRead up
- Exclude checks
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';
- Read upRead up
- Exclude checks
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';
- Read upRead up
- Exclude checks
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';
- Read upRead up
- Exclude checks
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_Cartouche should be defined in uppercase Open
const SUBSTYLE_Cartouche = 'Cartouche';
- Read upRead up
- Exclude checks
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';
- Read upRead up
- Exclude checks
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';
- Read upRead up
- Exclude checks
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';
- Read upRead up
- Exclude checks
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';
- Read upRead up
- Exclude checks
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';
- Read upRead up
- Exclude checks
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
- Exclude checks