davaxi/AllMySMS

View on GitHub
src/Client.php

Summary

Maintainability
A
0 mins
Test Coverage

Missing class import via use statement (line '106', column '23').
Open

            throw new \LogicException('No apiKey defined in client');
Severity: Minor
Found in src/Client.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 '95', column '23').
Open

            throw new \Exception('Service unreachable or too long to answer. Exception: ' . $e->getMessage());
Severity: Minor
Found in src/Client.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 '103', column '23').
Open

            throw new \LogicException('No login defined in client');
Severity: Minor
Found in src/Client.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