steeffeen/FancyManiaLinks

View on GitHub
FML/Controls/Quads/Quad_Icons128x128_Blink.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_Icons128x128_Blink.php and 1 other location - About 2 days to fix
FML/Controls/Quads/Quad_Icons128x128_1.php on lines 1..91

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 412.

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_Icons128x128_Blink is not named in CamelCase.
Open

class Quad_Icons128x128_Blink 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_CREDITS but found SUBSTYLE_Credits
Open

    const SUBSTYLE_Credits          = 'Credits';

Class constants must be uppercase; expected SUBSTYLE_FOREVER but found SUBSTYLE_Forever
Open

    const SUBSTYLE_Forever          = 'Forever';

Class constants must be uppercase; expected SUBSTYLE_GHOSTEDITOR but found SUBSTYLE_GhostEditor
Open

    const SUBSTYLE_GhostEditor      = 'GhostEditor';

Class constants must be uppercase; expected SUBSTYLE_PAINT but found SUBSTYLE_Paint
Open

    const SUBSTYLE_Paint            = 'Paint';

Class constants must be uppercase; expected SUBSTYLE_QUIT but found SUBSTYLE_Quit
Open

    const SUBSTYLE_Quit             = 'Quit';

Class constants must be uppercase; expected SUBSTYLE_SERVERSFAVORITES but found SUBSTYLE_ServersFavorites
Open

    const SUBSTYLE_ServersFavorites = 'ServersFavorites';

Class constants must be uppercase; expected SUBSTYLE_STATISTICS but found SUBSTYLE_Statistics
Open

    const SUBSTYLE_Statistics       = 'Statistics';

Class constants must be uppercase; expected SUBSTYLE_BACKFOCUSABLE but found SUBSTYLE_BackFocusable
Open

    const SUBSTYLE_BackFocusable    = 'BackFocusable';

Class constants must be uppercase; expected SUBSTYLE_HOTSEAT but found SUBSTYLE_Hotseat
Open

    const SUBSTYLE_Hotseat          = 'Hotseat';

Class constants must be uppercase; expected SUBSTYLE_LAUNCH but found SUBSTYLE_Launch
Open

    const SUBSTYLE_Launch           = 'Launch';

Class constants must be uppercase; expected SUBSTYLE_MEDIATRACKER but found SUBSTYLE_MediaTracker
Open

    const SUBSTYLE_MediaTracker     = 'MediaTracker';

Class constants must be uppercase; expected SUBSTYLE_SAVE but found SUBSTYLE_Save
Open

    const SUBSTYLE_Save             = 'Save';

Class constants must be uppercase; expected SUBSTYLE_EVENT but found SUBSTYLE_Event
Open

    const SUBSTYLE_Event            = 'Event';

Class constants must be uppercase; expected SUBSTYLE_LAN but found SUBSTYLE_Lan
Open

    const SUBSTYLE_Lan              = 'Lan';

Class constants must be uppercase; expected SUBSTYLE_MANIAZONES but found SUBSTYLE_ManiaZones
Open

    const SUBSTYLE_ManiaZones       = 'ManiaZones';

Class constants must be uppercase; expected SUBSTYLE_MULTIPLAYER but found SUBSTYLE_Multiplayer
Open

    const SUBSTYLE_Multiplayer      = 'Multiplayer';

Class constants must be uppercase; expected SUBSTYLE_SERVERSSUGGESTED but found SUBSTYLE_ServersSuggested
Open

    const SUBSTYLE_ServersSuggested = 'ServersSuggested';

Class constants must be uppercase; expected SUBSTYLE_CHALLENGEAUTHOR but found SUBSTYLE_ChallengeAuthor
Open

    const SUBSTYLE_ChallengeAuthor  = 'ChallengeAuthor';

Class constants must be uppercase; expected SUBSTYLE_CREATE but found SUBSTYLE_Create
Open

    const SUBSTYLE_Create           = 'Create';

Class constants must be uppercase; expected SUBSTYLE_SHAREBLINK but found SUBSTYLE_ShareBlink
Open

    const SUBSTYLE_ShareBlink       = 'ShareBlink';

