steeffeen/FancyManiaLinks

View on GitHub
FML/Controls/Labels/Label_Button.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%

The class Label_Button is not named in CamelCase.
Open

class Label_Button extends Label
{

    /*
     * Constants
Severity: Minor
Found in FML/Controls/Labels/Label_Button.php by phpmd

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 STYLE_CARDBUTTONMEDIUMWIDE but found STYLE_CardButtonMediumWide
Open

    const STYLE_CardButtonMediumWide = 'CardButtonMediumWide';

Class constants must be uppercase; expected STYLE_CARDBUTTONSMALLWIDE but found STYLE_CardButtonSmallWide
Open

    const STYLE_CardButtonSmallWide  = 'CardButtonSmallWide';

Class constants must be uppercase; expected STYLE_CARDBUTTONSMALLS but found STYLE_CardButtonSmallS
Open

    const STYLE_CardButtonSmallS     = 'CardButtonSmallS';

Class constants must be uppercase; expected STYLE_CARDMAIN_TOOL but found STYLE_CardMain_Tool
Open

    const STYLE_CardMain_Tool        = 'CardMain_Tool';

Class constants must be uppercase; expected STYLE_CARDMAIN_TOOL_NOBG but found STYLE_CardMain_Tool_NoBg
Open

    const STYLE_CardMain_Tool_NoBg   = 'CardMain_Tool_NoBg';

Class constants must be uppercase; expected STYLE_CARDBUTTONMEDIUMXS but found STYLE_CardButtonMediumXS
Open

    const STYLE_CardButtonMediumXS   = 'CardButtonMediumXS';

Class constants must be uppercase; expected STYLE_CARDBUTTONSMALLXS but found STYLE_CardButtonSmallXS
Open

    const STYLE_CardButtonSmallXS    = 'CardButtonSmallXS';

Class constants must be uppercase; expected STYLE_CARDMAIN_TOOL_NOBG2 but found STYLE_CardMain_Tool_NoBg2
Open

    const STYLE_CardMain_Tool_NoBg2  = 'CardMain_Tool_NoBg2';

Class constants must be uppercase; expected STYLE_CARDBUTTONMEDIUM but found STYLE_CardButtonMedium
Open

    const STYLE_CardButtonMedium     = 'CardButtonMedium';

Class constants must be uppercase; expected STYLE_CARDBUTTONMEDIUMXL but found STYLE_CardButtonMediumXL
Open

    const STYLE_CardButtonMediumXL   = 'CardButtonMediumXL';

Class constants must be uppercase; expected STYLE_CARDBUTTONMEDIUMXXXL but found STYLE_CardButtonMediumXXXL
Open

    const STYLE_CardButtonMediumXXXL = 'CardButtonMediumXXXL';

Class constants must be uppercase; expected STYLE_CARDBUTTONSMALLL but found STYLE_CardButtonSmallL
Open

    const STYLE_CardButtonSmallL     = 'CardButtonSmallL';

Class constants must be uppercase; expected STYLE_CARDBUTTONMEDIUMS but found STYLE_CardButtonMediumS
Open

    const STYLE_CardButtonMediumS    = 'CardButtonMediumS';

The closing brace for the class must go on the next line after the body
Open

}

Class constants must be uppercase; expected STYLE_CARDBUTTONMEDIUML but found STYLE_CardButtonMediumL
Open

    const STYLE_CardButtonMediumL    = 'CardButtonMediumL';

Class constants must be uppercase; expected STYLE_CARDBUTTONSMALLXL but found STYLE_CardButtonSmallXL
Open

    const STYLE_CardButtonSmallXL    = 'CardButtonSmallXL';

Class constants must be uppercase; expected STYLE_CARDBUTTONSMALLXXL but found STYLE_CardButtonSmallXXL
Open

    const STYLE_CardButtonSmallXXL   = 'CardButtonSmallXXL';

Class constants must be uppercase; expected STYLE_CARDBUTTONSMALLXXXL but found STYLE_CardButtonSmallXXXL
Open

    const STYLE_CardButtonSmallXXXL  = 'CardButtonSmallXXXL';

Class constants must be uppercase; expected STYLE_CARDBUTTONMEDIUMXXL but found STYLE_CardButtonMediumXXL
Open

    const STYLE_CardButtonMediumXXL  = 'CardButtonMediumXXL';

Class constants must be uppercase; expected STYLE_CARDBUTTONSMALL but found STYLE_CardButtonSmall
Open

    const STYLE_CardButtonSmall      = 'CardButtonSmall';

Class constants must be uppercase; expected STYLE_CARDMAIN_QUIT but found STYLE_CardMain_Quit
Open

    const STYLE_CardMain_Quit        = 'CardMain_Quit';

Constant STYLE_CardMain_Tool should be defined in uppercase
Open

    const STYLE_CardMain_Tool        = 'CardMain_Tool';
Severity: Minor
Found in FML/Controls/Labels/Label_Button.php by phpmd

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 STYLE_CardButtonSmallXL should be defined in uppercase
Open

    const STYLE_CardButtonSmallXL    = 'CardButtonSmallXL';
Severity: Minor
Found in FML/Controls/Labels/Label_Button.php by phpmd

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 STYLE_CardMain_Tool_NoBg should be defined in uppercase
Open

    const STYLE_CardMain_Tool_NoBg   = 'CardMain_Tool_NoBg';
Severity: Minor
Found in FML/Controls/Labels/Label_Button.php by phpmd

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 STYLE_CardButtonMediumXXL should be defined in uppercase
Open

    const STYLE_CardButtonMediumXXL  = 'CardButtonMediumXXL';
Severity: Minor
Found in FML/Controls/Labels/Label_Button.php by phpmd

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 STYLE_CardButtonSmall should be defined in uppercase
Open

    const STYLE_CardButtonSmall      = 'CardButtonSmall';
Severity: Minor
Found in FML/Controls/Labels/Label_Button.php by phpmd

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 STYLE_CardButtonMediumXS should be defined in uppercase
Open

    const STYLE_CardButtonMediumXS   = 'CardButtonMediumXS';
Severity: Minor
Found in FML/Controls/Labels/Label_Button.php by phpmd

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 STYLE_CardButtonSmallXXL should be defined in uppercase
Open

    const STYLE_CardButtonSmallXXL   = 'CardButtonSmallXXL';
Severity: Minor
Found in FML/Controls/Labels/Label_Button.php by phpmd

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 STYLE_CardButtonMediumS should be defined in uppercase
Open

    const STYLE_CardButtonMediumS    = 'CardButtonMediumS';
Severity: Minor
Found in FML/Controls/Labels/Label_Button.php by phpmd

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 STYLE_CardButtonSmallWide should be defined in uppercase
Open

    const STYLE_CardButtonSmallWide  = 'CardButtonSmallWide';
Severity: Minor
Found in FML/Controls/Labels/Label_Button.php by phpmd

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 STYLE_CardButtonSmallXS should be defined in uppercase
Open

    const STYLE_CardButtonSmallXS    = 'CardButtonSmallXS';
Severity: Minor
Found in FML/Controls/Labels/Label_Button.php by phpmd

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 STYLE_CardButtonMediumWide should be defined in uppercase
Open

    const STYLE_CardButtonMediumWide = 'CardButtonMediumWide';
Severity: Minor
Found in FML/Controls/Labels/Label_Button.php by phpmd

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 STYLE_CardButtonSmallXXXL should be defined in uppercase
Open

    const STYLE_CardButtonSmallXXXL  = 'CardButtonSmallXXXL';
Severity: Minor
Found in FML/Controls/Labels/Label_Button.php by phpmd

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 STYLE_CardButtonMedium should be defined in uppercase
Open

    const STYLE_CardButtonMedium     = 'CardButtonMedium';
Severity: Minor
Found in FML/Controls/Labels/Label_Button.php by phpmd

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 STYLE_CardButtonMediumXL should be defined in uppercase
Open

    const STYLE_CardButtonMediumXL   = 'CardButtonMediumXL';
Severity: Minor
Found in FML/Controls/Labels/Label_Button.php by phpmd

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 STYLE_CardButtonMediumXXXL should be defined in uppercase
Open

    const STYLE_CardButtonMediumXXXL = 'CardButtonMediumXXXL';
Severity: Minor
Found in FML/Controls/Labels/Label_Button.php by phpmd

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 STYLE_CardMain_Quit should be defined in uppercase
Open

    const STYLE_CardMain_Quit        = 'CardMain_Quit';
Severity: Minor
Found in FML/Controls/Labels/Label_Button.php by phpmd

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 STYLE_CardMain_Tool_NoBg2 should be defined in uppercase
Open

    const STYLE_CardMain_Tool_NoBg2  = 'CardMain_Tool_NoBg2';
Severity: Minor
Found in FML/Controls/Labels/Label_Button.php by phpmd

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 STYLE_CardButtonMediumL should be defined in uppercase
Open

    const STYLE_CardButtonMediumL    = 'CardButtonMediumL';
Severity: Minor
Found in FML/Controls/Labels/Label_Button.php by phpmd

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 STYLE_CardButtonSmallL should be defined in uppercase
Open

    const STYLE_CardButtonSmallL     = 'CardButtonSmallL';
Severity: Minor
Found in FML/Controls/Labels/Label_Button.php by phpmd

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 STYLE_CardButtonSmallS should be defined in uppercase
Open

    const STYLE_CardButtonSmallS     = 'CardButtonSmallS';
Severity: Minor
Found in FML/Controls/Labels/Label_Button.php by phpmd

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 "Label_Button" is not in camel caps format
Open

class Label_Button extends Label

There are no issues that match your filters.

Category
Status