The class Quad_Icons64x64_2 is not named in CamelCase. Open
class Quad_Icons64x64_2 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_NUCLEUSELIMINATION but found SUBSTYLE_NucleusElimination Open
const SUBSTYLE_NucleusElimination = 'NucleusElimination';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_ROCKETHIT but found SUBSTYLE_RocketHit Open
const SUBSTYLE_RocketHit = 'RocketHit';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_UNKNOWNHIT but found SUBSTYLE_UnknownHit Open
const SUBSTYLE_UnknownHit = 'UnknownHit';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_ARROWELIMINATION but found SUBSTYLE_ArrowElimination Open
const SUBSTYLE_ArrowElimination = 'ArrowElimination';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_CALENDAR but found SUBSTYLE_Calendar Open
const SUBSTYLE_Calendar = 'Calendar';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_LASERHIT but found SUBSTYLE_LaserHit Open
const SUBSTYLE_LaserHit = 'LaserHit';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_ROCKETELIMINATION but found SUBSTYLE_RocketElimination Open
const SUBSTYLE_RocketElimination = 'RocketElimination';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_DISCONNECTED but found SUBSTYLE_Disconnected Open
const SUBSTYLE_Disconnected = 'Disconnected';
- Exclude checks
The closing brace for the class must go on the next line after the body Open
}
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_ARROWHIT but found SUBSTYLE_ArrowHit Open
const SUBSTYLE_ArrowHit = 'ArrowHit';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_NUCLEUSHIT but found SUBSTYLE_NucleusHit Open
const SUBSTYLE_NucleusHit = 'NucleusHit';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_DISCONNECTEDLIGHT but found SUBSTYLE_DisconnectedLight Open
const SUBSTYLE_DisconnectedLight = 'DisconnectedLight';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_SORTBY but found SUBSTYLE_SortBy Open
const SUBSTYLE_SortBy = 'SortBy';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_LASERELIMINATION but found SUBSTYLE_LaserElimination Open
const SUBSTYLE_LaserElimination = 'LaserElimination';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_UNKNOWNELIMINATION but found SUBSTYLE_UnknownElimination Open
const SUBSTYLE_UnknownElimination = 'UnknownElimination';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_SERVERNOTICE but found SUBSTYLE_ServerNotice Open
const SUBSTYLE_ServerNotice = 'ServerNotice';
- Exclude checks
Constant SUBSTYLE_UnknownHit should be defined in uppercase Open
const SUBSTYLE_UnknownHit = 'UnknownHit';
- 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_LaserElimination should be defined in uppercase Open
const SUBSTYLE_LaserElimination = 'LaserElimination';
- 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_UnknownElimination should be defined in uppercase Open
const SUBSTYLE_UnknownElimination = 'UnknownElimination';
- 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_NucleusHit should be defined in uppercase Open
const SUBSTYLE_NucleusHit = 'NucleusHit';
- 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_Disconnected should be defined in uppercase Open
const SUBSTYLE_Disconnected = 'Disconnected';
- 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_Calendar should be defined in uppercase Open
const SUBSTYLE_Calendar = 'Calendar';
- 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_LaserHit should be defined in uppercase Open
const SUBSTYLE_LaserHit = 'LaserHit';
- 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_SortBy should be defined in uppercase Open
const SUBSTYLE_SortBy = 'SortBy';
- 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_ArrowHit should be defined in uppercase Open
const SUBSTYLE_ArrowHit = 'ArrowHit';
- 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_DisconnectedLight should be defined in uppercase Open
const SUBSTYLE_DisconnectedLight = 'DisconnectedLight';
- 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_NucleusElimination should be defined in uppercase Open
const SUBSTYLE_NucleusElimination = 'NucleusElimination';
- 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_RocketHit should be defined in uppercase Open
const SUBSTYLE_RocketHit = 'RocketHit';
- 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_ArrowElimination should be defined in uppercase Open
const SUBSTYLE_ArrowElimination = 'ArrowElimination';
- 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_ServerNotice should be defined in uppercase Open
const SUBSTYLE_ServerNotice = 'ServerNotice';
- 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_RocketElimination should be defined in uppercase Open
const SUBSTYLE_RocketElimination = 'RocketElimination';
- 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_Icons64x64_2" is not in camel caps format Open
class Quad_Icons64x64_2 extends Quad
- Exclude checks