NeroReflex/Gishiki

View on GitHub

Showing 176 of 176 total issues

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

            throw new \InvalidArgumentException('The message to be hashed must be given as a valid non-empty string');
Severity: Minor
Found in src/Security/Hashing/Algorithm.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 '157', column '23').
Open

            throw new \InvalidArgumentException('The name of the table must be given as a non-empty 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 '143', column '23').
Open

            throw new \InvalidArgumentException('The primary key flag of a column must be given as a boolean value');
Severity: Minor
Found in src/Database/Schema/Column.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 '110', column '23').
Open

            throw new \InvalidArgumentException('The logger name must be given as a valid non-empty string');
Severity: Minor
Found in src/Logging/LoggerManager.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 '181', column '23').
Open

            throw new \InvalidArgumentException("The URL must be given as a valid 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 '185', column '23').
Open

            throw new \InvalidArgumentException("The URI must be given as a valid 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 '45', column '23').
Open

            throw new \InvalidArgumentException('The serialized public 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 '255', column '23').
Open

            throw new \InvalidArgumentException('The message to be hashed must be given as a valid non-empty string');
Severity: Minor
Found in src/Security/Hashing/Algorithm.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 '60', column '23').
Open

            throw new \InvalidArgumentException("the connection query must be given as 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 '227', column '20').
Open

        return new \ArrayIterator($this->data);

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

            throw new \InvalidArgumentException('The connection name and the connection details must be given as two string');
Severity: Minor
Found in src/Database/DatabaseManager.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

Avoid too many return statements within this method.
Open

            return new self($nativeSerialization);
Severity: Major
Found in src/Algorithms/Collections/SerializableCollection.php - About 30 mins to fix

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

                throw new \InvalidArgumentException('The initialization filter con only be null or a valid array');

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

                throw new \InvalidArgumentException('The logger name must be given as a valid non-empty string');
    Severity: Minor
    Found in src/Logging/LoggerManager.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 '326', column '29').
    Open

            $exportMethod = new \ReflectionMethod($mod, 'export');

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

                throw new \InvalidArgumentException('The auto-increment flag of a column must be given as a boolean value');
    Severity: Minor
    Found in src/Database/Schema/Column.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 '96', column '23').
    Open

                throw new \InvalidArgumentException('The name of a table must be expressed as a non-empty string');
    Severity: Minor
    Found in src/Database/Schema/Table.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 '170', column '31').
    Open

            $reflectedClass = new \ReflectionClass($className);

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

                throw new \InvalidArgumentException('The name of the connection to be retrieved must be given as a string');
    Severity: Minor
    Found in src/Database/DatabaseManager.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 '226', column '23').
    Open

                throw new \InvalidArgumentException('The type of the column is invalid.');
    Severity: Minor
    Found in src/Database/Schema/Column.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

    Severity
    Category
    Status
    Source
    Language