NeroReflex/Gishiki

View on GitHub
src/Security/Encryption/Asymmetric/PrivateKey.php

Summary

Maintainability
A
0 mins
Test Coverage

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

            throw new \InvalidArgumentException('The private key password cannot be something else than a string');

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

            throw new \InvalidArgumentException('The private key password cannot be something else than a string');

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

            throw new \InvalidArgumentException('The serialized private key must be a string');

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

            throw new \InvalidArgumentException('The key length must be a power of two');

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

            throw new \InvalidArgumentException('The key length must be given as an integer number which is a power of two');

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