FML/Controls/Quads/Quad_MedalsBig.php
The class Quad_MedalsBig is not named in CamelCase. Open
Open
class Quad_MedalsBig 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_MEDALGOLD but found SUBSTYLE_MedalGold Open
Open
const SUBSTYLE_MedalGold = 'MedalGold';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_MEDALNADEOPERSPECTIVE but found SUBSTYLE_MedalNadeoPerspective Open
Open
const SUBSTYLE_MedalNadeoPerspective = 'MedalNadeoPerspective';
- 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_MEDALSLOT but found SUBSTYLE_MedalSlot Open
Open
const SUBSTYLE_MedalSlot = 'MedalSlot';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_MEDALSILVER but found SUBSTYLE_MedalSilver Open
Open
const SUBSTYLE_MedalSilver = 'MedalSilver';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_MEDALGOLDPERSPECTIVE but found SUBSTYLE_MedalGoldPerspective Open
Open
const SUBSTYLE_MedalGoldPerspective = 'MedalGoldPerspective';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_MEDALNADEO but found SUBSTYLE_MedalNadeo Open
Open
const SUBSTYLE_MedalNadeo = 'MedalNadeo';
- Exclude checks
Class constants must be uppercase; expected SUBSTYLE_MEDALBRONZE but found SUBSTYLE_MedalBronze Open
Open
const SUBSTYLE_MedalBronze = 'MedalBronze';
- Exclude checks
Constant SUBSTYLE_MedalGoldPerspective should be defined in uppercase Open
Open
const SUBSTYLE_MedalGoldPerspective = 'MedalGoldPerspective';
- 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_MedalGold should be defined in uppercase Open
Open
const SUBSTYLE_MedalGold = 'MedalGold';
- 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_MedalSlot should be defined in uppercase Open
Open
const SUBSTYLE_MedalSlot = 'MedalSlot';
- 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_MedalBronze should be defined in uppercase Open
Open
const SUBSTYLE_MedalBronze = 'MedalBronze';
- 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_MedalSilver should be defined in uppercase Open
Open
const SUBSTYLE_MedalSilver = 'MedalSilver';
- 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_MedalNadeoPerspective should be defined in uppercase Open
Open
const SUBSTYLE_MedalNadeoPerspective = 'MedalNadeoPerspective';
- 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_MedalNadeo should be defined in uppercase Open
Open
const SUBSTYLE_MedalNadeo = 'MedalNadeo';
- 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_MedalsBig" is not in camel caps format Open
Open
class Quad_MedalsBig extends Quad
- Exclude checks