chrismou/phergie-irc-plugin-react-audioscrobbler

View on GitHub
src/Provider/Librefm.php

Summary

Maintainability
A
0 mins
Test Coverage

Avoid unused parameters such as '$config'.
Open

    public function __construct($config)
Severity: Minor
Found in src/Provider/Librefm.php by phpmd

UnusedFormalParameter

Since: 0.2

Avoid passing parameters to methods or constructors and then not using those parameters.

Example

class Foo
{
    private function bar($howdy)
    {
        // $howdy is not used
    }
}

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

Avoid unused parameters such as '$config'.
Open

    public static function validateConfig($config)
Severity: Minor
Found in src/Provider/Librefm.php by phpmd

UnusedFormalParameter

Since: 0.2

Avoid passing parameters to methods or constructors and then not using those parameters.

Example

class Foo
{
    private function bar($howdy)
    {
        // $howdy is not used
    }
}

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

Function closing brace must go on the next line following the body; found 1 blank lines before brace
Open

    }
Severity: Minor
Found in src/Provider/Librefm.php by phpcodesniffer

There are no issues that match your filters.

Category
Status