FML/Controls/Quads/Quad_TitleLogos.php
The class Quad_TitleLogos is not named in CamelCase. Open
Open
class Quad_TitleLogos 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
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_COLLECTION but found SUBSTYLE_Collection Open
Open
const SUBSTYLE_Collection = 'Collection';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_AUTHOR but found SUBSTYLE_Author Open
Open
const SUBSTYLE_Author = 'Author';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_ICON but found SUBSTYLE_Icon Open
Open
const SUBSTYLE_Icon = 'Icon';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_TITLE but found SUBSTYLE_Title Open
Open
const SUBSTYLE_Title = 'Title';
- Exclude checks
Constant SUBSTYLE_Icon should be defined in uppercase Open
Open
const SUBSTYLE_Icon = 'Icon';
- 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_Author should be defined in uppercase Open
Open
const SUBSTYLE_Author = 'Author';
- 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_Collection should be defined in uppercase Open
Open
const SUBSTYLE_Collection = 'Collection';
- 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_Title should be defined in uppercase Open
Open
const SUBSTYLE_Title = 'Title';
- 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_TitleLogos" is not in camel caps format Open
Open
class Quad_TitleLogos extends Quad
- Exclude checks