kj187/aws-utility

View on GitHub
src/AwsUtility/Security/Credentials.php

Summary

Maintainability
A
0 mins
Test Coverage

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

            throw new \Exception('No AWS Access Key ID available. Please add this as --awsAccessKeyId or as ENV var AWS_ACCESS_KEY_ID');

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

            throw new \Exception('No AWS Secret Access Key available. Please add this as --awsSecretAccessKey or as ENV var AWS_SECRET_ACCESS_KEY');

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