The class Quad_BgsPlayerCard is not named in CamelCase. Open
class Quad_BgsPlayerCard 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_BGACTIVEPLAYERSCORE but found SUBSTYLE_BgActivePlayerScore Open
const SUBSTYLE_BgActivePlayerScore = 'BgActivePlayerScore';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_BGACTIVEPLAYERCARD but found SUBSTYLE_BgActivePlayerCard Open
const SUBSTYLE_BgActivePlayerCard = 'BgActivePlayerCard';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_BGPLAYERSCORE but found SUBSTYLE_BgPlayerScore Open
const SUBSTYLE_BgPlayerScore = 'BgPlayerScore';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_BGPLAYERCARDBIG but found SUBSTYLE_BgPlayerCardBig Open
const SUBSTYLE_BgPlayerCardBig = 'BgPlayerCardBig';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_BGPLAYERNAME but found SUBSTYLE_BgPlayerName Open
const SUBSTYLE_BgPlayerName = 'BgPlayerName';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_BGMEDIATRACKER but found SUBSTYLE_BgMediaTracker Open
const SUBSTYLE_BgMediaTracker = 'BgMediaTracker';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_BGCARD but found SUBSTYLE_BgCard Open
const SUBSTYLE_BgCard = 'BgCard';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_BGRACEPLAYERNAME but found SUBSTYLE_BgRacePlayerName Open
const SUBSTYLE_BgRacePlayerName = 'BgRacePlayerName';
- 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_BGACTIVEPLAYERNAME but found SUBSTYLE_BgActivePlayerName Open
const SUBSTYLE_BgActivePlayerName = 'BgActivePlayerName';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_BGCARDSYSTEM but found SUBSTYLE_BgCardSystem Open
const SUBSTYLE_BgCardSystem = 'BgCardSystem';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_BGRACEPLAYERLINE but found SUBSTYLE_BgRacePlayerLine Open
const SUBSTYLE_BgRacePlayerLine = 'BgRacePlayerLine';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_BGPLAYERCARD but found SUBSTYLE_BgPlayerCard Open
const SUBSTYLE_BgPlayerCard = 'BgPlayerCard';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_BGPLAYERCARDSMALL but found SUBSTYLE_BgPlayerCardSmall Open
const SUBSTYLE_BgPlayerCardSmall = 'BgPlayerCardSmall';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_PROGRESSBAR but found SUBSTYLE_ProgressBar Open
const SUBSTYLE_ProgressBar = 'ProgressBar';
- Exclude checks
Constant SUBSTYLE_BgPlayerCardBig should be defined in uppercase Open
const SUBSTYLE_BgPlayerCardBig = 'BgPlayerCardBig';
- 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_BgPlayerCardSmall should be defined in uppercase Open
const SUBSTYLE_BgPlayerCardSmall = 'BgPlayerCardSmall';
- 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_BgCard should be defined in uppercase Open
const SUBSTYLE_BgCard = 'BgCard';
- 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_BgRacePlayerName should be defined in uppercase Open
const SUBSTYLE_BgRacePlayerName = 'BgRacePlayerName';
- 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_BgPlayerName should be defined in uppercase Open
const SUBSTYLE_BgPlayerName = 'BgPlayerName';
- 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_BgActivePlayerScore should be defined in uppercase Open
const SUBSTYLE_BgActivePlayerScore = 'BgActivePlayerScore';
- 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_ProgressBar should be defined in uppercase Open
const SUBSTYLE_ProgressBar = 'ProgressBar';
- 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_BgRacePlayerLine should be defined in uppercase Open
const SUBSTYLE_BgRacePlayerLine = 'BgRacePlayerLine';
- 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_BgPlayerScore should be defined in uppercase Open
const SUBSTYLE_BgPlayerScore = 'BgPlayerScore';
- 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_BgCardSystem should be defined in uppercase Open
const SUBSTYLE_BgCardSystem = 'BgCardSystem';
- 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_BgMediaTracker should be defined in uppercase Open
const SUBSTYLE_BgMediaTracker = 'BgMediaTracker';
- 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_BgActivePlayerCard should be defined in uppercase Open
const SUBSTYLE_BgActivePlayerCard = 'BgActivePlayerCard';
- 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_BgActivePlayerName should be defined in uppercase Open
const SUBSTYLE_BgActivePlayerName = 'BgActivePlayerName';
- 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_BgPlayerCard should be defined in uppercase Open
const SUBSTYLE_BgPlayerCard = 'BgPlayerCard';
- 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_BgsPlayerCard" is not in camel caps format Open
class Quad_BgsPlayerCard extends Quad
- Exclude checks