add RecursiveIteratorAggregateIterator #317
Annotations
19 errors and 1 warning
Static Analysis (ubuntu-latest, 8.1):
src/RecursiveIteratorAggregateIterator.php#L13
Class loophp\iterators\RecursiveIteratorAggregateIterator implements generic interface IteratorAggregate but does not specify its types: TKey, TValue
|
Static Analysis (ubuntu-latest, 8.1):
src/RecursiveIteratorAggregateIterator.php#L15
Property loophp\iterators\RecursiveIteratorAggregateIterator::$stack type has no value type specified in iterable type array.
|
Static Analysis (ubuntu-latest, 8.1):
src/RecursiveIteratorAggregateIterator.php#L17
Method loophp\iterators\RecursiveIteratorAggregateIterator::__construct() has parameter $input with no value type specified in iterable type Traversable.
|
Static Analysis (ubuntu-latest, 8.1):
src/RecursiveIteratorAggregateIterator.php#L22
Method loophp\iterators\RecursiveIteratorAggregateIterator::getDepth() has no return type specified.
|
Static Analysis (ubuntu-latest, 8.1):
src/RecursiveIteratorAggregateIterator.php#L30
Construct empty() is not allowed. Use more strict comparison.
|
Static Analysis (ubuntu-latest, 8.1):
src/RecursiveIteratorAggregateIterator.php#L34
Construct empty() is not allowed. Use more strict comparison.
|
MissingTemplateParam:
src/RecursiveIteratorAggregateIterator.php#L13
src/RecursiveIteratorAggregateIterator.php:13:53: MissingTemplateParam: loophp\iterators\RecursiveIteratorAggregateIterator has missing template params when extending IteratorAggregate, expecting 2 (see https://psalm.dev/182)
|
MissingReturnType:
src/RecursiveIteratorAggregateIterator.php#L22
src/RecursiveIteratorAggregateIterator.php:22:21: MissingReturnType: Method loophp\iterators\RecursiveIteratorAggregateIterator::getDepth does not have a return type, expecting int<-1, max> (see https://psalm.dev/050)
|
Static Analysis (ubuntu-latest, 8.1)
Process completed with exit code 1.
|
Static Analysis (ubuntu-latest, 8.1):
src/IterableIterator.php#L34
Parameter #1 $callable of class loophp\iterators\ClosureIterator constructor expects callable(mixed): iterable, Closure(iterable): Generator<mixed, mixed, mixed, void> given.
|
Static Analysis (ubuntu-latest, 8.1):
src/RecursiveIteratorAggregateIterator.php#L13
Class loophp\iterators\RecursiveIteratorAggregateIterator implements generic interface IteratorAggregate but does not specify its types: TKey, TValue
|
Static Analysis (ubuntu-latest, 8.1):
src/RecursiveIteratorAggregateIterator.php#L15
Property loophp\iterators\RecursiveIteratorAggregateIterator::$stack type has no value type specified in iterable type array.
|
Static Analysis (ubuntu-latest, 8.1):
src/RecursiveIteratorAggregateIterator.php#L17
Method loophp\iterators\RecursiveIteratorAggregateIterator::__construct() has parameter $input with no value type specified in iterable type Traversable.
|
Static Analysis (ubuntu-latest, 8.1):
src/RecursiveIteratorAggregateIterator.php#L22
Method loophp\iterators\RecursiveIteratorAggregateIterator::getDepth() has no return type specified.
|
Static Analysis (ubuntu-latest, 8.1):
src/RecursiveIteratorAggregateIterator.php#L30
Construct empty() is not allowed. Use more strict comparison.
|
Static Analysis (ubuntu-latest, 8.1):
src/RecursiveIteratorAggregateIterator.php#L34
Construct empty() is not allowed. Use more strict comparison.
|
Static Analysis (ubuntu-latest, 8.1):
src/SortIterableAggregate.php#L60
Cannot access offset 0 on mixed.
|
Static Analysis (ubuntu-latest, 8.1):
src/SortIterableAggregate.php#L60
Cannot access offset 0 on mixed.
|
Static Analysis (ubuntu-latest, 8.1):
src/SortIterableAggregate.php#L60
Cannot access offset 0 on mixed.
|
Static Analysis (ubuntu-latest, 8.1)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|