gielfeldt/iterators

View on GitHub

Showing 65 of 69 total issues

Missing class import via use statement (line '66', column '30').
Open

        $innerIterator = new \NoRewindIterator($this->innerIterator);
Severity: Minor
Found in src/ChunkIterator.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 '71', column '30').
Open

        $outerIterator = new \ArrayIterator([$limitedInnerIterator]);
Severity: Minor
Found in src/ChunkIterator.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 '42', column '25').
Open

        $iterator = new \RecursiveDirectoryIterator($realPath, $flags);
Severity: Minor
Found in src/GlobIterator.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 '61', column '26').
Open

        $fIterator = new \CallbackFilterIterator(
Severity: Minor
Found in src/GlobIterator.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 '12', column '38').
Open

        $iterator = $iterator ?? new \EmptyIterator();
Severity: Minor
Found in src/ReplaceableIterator.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 '42', column '81').
Open

        $this->innerIterator = $iterator instanceof \Iterator ? $iterator : new \IteratorIterator($iterator);
Severity: Minor
Found in src/ChunkIterator.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 '108', column '23').
Open

            throw new \LogicException("Can't seek file " . $this->getFilename() . " to negative line $position");
Severity: Minor
Found in src/CsvFileObject.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 '13', column '23').
Open

            throw new \InvalidArgumentException('An instance of RecursiveIterator or IteratorAggregate creating it is required');
Severity: Minor
Found in src/RecursiveSortIterator.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 '175', column '63').
Open

        $this->uncachedIterator = new TraversableIterator(new \ArrayIterator());
Severity: Minor
Found in src/CachingIterator.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 '87').
Open

        $this->realIterators->append($iterator instanceof \Iterator ? $iterator : new \IteratorIterator($iterator));
Severity: Minor
Found in src/InterleaveIterator.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 '11', column '23').
Open

            throw new \InvalidArgumentException('An instance of RecursiveIterator or IteratorAggregate creating it is required');
Severity: Minor
Found in src/RecursiveCloningIterator.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 '16', column '32').
Open

        $this->iterators = new \InfiniteIterator($this->realIterators);
Severity: Minor
Found in src/InterleaveIterator.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 '31').
Open

        $sortedIterator = new \RecursiveArrayIterator();
Severity: Minor
Found in src/RecursiveSortIterator.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 '18', column '23').
Open

        $result = new \ArrayIterator();
Severity: Minor
Found in src/ReservoirSamplingIterator.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 '34', column '31').
Open

        $sortedIterator = new \ArrayIterator();
Severity: Minor
Found in src/SortIterator.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 '12', column '25').
Open

        $iterator = new \MultipleIterator($flags | \MultipleIterator::MIT_KEYS_ASSOC);
Severity: Minor
Found in src/CombineIterator.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 '13', column '46').
Open

            $indexes = iterator_to_array(new \IteratorIterator($indexes), false);
Severity: Minor
Found in src/IndexIterator.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 '14', column '23').
Open

            throw new \InvalidArgumentException('Count cannot be less than 0.');
Severity: Minor
Found in src/RepeatIterator.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 '35', column '25').
Open

        $iterator = new \IteratorIterator($iterator);
Severity: Minor
Found in src/Iterator.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 '15', column '32').
Open

        $this->iterators = new \ArrayIterator();
Severity: Minor
Found in src/OrderedInterleaveIterator.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

Severity
Category
Status
Source
Language