Class constants must be uppercase; expected SUBSTYLE_VEHICLES but found SUBSTYLE_Vehicles
Open

    const SUBSTYLE_Vehicles         = 'Vehicles';

Class constants must be uppercase; expected SUBSTYLE_INPUTS but found SUBSTYLE_Inputs
Open

    const SUBSTYLE_Inputs           = 'Inputs';

Class constants must be uppercase; expected SUBSTYLE_LADDERPOINTS but found SUBSTYLE_LadderPoints
Open

    const SUBSTYLE_LadderPoints     = 'LadderPoints';

Class constants must be uppercase; expected SUBSTYLE_PLAYERPAGE but found SUBSTYLE_PlayerPage
Open

    const SUBSTYLE_PlayerPage       = 'PlayerPage';

Class constants must be uppercase; expected SUBSTYLE_PROFILE but found SUBSTYLE_Profile
Open

    const SUBSTYLE_Profile          = 'Profile';

Class constants must be uppercase; expected SUBSTYLE_RANKINGS but found SUBSTYLE_Rankings
Open

    const SUBSTYLE_Rankings         = 'Rankings';

Class constants must be uppercase; expected SUBSTYLE_MEDALCOUNT but found SUBSTYLE_MedalCount
Open

    const SUBSTYLE_MedalCount       = 'MedalCount';

Class constants must be uppercase; expected SUBSTYLE_PADLOCK but found SUBSTYLE_Padlock
Open

    const SUBSTYLE_Padlock          = 'Padlock';

Class constants must be uppercase; expected SUBSTYLE_HARD but found SUBSTYLE_Hard
Open

    const SUBSTYLE_Hard             = 'Hard';

Class constants must be uppercase; expected SUBSTYLE_PUZZLE but found SUBSTYLE_Puzzle
Open

    const SUBSTYLE_Puzzle           = 'Puzzle';

Class constants must be uppercase; expected SUBSTYLE_STUNTS but found SUBSTYLE_Stunts
Open

    const SUBSTYLE_Stunts           = 'Stunts';

Class constants must be uppercase; expected SUBSTYLE_COPPERS but found SUBSTYLE_Coppers
Open

    const SUBSTYLE_Coppers          = 'Coppers';

Class constants must be uppercase; expected SUBSTYLE_DOWNLOAD but found SUBSTYLE_Download
Open

    const SUBSTYLE_Download         = 'Download';

Class constants must be uppercase; expected SUBSTYLE_EDITOR but found SUBSTYLE_Editor
Open

    const SUBSTYLE_Editor           = 'Editor';

Class constants must be uppercase; expected SUBSTYLE_OPTIONS but found SUBSTYLE_Options
Open

    const SUBSTYLE_Options          = 'Options';

Class constants must be uppercase; expected SUBSTYLE_RACE but found SUBSTYLE_Race
Open

    const SUBSTYLE_Race             = 'Race';

Class constants must be uppercase; expected SUBSTYLE_SHARE but found SUBSTYLE_Share
Open

    const SUBSTYLE_Share            = 'Share';

Class constants must be uppercase; expected SUBSTYLE_UPLOAD but found SUBSTYLE_Upload
Open

    const SUBSTYLE_Upload           = 'Upload';

Class constants must be uppercase; expected SUBSTYLE_BACK but found SUBSTYLE_Back
Open

    const SUBSTYLE_Back             = 'Back';

Class constants must be uppercase; expected SUBSTYLE_EASY but found SUBSTYLE_Easy
Open

    const SUBSTYLE_Easy             = 'Easy';

Class constants must be uppercase; expected SUBSTYLE_LOAD but found SUBSTYLE_Load
Open

    const SUBSTYLE_Load             = 'Load';

Class constants must be uppercase; expected SUBSTYLE_LOADTRACK but found SUBSTYLE_LoadTrack
Open

    const SUBSTYLE_LoadTrack        = 'LoadTrack';

Class constants must be uppercase; expected SUBSTYLE_PLATFORM but found SUBSTYLE_Platform
Open

    const SUBSTYLE_Platform         = 'Platform';

