marcelog/PAMI

View on GitHub
src/PAMI/AsyncAgi/AsyncClientImpl.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%

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

            throw new \PAGI\Exception\ChannelDownException($response->getMessage());
Severity: Minor
Found in src/PAMI/AsyncAgi/AsyncClientImpl.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 '109', column '23').
Open

        $action = new \PAMI\Message\Action\AGIAction($this->channel, $text, $this->lastCommandId);
Severity: Minor
Found in src/PAMI/AsyncAgi/AsyncClientImpl.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