mcred/Developer-Ipsum

View on GitHub
src/IpsumFactory.php

Summary

Maintainability
A
0 mins
Test Coverage
A
100%

Missing class import via use statement (line '41', column '28').
Open

                return new Paragraphs($assembler, $count, $length);
Severity: Minor
Found in src/IpsumFactory.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 '38', column '26').
Open

        $assembler = new Assembler($this->Vocabulary);
Severity: Minor
Found in src/IpsumFactory.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 '44', column '28').
Open

                return new Lists($assembler, $count, $length);
Severity: Minor
Found in src/IpsumFactory.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 '47', column '27').
Open

                throw new InvalidArgumentException('Not a valid ipsum type.');
Severity: Minor
Found in src/IpsumFactory.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 '23', column '33').
Open

        $this->Vocabulary = new Vocabulary($vocab);
Severity: Minor
Found in src/IpsumFactory.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