NeroReflex/Gishiki

View on GitHub
src/Database/Schema/Column.php

Summary

Maintainability
A
0 mins
Test Coverage

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

            throw new \InvalidArgumentException('The name of a column must be expressed as a non-empty string');
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 '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 '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

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

            throw new \InvalidArgumentException('The not null 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 '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

There are no issues that match your filters.

Category
Status