steeffeen/FancyManiaLinks

View on GitHub
FML/Controls/Quads/Quad_Bgs1InRace.php

Summary

Maintainability
D
2 days
Test Coverage
F
0%

Similar blocks of code found in 2 locations. Consider refactoring.
Open

<?php

namespace FML\Controls\Quads;

use FML\Controls\Quad;
Severity: Major
Found in FML/Controls/Quads/Quad_Bgs1InRace.php and 1 other location - About 2 days to fix
FML/Controls/Quads/Quad_Bgs1.php on lines 1..96

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 442.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

The class Quad_Bgs1InRace is not named in CamelCase.
Open

class Quad_Bgs1InRace extends Quad
{

    /*
     * Constants

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_BGEMPTY but found SUBSTYLE_BgEmpty
Open

    const SUBSTYLE_BgEmpty             = 'BgEmpty';

Class constants must be uppercase; expected SUBSTYLE_BGTITLE but found SUBSTYLE_BgTitle
Open

    const SUBSTYLE_BgTitle             = 'BgTitle';

Class constants must be uppercase; expected SUBSTYLE_BGTITLE2 but found SUBSTYLE_BgTitle2
Open

    const SUBSTYLE_BgTitle2            = 'BgTitle2';

Class constants must be uppercase; expected SUBSTYLE_BGTITLEPAGE but found SUBSTYLE_BgTitlePage
Open

    const SUBSTYLE_BgTitlePage         = 'BgTitlePage';

Class constants must be uppercase; expected SUBSTYLE_BGTITLESHADOW but found SUBSTYLE_BgTitleShadow
Open

    const SUBSTYLE_BgTitleShadow       = 'BgTitleShadow';

Class constants must be uppercase; expected SUBSTYLE_BGWINDOW3 but found SUBSTYLE_BgWindow3
Open

    const SUBSTYLE_BgWindow3           = 'BgWindow3';

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

}

Class constants must be uppercase; expected SUBSTYLE_ARROWRIGHT but found SUBSTYLE_ArrowRight
Open

    const SUBSTYLE_ArrowRight          = 'ArrowRight';

Class constants must be uppercase; expected SUBSTYLE_BGCARDPROPERTY but found SUBSTYLE_BgCardProperty
Open

    const SUBSTYLE_BgCardProperty      = 'BgCardProperty';

Class constants must be uppercase; expected SUBSTYLE_BGTITLE3 but found SUBSTYLE_BgTitle3
Open

    const SUBSTYLE_BgTitle3            = 'BgTitle3';

Class constants must be uppercase; expected SUBSTYLE_ENERGYBAR but found SUBSTYLE_EnergyBar
Open

    const SUBSTYLE_EnergyBar           = 'EnergyBar';

Class constants must be uppercase; expected SUBSTYLE_BGCARDSYSTEM but found SUBSTYLE_BgCardSystem
Open

    const SUBSTYLE_BgCardSystem        = 'BgCardSystem';

Class constants must be uppercase; expected SUBSTYLE_BGLISTLINE but found SUBSTYLE_BgListLine
Open

    const SUBSTYLE_BgListLine          = 'BgListLine';

Class constants must be uppercase; expected SUBSTYLE_BGGRADBOTTOM but found SUBSTYLE_BgGradBottom
Open

    const SUBSTYLE_BgGradBottom        = 'BgGradBottom';

Class constants must be uppercase; expected SUBSTYLE_BGSHADOW but found SUBSTYLE_BgShadow
Open

    const SUBSTYLE_BgShadow            = 'BgShadow';

Class constants must be uppercase; expected SUBSTYLE_BGTITLE3_1 but found SUBSTYLE_BgTitle3_1
Open

    const SUBSTYLE_BgTitle3_1          = 'BgTitle3_1';

Class constants must be uppercase; expected SUBSTYLE_BGTITLE3_2 but found SUBSTYLE_BgTitle3_2
Open

    const SUBSTYLE_BgTitle3_2          = 'BgTitle3_2';

Class constants must be uppercase; expected SUBSTYLE_BGWINDOW1 but found SUBSTYLE_BgWindow1
Open

    const SUBSTYLE_BgWindow1           = 'BgWindow1';

Class constants must be uppercase; expected SUBSTYLE_BGWINDOW4 but found SUBSTYLE_BgWindow4
Open

    const SUBSTYLE_BgWindow4           = 'BgWindow4';

Class constants must be uppercase; expected SUBSTYLE_BGBUTTONGRAYED but found SUBSTYLE_BgButtonGrayed
Open

    const SUBSTYLE_BgButtonGrayed      = 'BgButtonGrayed';

Class constants must be uppercase; expected SUBSTYLE_BGCARDCHALLENGE but found SUBSTYLE_BgCardChallenge
Open

    const SUBSTYLE_BgCardChallenge     = 'BgCardChallenge';

Class constants must be uppercase; expected SUBSTYLE_BGCARDINVENTORYITEM but found SUBSTYLE_BgCardInventoryItem
Open

    const SUBSTYLE_BgCardInventoryItem = 'BgCardInventoryItem';

Class constants must be uppercase; expected SUBSTYLE_BGGLOW2 but found SUBSTYLE_BgGlow2
Open

    const SUBSTYLE_BgGlow2             = 'BgGlow2';

Class constants must be uppercase; expected SUBSTYLE_BGPAGER but found SUBSTYLE_BgPager
Open

    const SUBSTYLE_BgPager             = 'BgPager';

Class constants must be uppercase; expected SUBSTYLE_BGTITLE3_5 but found SUBSTYLE_BgTitle3_5
Open

    const SUBSTYLE_BgTitle3_5          = 'BgTitle3_5';

Class constants must be uppercase; expected SUBSTYLE_ENERGYTEAM2 but found SUBSTYLE_EnergyTeam2
Open

    const SUBSTYLE_EnergyTeam2         = 'EnergyTeam2';

Class constants must be uppercase; expected SUBSTYLE_BGBUTTON but found SUBSTYLE_BgButton
Open

    const SUBSTYLE_BgButton            = 'BgButton';

Class constants must be uppercase; expected SUBSTYLE_BGCARD but found SUBSTYLE_BgCard
Open

    const SUBSTYLE_BgCard              = 'BgCard';

Class constants must be uppercase; expected SUBSTYLE_BGCARDBUDDY but found SUBSTYLE_BgCardBuddy
Open

    const SUBSTYLE_BgCardBuddy         = 'BgCardBuddy';

Class constants must be uppercase; expected SUBSTYLE_BGCARDZONE but found SUBSTYLE_BgCardZone
Open

    const SUBSTYLE_BgCardZone          = 'BgCardZone';

Class constants must be uppercase; expected SUBSTYLE_BGSLIDER but found SUBSTYLE_BgSlider
Open

    const SUBSTYLE_BgSlider            = 'BgSlider';

Class constants must be uppercase; expected SUBSTYLE_NAVBUTTONQUIT but found SUBSTYLE_NavButtonQuit
Open

    const SUBSTYLE_NavButtonQuit       = 'NavButtonQuit';

Class constants must be uppercase; expected SUBSTYLE_PROGRESSBAR but found SUBSTYLE_ProgressBar
Open

    const SUBSTYLE_ProgressBar         = 'ProgressBar';

Class constants must be uppercase; expected SUBSTYLE_ARROWLEFT but found SUBSTYLE_ArrowLeft
Open

    const SUBSTYLE_ArrowLeft           = 'ArrowLeft';

Class constants must be uppercase; expected SUBSTYLE_BGGRADLEFT but found SUBSTYLE_BgGradLeft
Open

    const SUBSTYLE_BgGradLeft          = 'BgGradLeft';

Class constants must be uppercase; expected SUBSTYLE_BGSYSTEMBAR but found SUBSTYLE_BgSystemBar
Open

    const SUBSTYLE_BgSystemBar         = 'BgSystemBar';

Class constants must be uppercase; expected SUBSTYLE_ARROWDOWN but found SUBSTYLE_ArrowDown
Open

    const SUBSTYLE_ArrowDown           = 'ArrowDown';

Class constants must be uppercase; expected SUBSTYLE_ARROWUP but found SUBSTYLE_ArrowUp
Open

    const SUBSTYLE_ArrowUp             = 'ArrowUp';

Class constants must be uppercase; expected SUBSTYLE_BGHEALTHBAR but found SUBSTYLE_BgHealthBar
Open

    const SUBSTYLE_BgHealthBar         = 'BgHealthBar';

Class constants must be uppercase; expected SUBSTYLE_BGLIST but found SUBSTYLE_BgList
Open

    const SUBSTYLE_BgList              = 'BgList';

Class constants must be uppercase; expected SUBSTYLE_BGCARDONLINE but found SUBSTYLE_BgCardOnline
Open

    const SUBSTYLE_BgCardOnline        = 'BgCardOnline';

Class constants must be uppercase; expected SUBSTYLE_BGGRADRIGHT but found SUBSTYLE_BgGradRight
Open

    const SUBSTYLE_BgGradRight         = 'BgGradRight';

Class constants must be uppercase; expected SUBSTYLE_BGTITLE3_3 but found SUBSTYLE_BgTitle3_3
Open

    const SUBSTYLE_BgTitle3_3          = 'BgTitle3_3';

Class constants must be uppercase; expected SUBSTYLE_BGCARD1 but found SUBSTYLE_BgCard1
Open

    const SUBSTYLE_BgCard1             = 'BgCard1';

Class constants must be uppercase; expected SUBSTYLE_BGCARD2 but found SUBSTYLE_BgCard2
Open

    const SUBSTYLE_BgCard2             = 'BgCard2';

Class constants must be uppercase; expected SUBSTYLE_BGCARDLIST but found SUBSTYLE_BgCardList
Open

    const SUBSTYLE_BgCardList          = 'BgCardList';

Class constants must be uppercase; expected SUBSTYLE_BGICONBORDER but found SUBSTYLE_BgIconBorder
Open

    const SUBSTYLE_BgIconBorder        = 'BgIconBorder';

Class constants must be uppercase; expected SUBSTYLE_BGTITLE3_4 but found SUBSTYLE_BgTitle3_4
Open

    const SUBSTYLE_BgTitle3_4          = 'BgTitle3_4';

Class constants must be uppercase; expected SUBSTYLE_HEALTHBAR but found SUBSTYLE_HealthBar
Open

    const SUBSTYLE_HealthBar           = 'HealthBar';

Class constants must be uppercase; expected SUBSTYLE_NAVBUTTONBLINK but found SUBSTYLE_NavButtonBlink
Open

    const SUBSTYLE_NavButtonBlink      = 'NavButtonBlink';

Class constants must be uppercase; expected SUBSTYLE_BGCARDFOLDER but found SUBSTYLE_BgCardFolder
Open

    const SUBSTYLE_BgCardFolder        = 'BgCardFolder';

Class constants must be uppercase; expected SUBSTYLE_BGWINDOW2 but found SUBSTYLE_BgWindow2
Open

    const SUBSTYLE_BgWindow2           = 'BgWindow2';

Class constants must be uppercase; expected SUBSTYLE_SHADOW but found SUBSTYLE_Shadow
Open

    const SUBSTYLE_Shadow              = 'Shadow';

Class constants must be uppercase; expected SUBSTYLE_BGCARD3 but found SUBSTYLE_BgCard3
Open

    const SUBSTYLE_BgCard3             = 'BgCard3';

Class constants must be uppercase; expected SUBSTYLE_BGGRADTOP but found SUBSTYLE_BgGradTop
Open

    const SUBSTYLE_BgGradTop           = 'BgGradTop';

Class constants must be uppercase; expected SUBSTYLE_BGMETALBAR but found SUBSTYLE_BgMetalBar
Open

    const SUBSTYLE_BgMetalBar          = 'BgMetalBar';

Class constants must be uppercase; expected SUBSTYLE_BGBUTTONOFF but found SUBSTYLE_BgButtonOff
Open

    const SUBSTYLE_BgButtonOff         = 'BgButtonOff';

Class constants must be uppercase; expected SUBSTYLE_BGBUTTONSMALL but found SUBSTYLE_BgButtonSmall
Open

    const SUBSTYLE_BgButtonSmall       = 'BgButtonSmall';

Class constants must be uppercase; expected SUBSTYLE_BGCARDPLAYER but found SUBSTYLE_BgCardPlayer
Open

    const SUBSTYLE_BgCardPlayer        = 'BgCardPlayer';

Class constants must be uppercase; expected SUBSTYLE_BGDIALOGBLUR but found SUBSTYLE_BgDialogBlur
Open

    const SUBSTYLE_BgDialogBlur        = 'BgDialogBlur';

Class constants must be uppercase; expected SUBSTYLE_BGGRADV but found SUBSTYLE_BgGradV
Open

    const SUBSTYLE_BgGradV             = 'BgGradV';

Class constants must be uppercase; expected SUBSTYLE_GLOW but found SUBSTYLE_Glow
Open

    const SUBSTYLE_Glow                = 'Glow';

Class constants must be uppercase; expected SUBSTYLE_PROGRESSBARSMALL but found SUBSTYLE_ProgressBarSmall
Open

    const SUBSTYLE_ProgressBarSmall    = 'ProgressBarSmall';

Class constants must be uppercase; expected SUBSTYLE_BGCOLORCONTOUR but found SUBSTYLE_BgColorContour
Open

    const SUBSTYLE_BgColorContour      = 'BgColorContour';

Class constants must be uppercase; expected SUBSTYLE_BGPROGRESSBAR but found SUBSTYLE_BgProgressBar
Open

    const SUBSTYLE_BgProgressBar       = 'BgProgressBar';

Class constants must be uppercase; expected SUBSTYLE_BGBUTTONBIG but found SUBSTYLE_BgButtonBig
Open

    const SUBSTYLE_BgButtonBig         = 'BgButtonBig';

Class constants must be uppercase; expected SUBSTYLE_BGBUTTONSHADOW but found SUBSTYLE_BgButtonShadow
Open

    const SUBSTYLE_BgButtonShadow      = 'BgButtonShadow';

Class constants must be uppercase; expected SUBSTYLE_BGBUTTONGLOW but found SUBSTYLE_BgButtonGlow
Open

    const SUBSTYLE_BgButtonGlow        = 'BgButtonGlow';

Class constants must be uppercase; expected SUBSTYLE_BGTITLEGLOW but found SUBSTYLE_BgTitleGlow
Open

    const SUBSTYLE_BgTitleGlow         = 'BgTitleGlow';

Class constants must be uppercase; expected SUBSTYLE_NAVBUTTON but found SUBSTYLE_NavButton
Open

    const SUBSTYLE_NavButton           = 'NavButton';

Constant SUBSTYLE_BgIconBorder should be defined in uppercase
Open

    const SUBSTYLE_BgIconBorder        = 'BgIconBorder';

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

    const SUBSTYLE_BgTitlePage         = 'BgTitlePage';

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

    const SUBSTYLE_BgCardChallenge     = 'BgCardChallenge';

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

    const SUBSTYLE_Glow                = 'Glow';

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

    const SUBSTYLE_BgCard1             = 'BgCard1';

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

    const SUBSTYLE_BgGradBottom        = 'BgGradBottom';

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

    const SUBSTYLE_BgGradV             = 'BgGradV';

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

    const SUBSTYLE_ArrowDown           = 'ArrowDown';

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

    const SUBSTYLE_BgCardProperty      = 'BgCardProperty';

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

    const SUBSTYLE_BgButtonBig         = 'BgButtonBig';

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

    const SUBSTYLE_BgListLine          = 'BgListLine';

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

    const SUBSTYLE_BgTitle             = 'BgTitle';

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

    const SUBSTYLE_BgCard              = 'BgCard';

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

    const SUBSTYLE_NavButton           = 'NavButton';

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

    const SUBSTYLE_BgCardList          = 'BgCardList';

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

    const SUBSTYLE_BgList              = 'BgList';

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

    const SUBSTYLE_BgButtonOff         = 'BgButtonOff';

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

    const SUBSTYLE_BgCard3             = 'BgCard3';

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

    const SUBSTYLE_BgCardSystem        = 'BgCardSystem';

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

    const SUBSTYLE_BgMetalBar          = 'BgMetalBar';

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

    const SUBSTYLE_BgSlider            = 'BgSlider';

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

    const SUBSTYLE_BgProgressBar       = 'BgProgressBar';

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

    const SUBSTYLE_BgTitle3            = 'BgTitle3';

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

    const SUBSTYLE_BgTitle3_1          = 'BgTitle3_1';

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

    const SUBSTYLE_BgTitle3_3          = 'BgTitle3_3';

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

    const SUBSTYLE_EnergyBar           = 'EnergyBar';

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

    const SUBSTYLE_BgTitle3_5          = 'BgTitle3_5';

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

    const SUBSTYLE_NavButtonBlink      = 'NavButtonBlink';

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

    const SUBSTYLE_BgTitle3_4          = 'BgTitle3_4';

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

    const SUBSTYLE_ProgressBar         = 'ProgressBar';

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

    const SUBSTYLE_BgWindow4           = 'BgWindow4';

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

    const SUBSTYLE_ProgressBarSmall    = 'ProgressBarSmall';

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

    const SUBSTYLE_Shadow              = 'Shadow';

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

    const SUBSTYLE_BgShadow            = 'BgShadow';

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

    const SUBSTYLE_ArrowRight          = 'ArrowRight';

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

    const SUBSTYLE_BgButtonShadow      = 'BgButtonShadow';

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

    const SUBSTYLE_BgCardFolder        = 'BgCardFolder';

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

    const SUBSTYLE_BgColorContour      = 'BgColorContour';

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

    const SUBSTYLE_BgGlow2             = 'BgGlow2';

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

    const SUBSTYLE_BgGradLeft          = 'BgGradLeft';

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

    const SUBSTYLE_BgWindow1           = 'BgWindow1';

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

    const SUBSTYLE_ArrowUp             = 'ArrowUp';

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

    const SUBSTYLE_BgButtonSmall       = 'BgButtonSmall';

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

    const SUBSTYLE_BgCardInventoryItem = 'BgCardInventoryItem';

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

    const SUBSTYLE_BgCardOnline        = 'BgCardOnline';

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

    const SUBSTYLE_BgPager             = 'BgPager';

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

    const SUBSTYLE_EnergyTeam2         = 'EnergyTeam2';

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

    const SUBSTYLE_BgButtonGlow        = 'BgButtonGlow';

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

    const SUBSTYLE_BgButtonGrayed      = 'BgButtonGrayed';

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

    const SUBSTYLE_BgCard2             = 'BgCard2';

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

    const SUBSTYLE_BgCardPlayer        = 'BgCardPlayer';

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

    const SUBSTYLE_ArrowLeft           = 'ArrowLeft';

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

    const SUBSTYLE_BgEmpty             = 'BgEmpty';

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

    const SUBSTYLE_BgGradRight         = 'BgGradRight';

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

    const SUBSTYLE_BgTitleGlow         = 'BgTitleGlow';

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

    const SUBSTYLE_BgGradTop           = 'BgGradTop';

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

    const SUBSTYLE_BgHealthBar         = 'BgHealthBar';

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

    const SUBSTYLE_BgButton            = 'BgButton';

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

    const SUBSTYLE_BgTitle2            = 'BgTitle2';

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

    const SUBSTYLE_BgCardBuddy         = 'BgCardBuddy';

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

    const SUBSTYLE_BgCardZone          = 'BgCardZone';

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

    const SUBSTYLE_BgDialogBlur        = 'BgDialogBlur';

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

    const SUBSTYLE_BgTitleShadow       = 'BgTitleShadow';

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

    const SUBSTYLE_BgTitle3_2          = 'BgTitle3_2';

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

    const SUBSTYLE_BgSystemBar         = 'BgSystemBar';

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

    const SUBSTYLE_BgWindow2           = 'BgWindow2';

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

    const SUBSTYLE_BgWindow3           = 'BgWindow3';

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

    const SUBSTYLE_HealthBar           = 'HealthBar';

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

    const SUBSTYLE_NavButtonQuit       = 'NavButtonQuit';

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

class Quad_Bgs1InRace extends Quad

There are no issues that match your filters.

Category
Status