FML/Controls/Quads/Quad_ManiaplanetSystem.php
The class Quad_ManiaplanetSystem is not named in CamelCase. Open
Open
class Quad_ManiaplanetSystem 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_STATISTICS but found SUBSTYLE_Statistics Open
Open
const SUBSTYLE_Statistics = 'Statistics';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_EVENTS but found SUBSTYLE_Events Open
Open
const SUBSTYLE_Events = 'Events';
- Exclude checks
The closing brace for the class must go on the next line after the body Open
Open
}
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_BGFLOAT but found SUBSTYLE_BgFloat Open
Open
const SUBSTYLE_BgFloat = 'BgFloat';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_BGDIALOG but found SUBSTYLE_BgDialog Open
Open
const SUBSTYLE_BgDialog = 'BgDialog';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_BGDIALOGANCHOR but found SUBSTYLE_BgDialogAnchor Open
Open
const SUBSTYLE_BgDialogAnchor = 'BgDialogAnchor';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_MEDALS but found SUBSTYLE_Medals Open
Open
const SUBSTYLE_Medals = 'Medals';
- Exclude checks
Constant SUBSTYLE_BgFloat should be defined in uppercase Open
Open
const SUBSTYLE_BgFloat = 'BgFloat';
- 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_Medals should be defined in uppercase Open
Open
const SUBSTYLE_Medals = 'Medals';
- 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_Statistics should be defined in uppercase Open
Open
const SUBSTYLE_Statistics = 'Statistics';
- 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_BgDialogAnchor should be defined in uppercase Open
Open
const SUBSTYLE_BgDialogAnchor = 'BgDialogAnchor';
- 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_Events should be defined in uppercase Open
Open
const SUBSTYLE_Events = 'Events';
- 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_BgDialog should be defined in uppercase Open
Open
const SUBSTYLE_BgDialog = 'BgDialog';
- 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_ManiaplanetSystem" is not in camel caps format Open
Open
class Quad_ManiaplanetSystem extends Quad
- Exclude checks