bwinkers/nugget

View on GitHub
src/SchemaBuilder.php

Summary

Maintainability
A
0 mins
Test Coverage

Missing class import via use statement (line '35', column '22').
Open

        $files = new \DirectoryIterator($schemaDir);
Severity: Minor
Found in src/SchemaBuilder.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 '20', column '30').
Open

        $this->filesys = new \Activerules\Nugget\Filesys();
Severity: Minor
Found in src/SchemaBuilder.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 '21', column '29').
Open

        $this->schema = new \Activerules\Nugget\Schema();
Severity: Minor
Found in src/SchemaBuilder.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

Possibly zero references to use statement for classlike/namespace NuggetException (\Activerules\Nugget\Exception\NuggetException)
Open

use Activerules\Nugget\Exception\NuggetException;
Severity: Minor
Found in src/SchemaBuilder.php by phan

Whitespace found at end of line
Open

     * 
Severity: Minor
Found in src/SchemaBuilder.php by phpcodesniffer

Whitespace found at end of line
Open

     * Replace a string in the schema 
Severity: Minor
Found in src/SchemaBuilder.php by phpcodesniffer

Whitespace found at end of line
Open

     * 
Severity: Minor
Found in src/SchemaBuilder.php by phpcodesniffer

Whitespace found at end of line
Open

     * 
Severity: Minor
Found in src/SchemaBuilder.php by phpcodesniffer

Whitespace found at end of line
Open

     * 
Severity: Minor
Found in src/SchemaBuilder.php by phpcodesniffer

There are no issues that match your filters.

Category
Status