detain/myadmin-plesk-webhosting

View on GitHub

Showing 102 of 102 total issues

Avoid unused local variables such as '$extra'.
Open

            $extra = run_event('parse_service_extra', $serviceClass->getExtra(), self::$module);
Severity: Minor
Found in src/Plugin.php by phpmd

UnusedLocalVariable

Since: 0.2

Detects when a local variable is declared and/or assigned, but not used.

Example

class Foo {
    public function doSomething()
    {
        $i = 5; // Unused
    }
}

Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

Avoid unused local variables such as '$usernameUpdated'.
Open

                        $usernameUpdated = true;
Severity: Minor
Found in src/Plugin.php by phpmd

UnusedLocalVariable

Since: 0.2

Detects when a local variable is declared and/or assigned, but not used.

Example

class Foo {
    public function doSomething()
    {
        $i = 5; // Unused
    }
}

Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

Severity
Category
Status
Source
Language