Class constants must be uppercase; expected SUBSTYLE_PROFILEVEHICLE but found SUBSTYLE_ProfileVehicle
Open

    const SUBSTYLE_ProfileVehicle   = 'ProfileVehicle';

Class constants must be uppercase; expected SUBSTYLE_SERVERSALL but found SUBSTYLE_ServersAll
Open

    const SUBSTYLE_ServersAll       = 'ServersAll';

Class constants must be uppercase; expected SUBSTYLE_INVITE but found SUBSTYLE_Invite
Open

    const SUBSTYLE_Invite           = 'Invite';

Class constants must be uppercase; expected SUBSTYLE_MEDIUM but found SUBSTYLE_Medium
Open

    const SUBSTYLE_Medium           = 'Medium';

Class constants must be uppercase; expected SUBSTYLE_SOLO but found SUBSTYLE_Solo
Open

    const SUBSTYLE_Solo             = 'Solo';

Class constants must be uppercase; expected SUBSTYLE_BROWSE but found SUBSTYLE_Browse
Open

    const SUBSTYLE_Browse           = 'Browse';

Class constants must be uppercase; expected SUBSTYLE_CUSTOM but found SUBSTYLE_Custom
Open

    const SUBSTYLE_Custom           = 'Custom';

Class constants must be uppercase; expected SUBSTYLE_MANIALINK but found SUBSTYLE_Manialink
Open

    const SUBSTYLE_Manialink        = 'Manialink';

Class constants must be uppercase; expected SUBSTYLE_NATIONS but found SUBSTYLE_Nations
Open

    const SUBSTYLE_Nations          = 'Nations';

Class constants must be uppercase; expected SUBSTYLE_UNITED but found SUBSTYLE_United
Open

    const SUBSTYLE_United           = 'United';

Class constants must be uppercase; expected SUBSTYLE_EXTREME but found SUBSTYLE_Extreme
Open

    const SUBSTYLE_Extreme          = 'Extreme';

Class constants must be uppercase; expected SUBSTYLE_NEWTRACK but found SUBSTYLE_NewTrack
Open

    const SUBSTYLE_NewTrack         = 'NewTrack';

Class constants must be uppercase; expected SUBSTYLE_PROFILEADVANCED but found SUBSTYLE_ProfileAdvanced
Open

    const SUBSTYLE_ProfileAdvanced  = 'ProfileAdvanced';

Class constants must be uppercase; expected SUBSTYLE_SKILLPOINTS but found SUBSTYLE_SkillPoints
Open

    const SUBSTYLE_SkillPoints      = 'SkillPoints';

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

}

Class constants must be uppercase; expected SUBSTYLE_BEGINNER but found SUBSTYLE_Beginner
Open

    const SUBSTYLE_Beginner         = 'Beginner';

Class constants must be uppercase; expected SUBSTYLE_BUDDIES but found SUBSTYLE_Buddies
Open

    const SUBSTYLE_Buddies          = 'Buddies';

Class constants must be uppercase; expected SUBSTYLE_CHALLENGE but found SUBSTYLE_Challenge
Open

    const SUBSTYLE_Challenge        = 'Challenge';

Class constants must be uppercase; expected SUBSTYLE_DEFAULT but found SUBSTYLE_Default
Open

    const SUBSTYLE_Default          = 'Default';

Class constants must be uppercase; expected SUBSTYLE_REPLAY but found SUBSTYLE_Replay
Open

    const SUBSTYLE_Replay           = 'Replay';

Class constants must be uppercase; expected SUBSTYLE_ADVANCED but found SUBSTYLE_Advanced
Open

    const SUBSTYLE_Advanced         = 'Advanced';

Class constants must be uppercase; expected SUBSTYLE_CUSTOMSTARS but found SUBSTYLE_CustomStars
Open

    const SUBSTYLE_CustomStars      = 'CustomStars';

