FML/Controls/Quads/Quad_Hud3dIcons.php
The class Quad_Hud3dIcons is not named in CamelCase. Open
Open
class Quad_Hud3dIcons 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_PLAYER2 but found SUBSTYLE_Player2 Open
Open
const SUBSTYLE_Player2 = 'Player2';
- 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_POINTA but found SUBSTYLE_PointA Open
Open
const SUBSTYLE_PointA = 'PointA';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_PLAYER3 but found SUBSTYLE_Player3 Open
Open
const SUBSTYLE_Player3 = 'Player3';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_CROSS but found SUBSTYLE_Cross Open
Open
const SUBSTYLE_Cross = 'Cross';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_CROSSTARGETED but found SUBSTYLE_CrossTargeted Open
Open
const SUBSTYLE_CrossTargeted = 'CrossTargeted';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_PLAYER1 but found SUBSTYLE_Player1 Open
Open
const SUBSTYLE_Player1 = 'Player1';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_POINTB but found SUBSTYLE_PointB Open
Open
const SUBSTYLE_PointB = 'PointB';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_POINTC but found SUBSTYLE_PointC Open
Open
const SUBSTYLE_PointC = 'PointC';
- Exclude checks
Constant SUBSTYLE_Player3 should be defined in uppercase Open
Open
const SUBSTYLE_Player3 = 'Player3';
- 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_PointB should be defined in uppercase Open
Open
const SUBSTYLE_PointB = 'PointB';
- 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_CrossTargeted should be defined in uppercase Open
Open
const SUBSTYLE_CrossTargeted = 'CrossTargeted';
- 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_Cross should be defined in uppercase Open
Open
const SUBSTYLE_Cross = 'Cross';
- 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_Player2 should be defined in uppercase Open
Open
const SUBSTYLE_Player2 = 'Player2';
- 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_PointA should be defined in uppercase Open
Open
const SUBSTYLE_PointA = 'PointA';
- 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_PointC should be defined in uppercase Open
Open
const SUBSTYLE_PointC = 'PointC';
- 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_Player1 should be defined in uppercase Open
Open
const SUBSTYLE_Player1 = 'Player1';
- 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_Hud3dIcons" is not in camel caps format Open
Open
class Quad_Hud3dIcons extends Quad
- Exclude checks