kj187/aws-utility

View on GitHub
src/AwsUtility/Command/ApiGateway/AbstractCommand.php

Summary

Maintainability
A
0 mins
Test Coverage

Missing class import via use statement (line '36', column '20').
Open

        $sdk = new \Aws\Sdk();

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 '100', column '27').
Open

                throw new \Exception('RestAPI "' . $restApiName . '" not available');

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 '48', column '23').
Open

            throw new \Exception('No API Gateway Rest APIs available');

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 '127', column '23').
Open

            throw new \Exception('No API Gateway resources available for RestAPI: ' . $restApiId);

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 '44', column '40').
Open

        $this->apiGatewayService = new \AwsUtility\Services\ApiGateway($client);

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 '133', column '27').
Open

                throw new \Exception('Resource path part "' . $resourcePathPart . '" not available');

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