The class Quad_ManiaPlanetMainMenu is not named in CamelCase. Open
class Quad_ManiaPlanetMainMenu 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_ICONSETTINGS but found SUBSTYLE_IconSettings Open
const SUBSTYLE_IconSettings = 'IconSettings';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_TITLEBG but found SUBSTYLE_TitleBg Open
const SUBSTYLE_TitleBg = 'TitleBg';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_ICONADD but found SUBSTYLE_IconAdd Open
const SUBSTYLE_IconAdd = 'IconAdd';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_MAINBG but found SUBSTYLE_MainBg Open
const SUBSTYLE_MainBg = 'MainBg';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_HIGHLIGHT but found SUBSTYLE_Highlight Open
const SUBSTYLE_Highlight = 'Highlight';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_ICONHOME but found SUBSTYLE_IconHome Open
const SUBSTYLE_IconHome = 'IconHome';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_ICONQUIT but found SUBSTYLE_IconQuit Open
const SUBSTYLE_IconQuit = 'IconQuit';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_BOTTOMBAR but found SUBSTYLE_BottomBar Open
const SUBSTYLE_BottomBar = 'BottomBar';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_ICONSTORE but found SUBSTYLE_IconStore Open
const SUBSTYLE_IconStore = 'IconStore';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_ICONPLAY but found SUBSTYLE_IconPlay Open
const SUBSTYLE_IconPlay = 'IconPlay';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_TOPBAR but found SUBSTYLE_TopBar Open
const SUBSTYLE_TopBar = 'TopBar';
- Exclude checks
The closing brace for the class must go on the next line after the body Open
}
- Exclude checks
Constant SUBSTYLE_IconQuit should be defined in uppercase Open
const SUBSTYLE_IconQuit = 'IconQuit';
- 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_IconAdd should be defined in uppercase Open
const SUBSTYLE_IconAdd = 'IconAdd';
- 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_Highlight should be defined in uppercase Open
const SUBSTYLE_Highlight = 'Highlight';
- 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_BottomBar should be defined in uppercase Open
const SUBSTYLE_BottomBar = 'BottomBar';
- 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_TitleBg should be defined in uppercase Open
const SUBSTYLE_TitleBg = 'TitleBg';
- 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_TopBar should be defined in uppercase Open
const SUBSTYLE_TopBar = 'TopBar';
- 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_IconPlay should be defined in uppercase Open
const SUBSTYLE_IconPlay = 'IconPlay';
- 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_IconStore should be defined in uppercase Open
const SUBSTYLE_IconStore = 'IconStore';
- 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_IconSettings should be defined in uppercase Open
const SUBSTYLE_IconSettings = 'IconSettings';
- 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_MainBg should be defined in uppercase Open
const SUBSTYLE_MainBg = 'MainBg';
- 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_IconHome should be defined in uppercase Open
const SUBSTYLE_IconHome = 'IconHome';
- 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_ManiaPlanetMainMenu" is not in camel caps format Open
class Quad_ManiaPlanetMainMenu extends Quad
- Exclude checks