condorrocks/condor

View on GitHub
app/Listeners/CheckSnapshot.php

Summary

Maintainability
A
0 mins
Test Coverage

Missing class import via use statement (line '59', column '28').
Open

                return new \App\Condor\Aspects\SSLCertificate\SSLCertificateChecker($snapshot);
Severity: Minor
Found in app/Listeners/CheckSnapshot.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 '61', column '28').
Open

                return new \App\Condor\Aspects\Uptime\UptimeChecker($snapshot);
Severity: Minor
Found in app/Listeners/CheckSnapshot.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 '57', column '28').
Open

                return new \App\Condor\Aspects\Whois\WhoisChecker($snapshot);
Severity: Minor
Found in app/Listeners/CheckSnapshot.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 '63', column '27').
Open

                throw new \Exception("Unidentified aspect name:{$aspectName}", 1);
Severity: Minor
Found in app/Listeners/CheckSnapshot.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

There are no issues that match your filters.

Category
Status