FML/Controls/Quads/Quad_ManiaPlanetLogos.php
The class Quad_ManiaPlanetLogos is not named in CamelCase. Open
Open
class Quad_ManiaPlanetLogos 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_MANIAPLANETLOGOWHITESMALL but found SUBSTYLE_ManiaPlanetLogoWhiteSmall Open
Open
const SUBSTYLE_ManiaPlanetLogoWhiteSmall = 'ManiaPlanetLogoWhiteSmall';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_MANIAPLANETLOGOBLACKSMALL but found SUBSTYLE_ManiaPlanetLogoBlackSmall Open
Open
const SUBSTYLE_ManiaPlanetLogoBlackSmall = 'ManiaPlanetLogoBlackSmall';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_MANIAPLANETLOGOWHITE but found SUBSTYLE_ManiaPlanetLogoWhite Open
Open
const SUBSTYLE_ManiaPlanetLogoWhite = 'ManiaPlanetLogoWhite';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_ICONPLANETS but found SUBSTYLE_IconPlanets Open
Open
const SUBSTYLE_IconPlanets = 'IconPlanets';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_ICONPLANETSSMALL but found SUBSTYLE_IconPlanetsSmall Open
Open
const SUBSTYLE_IconPlanetsSmall = 'IconPlanetsSmall';
- 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_ICONPLANETSPERSPECTIVE but found SUBSTYLE_IconPlanetsPerspective Open
Open
const SUBSTYLE_IconPlanetsPerspective = 'IconPlanetsPerspective';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_MANIAPLANETLOGOBLACK but found SUBSTYLE_ManiaPlanetLogoBlack Open
Open
const SUBSTYLE_ManiaPlanetLogoBlack = 'ManiaPlanetLogoBlack';
- Exclude checks
Constant SUBSTYLE_IconPlanetsSmall should be defined in uppercase Open
Open
const SUBSTYLE_IconPlanetsSmall = 'IconPlanetsSmall';
- 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_ManiaPlanetLogoWhiteSmall should be defined in uppercase Open
Open
const SUBSTYLE_ManiaPlanetLogoWhiteSmall = 'ManiaPlanetLogoWhiteSmall';
- 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_IconPlanetsPerspective should be defined in uppercase Open
Open
const SUBSTYLE_IconPlanetsPerspective = 'IconPlanetsPerspective';
- 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_ManiaPlanetLogoBlackSmall should be defined in uppercase Open
Open
const SUBSTYLE_ManiaPlanetLogoBlackSmall = 'ManiaPlanetLogoBlackSmall';
- 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_ManiaPlanetLogoBlack should be defined in uppercase Open
Open
const SUBSTYLE_ManiaPlanetLogoBlack = 'ManiaPlanetLogoBlack';
- 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_IconPlanets should be defined in uppercase Open
Open
const SUBSTYLE_IconPlanets = 'IconPlanets';
- 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_ManiaPlanetLogoWhite should be defined in uppercase Open
Open
const SUBSTYLE_ManiaPlanetLogoWhite = 'ManiaPlanetLogoWhite';
- 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_ManiaPlanetLogos" is not in camel caps format Open
Open
class Quad_ManiaPlanetLogos extends Quad
- Exclude checks