NeroReflex/Gishiki

View on GitHub

Showing 176 of 176 total issues

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

            throw new \InvalidArgumentException('The given logger name is not valid');
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 '89', column '23').
Open

            throw new \InvalidArgumentException("The given environment key must be a non-empty valid string");
Severity: Minor
Found in src/Core/Environment.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 '91', column '23').
Open

            throw new \InvalidArgumentException('The secure key must be given as a non-empty string that is the hex representation of the real 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

Missing class import via use statement (line '227', 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 '80', column '37').
Open

            $this->connection = new \PDO(...$connectionInfo);

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 '123', 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

Avoid too many return statements within this method.
Open

        return $str[$len - 1] != '.';
Severity: Major
Found in src/Algorithms/Strings/SimpleLexer.php - About 30 mins to fix

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

                throw new \InvalidArgumentException('Invalid name for an ActiveRecord instance.');

    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 '153', column '32').
    Open

            $reflectedAction = new \ReflectionMethod($controllerName, $controllerAction);
    Severity: Minor
    Found in src/Core/Router/Route.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 '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 '201', 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 '53', column '23').
    Open

                throw new \InvalidArgumentException('the binary unsafe content must be given as a string');
    Severity: Minor
    Found in src/Algorithms/Base64.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 '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

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

            $this->twig = new \Twig_Environment($this->loader, $twigEnvParam);

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

                throw new \RuntimeException('Invalid response type ('.gettype($this->response).'): cannot be emitted');
    Severity: Minor
    Found in src/Core/Application.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 '35', column '23').
    Open

                throw new \InvalidArgumentException('Invalid name for an ActiveRecord instance');

    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