bwinkers/nugget

View on GitHub
src/Nugget.php

Summary

Maintainability
A
0 mins
Test Coverage

Missing class import via use statement (line '24', column '29').
Open

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

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

        $this->openAPI = new \Activerules\Nugget\OpenAPI();
Severity: Minor
Found in src/Nugget.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 '22', column '30').
Open

        $this->filesys = new \Activerules\Nugget\Filesys();
Severity: Minor
Found in src/Nugget.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/Nugget.php by phan

Reference to undeclared property \Activerules\Nugget\Nugget->openAPI
Open

        $this->openAPI = new \Activerules\Nugget\OpenAPI();
Severity: Minor
Found in src/Nugget.php by phan

Reference to undeclared property \Activerules\Nugget\Nugget->schemaBuilder
Open

        $this->schemaBuilder = new \Activerules\Nugget\SchemaBuilder();
Severity: Minor
Found in src/Nugget.php by phan

There are no issues that match your filters.

Category
Status