mscharley/colourist

View on GitHub

Showing 44 of 44 total issues

Missing class import via use statement (line '111', column '12').
Open

      (new \Colourist\HSL($h, $s, $b))->toHsb();
Severity: Minor
Found in tests/QuickcheckTest.php by phpmd

MissingImport

Since: 2.7.0

Importing all external classes in a file through use statements makes them clearly visible.

Example

function make() {
    return new \stdClass();
}

Source http://phpmd.org/rules/cleancode.html#MissingImport

Missing class import via use statement (line '119', column '21').
Open

      $failed = new \Colourist\HSL($check['fail'][0], $check['fail'][1], $check['fail'][2]);
Severity: Minor
Found in tests/QuickcheckTest.php by phpmd

MissingImport

Since: 2.7.0

Importing all external classes in a file through use statements makes them clearly visible.

Example

function make() {
    return new \stdClass();
}

Source http://phpmd.org/rules/cleancode.html#MissingImport

Missing class import via use statement (line '54', column '12').
Open

      (new \Colourist\HSB($h, $s, $b))->toRgb();
Severity: Minor
Found in tests/QuickcheckTest.php by phpmd

MissingImport

Since: 2.7.0

Importing all external classes in a file through use statements makes them clearly visible.

Example

function make() {
    return new \stdClass();
}

Source http://phpmd.org/rules/cleancode.html#MissingImport

Missing class import via use statement (line '92', column '12').
Open

      (new \Colourist\HSB($h, $s, $b))->toHsl();
Severity: Minor
Found in tests/QuickcheckTest.php by phpmd

MissingImport

Since: 2.7.0

Importing all external classes in a file through use statements makes them clearly visible.

Example

function make() {
    return new \stdClass();
}

Source http://phpmd.org/rules/cleancode.html#MissingImport

Severity
Category
Status
Source
Language