FML/Controls/Quads/Quad_Hud3dEchelons.php
The class Quad_Hud3dEchelons is not named in CamelCase. Open
Open
class Quad_Hud3dEchelons 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_ECHELONBRONZE2 but found SUBSTYLE_EchelonBronze2 Open
Open
const SUBSTYLE_EchelonBronze2 = 'EchelonBronze2';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_ECHELONGOLD1 but found SUBSTYLE_EchelonGold1 Open
Open
const SUBSTYLE_EchelonGold1 = 'EchelonGold1';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_ECHELONGOLD2 but found SUBSTYLE_EchelonGold2 Open
Open
const SUBSTYLE_EchelonGold2 = 'EchelonGold2';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_ECHELONSILVER2 but found SUBSTYLE_EchelonSilver2 Open
Open
const SUBSTYLE_EchelonSilver2 = 'EchelonSilver2';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_ECHELONBRONZE1 but found SUBSTYLE_EchelonBronze1 Open
Open
const SUBSTYLE_EchelonBronze1 = 'EchelonBronze1';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_ECHELONSILVER1 but found SUBSTYLE_EchelonSilver1 Open
Open
const SUBSTYLE_EchelonSilver1 = 'EchelonSilver1';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_ECHELONGOLD3 but found SUBSTYLE_EchelonGold3 Open
Open
const SUBSTYLE_EchelonGold3 = 'EchelonGold3';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_ECHELONBRONZE3 but found SUBSTYLE_EchelonBronze3 Open
Open
const SUBSTYLE_EchelonBronze3 = 'EchelonBronze3';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_ECHELONSILVER3 but found SUBSTYLE_EchelonSilver3 Open
Open
const SUBSTYLE_EchelonSilver3 = 'EchelonSilver3';
- Exclude checks
The closing brace for the class must go on the next line after the body Open
Open
}
- Exclude checks
Constant SUBSTYLE_EchelonSilver1 should be defined in uppercase Open
Open
const SUBSTYLE_EchelonSilver1 = 'EchelonSilver1';
- 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_EchelonSilver3 should be defined in uppercase Open
Open
const SUBSTYLE_EchelonSilver3 = 'EchelonSilver3';
- 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_EchelonGold1 should be defined in uppercase Open
Open
const SUBSTYLE_EchelonGold1 = 'EchelonGold1';
- 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_EchelonSilver2 should be defined in uppercase Open
Open
const SUBSTYLE_EchelonSilver2 = 'EchelonSilver2';
- 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_EchelonBronze3 should be defined in uppercase Open
Open
const SUBSTYLE_EchelonBronze3 = 'EchelonBronze3';
- 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_EchelonGold3 should be defined in uppercase Open
Open
const SUBSTYLE_EchelonGold3 = 'EchelonGold3';
- 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_EchelonBronze2 should be defined in uppercase Open
Open
const SUBSTYLE_EchelonBronze2 = 'EchelonBronze2';
- 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_EchelonBronze1 should be defined in uppercase Open
Open
const SUBSTYLE_EchelonBronze1 = 'EchelonBronze1';
- 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_EchelonGold2 should be defined in uppercase Open
Open
const SUBSTYLE_EchelonGold2 = 'EchelonGold2';
- 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_Hud3dEchelons" is not in camel caps format Open
Open
class Quad_Hud3dEchelons extends Quad
- Exclude checks