Constant SUBSTYLE_ProfileAdvanced should be defined in uppercase
Open

    const SUBSTYLE_ProfileAdvanced  = 'ProfileAdvanced';

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

    const SUBSTYLE_Browse           = 'Browse';

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

    const SUBSTYLE_Buddies          = 'Buddies';

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

    const SUBSTYLE_Credits          = 'Credits';

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

    const SUBSTYLE_Launch           = 'Launch';

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

    const SUBSTYLE_Medium           = 'Medium';

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

    const SUBSTYLE_Platform         = 'Platform';

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

    const SUBSTYLE_Puzzle           = 'Puzzle';

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

    const SUBSTYLE_ShareBlink       = 'ShareBlink';

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

    const SUBSTYLE_ChallengeAuthor  = 'ChallengeAuthor';

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

    const SUBSTYLE_Multiplayer      = 'Multiplayer';

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

    const SUBSTYLE_ProfileVehicle   = 'ProfileVehicle';

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

    const SUBSTYLE_Statistics       = 'Statistics';

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

    const SUBSTYLE_Advanced         = 'Advanced';

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

    const SUBSTYLE_Download         = 'Download';

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

    const SUBSTYLE_Hard             = 'Hard';

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

    const SUBSTYLE_Profile          = 'Profile';

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

    const SUBSTYLE_GhostEditor      = 'GhostEditor';

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

    const SUBSTYLE_Paint            = 'Paint';

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

    const SUBSTYLE_ServersSuggested = 'ServersSuggested';

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

    const SUBSTYLE_Custom           = 'Custom';

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

    const SUBSTYLE_NewTrack         = 'NewTrack';

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

    const SUBSTYLE_Rankings         = 'Rankings';

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

    const SUBSTYLE_Hotseat          = 'Hotseat';

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

    const SUBSTYLE_Race             = 'Race';

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

    const SUBSTYLE_Solo             = 'Solo';

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

    const SUBSTYLE_United           = 'United';

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

    const SUBSTYLE_Upload           = 'Upload';

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

    const SUBSTYLE_Lan              = 'Lan';

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

    const SUBSTYLE_LoadTrack        = 'LoadTrack';

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

    const SUBSTYLE_Options          = 'Options';

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

    const SUBSTYLE_Padlock          = 'Padlock';

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

    const SUBSTYLE_Vehicles         = 'Vehicles';

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

    const SUBSTYLE_BackFocusable    = 'BackFocusable';

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

    const SUBSTYLE_Editor           = 'Editor';

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

    const SUBSTYLE_Event            = 'Event';

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

    const SUBSTYLE_ManiaZones       = 'ManiaZones';

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

    const SUBSTYLE_Replay           = 'Replay';

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

    const SUBSTYLE_Share            = 'Share';

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

    const SUBSTYLE_Load             = 'Load';

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

    const SUBSTYLE_Challenge        = 'Challenge';

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

    const SUBSTYLE_Manialink        = 'Manialink';

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

    const SUBSTYLE_Create           = 'Create';

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

    const SUBSTYLE_LadderPoints     = 'LadderPoints';

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

    const SUBSTYLE_Nations          = 'Nations';

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

    const SUBSTYLE_CustomStars      = 'CustomStars';

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

    const SUBSTYLE_Default          = 'Default';

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

    const SUBSTYLE_Easy             = 'Easy';

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

    const SUBSTYLE_Invite           = 'Invite';

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

    const SUBSTYLE_PlayerPage       = 'PlayerPage';

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

    const SUBSTYLE_Save             = 'Save';

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

    const SUBSTYLE_SkillPoints      = 'SkillPoints';

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

    const SUBSTYLE_Quit             = 'Quit';

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

    const SUBSTYLE_ServersAll       = 'ServersAll';

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

    const SUBSTYLE_Back             = 'Back';

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

    const SUBSTYLE_Coppers          = 'Coppers';

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

    const SUBSTYLE_Forever          = 'Forever';

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

    const SUBSTYLE_Stunts           = 'Stunts';

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

    const SUBSTYLE_Beginner         = 'Beginner';

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

    const SUBSTYLE_Extreme          = 'Extreme';

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

    const SUBSTYLE_Inputs           = 'Inputs';

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

    const SUBSTYLE_MedalCount       = 'MedalCount';

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

    const SUBSTYLE_MediaTracker     = 'MediaTracker';

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

    const SUBSTYLE_ServersFavorites = 'ServersFavorites';

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

class Quad_Icons128x128_Blink extends Quad

There are no issues that match your filters.

Category
Status