Skip to content

Add paging functionality to ResultSet #4

Add paging functionality to ResultSet

Add paging functionality to ResultSet #4

Triggered via pull request April 12, 2024 09:51
Status Success
Total duration 55s
Artifacts

phpstan.yml

on: pull_request
Matrix: phpstan / phpstan
Fit to window
Zoom out
Zoom in

Annotations

70 errors
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: src/ResultSet.php#L1
Ignored error pattern #^Class ipl\\Orm\\ResultSet implements generic interface Iterator but does not specify its types\: TKey, TValue$# in path /home/runner/work/ipl-orm/ipl-orm/src/ResultSet.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: src/ResultSet.php#L1
Ignored error pattern #^Method ipl\\Orm\\ResultSet\:\:__construct\(\) has parameter \$limit with no type specified\.$# in path /home/runner/work/ipl-orm/ipl-orm/src/ResultSet.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: src/ResultSet.php#L1
Ignored error pattern #^Method ipl\\Orm\\ResultSet\:\:__construct\(\) has parameter \$traversable with no value type specified in iterable type Traversable\.$# in path /home/runner/work/ipl-orm/ipl-orm/src/ResultSet.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: src/ResultSet.php#L1
Ignored error pattern #^Method ipl\\Orm\\ResultSet\:\:advance\(\) has no return type specified\.$# in path /home/runner/work/ipl-orm/ipl-orm/src/ResultSet.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: src/ResultSet.php#L1
Ignored error pattern #^Method ipl\\Orm\\ResultSet\:\:hasMore\(\) has no return type specified\.$# in path /home/runner/work/ipl-orm/ipl-orm/src/ResultSet.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: src/ResultSet.php#L1
Ignored error pattern #^Method ipl\\Orm\\ResultSet\:\:hasResult\(\) has no return type specified\.$# in path /home/runner/work/ipl-orm/ipl-orm/src/ResultSet.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: src/ResultSet.php#L1
Ignored error pattern #^Method ipl\\Orm\\ResultSet\:\:yieldTraversable\(\) has no return type specified\.$# in path /home/runner/work/ipl-orm/ipl-orm/src/ResultSet.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: src/ResultSet.php#L1
Ignored error pattern #^Method ipl\\Orm\\ResultSet\:\:yieldTraversable\(\) has parameter \$traversable with no value type specified in iterable type Traversable\.$# in path /home/runner/work/ipl-orm/ipl-orm/src/ResultSet.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: src/ResultSet.php#L1
Ignored error pattern #^Property ipl\\Orm\\ResultSet\:\:\$cache has no type specified\.$# in path /home/runner/work/ipl-orm/ipl-orm/src/ResultSet.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: src/ResultSet.php#L1
Ignored error pattern #^Property ipl\\Orm\\ResultSet\:\:\$generator has no type specified\.$# in path /home/runner/work/ipl-orm/ipl-orm/src/ResultSet.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: src/ResultSet.php#L1
Ignored error pattern #^Class ipl\\Orm\\ResultSet implements generic interface Iterator but does not specify its types\: TKey, TValue$# in path /home/runner/work/ipl-orm/ipl-orm/src/ResultSet.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: src/ResultSet.php#L1
Ignored error pattern #^Method ipl\\Orm\\ResultSet\:\:__construct\(\) has parameter \$limit with no type specified\.$# in path /home/runner/work/ipl-orm/ipl-orm/src/ResultSet.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: src/ResultSet.php#L1
Ignored error pattern #^Method ipl\\Orm\\ResultSet\:\:__construct\(\) has parameter \$traversable with no value type specified in iterable type Traversable\.$# in path /home/runner/work/ipl-orm/ipl-orm/src/ResultSet.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: src/ResultSet.php#L1
Ignored error pattern #^Method ipl\\Orm\\ResultSet\:\:advance\(\) has no return type specified\.$# in path /home/runner/work/ipl-orm/ipl-orm/src/ResultSet.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: src/ResultSet.php#L1
Ignored error pattern #^Method ipl\\Orm\\ResultSet\:\:hasMore\(\) has no return type specified\.$# in path /home/runner/work/ipl-orm/ipl-orm/src/ResultSet.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: src/ResultSet.php#L1
Ignored error pattern #^Method ipl\\Orm\\ResultSet\:\:hasResult\(\) has no return type specified\.$# in path /home/runner/work/ipl-orm/ipl-orm/src/ResultSet.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: src/ResultSet.php#L1
Ignored error pattern #^Method ipl\\Orm\\ResultSet\:\:yieldTraversable\(\) has no return type specified\.$# in path /home/runner/work/ipl-orm/ipl-orm/src/ResultSet.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: src/ResultSet.php#L1
Ignored error pattern #^Method ipl\\Orm\\ResultSet\:\:yieldTraversable\(\) has parameter \$traversable with no value type specified in iterable type Traversable\.$# in path /home/runner/work/ipl-orm/ipl-orm/src/ResultSet.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: src/ResultSet.php#L1
Ignored error pattern #^Property ipl\\Orm\\ResultSet\:\:\$cache has no type specified\.$# in path /home/runner/work/ipl-orm/ipl-orm/src/ResultSet.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: src/ResultSet.php#L1
Ignored error pattern #^Property ipl\\Orm\\ResultSet\:\:\$generator has no type specified\.$# in path /home/runner/work/ipl-orm/ipl-orm/src/ResultSet.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: src/ResultSet.php#L1
Ignored error pattern #^Class ipl\\Orm\\ResultSet implements generic interface Iterator but does not specify its types\: TKey, TValue$# in path /home/runner/work/ipl-orm/ipl-orm/src/ResultSet.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: src/ResultSet.php#L1
Ignored error pattern #^Method ipl\\Orm\\ResultSet\:\:__construct\(\) has parameter \$limit with no type specified\.$# in path /home/runner/work/ipl-orm/ipl-orm/src/ResultSet.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: src/ResultSet.php#L1
Ignored error pattern #^Method ipl\\Orm\\ResultSet\:\:__construct\(\) has parameter \$traversable with no value type specified in iterable type Traversable\.$# in path /home/runner/work/ipl-orm/ipl-orm/src/ResultSet.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: src/ResultSet.php#L1
Ignored error pattern #^Method ipl\\Orm\\ResultSet\:\:advance\(\) has no return type specified\.$# in path /home/runner/work/ipl-orm/ipl-orm/src/ResultSet.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: src/ResultSet.php#L1
Ignored error pattern #^Method ipl\\Orm\\ResultSet\:\:hasMore\(\) has no return type specified\.$# in path /home/runner/work/ipl-orm/ipl-orm/src/ResultSet.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: src/ResultSet.php#L1
Ignored error pattern #^Method ipl\\Orm\\ResultSet\:\:hasResult\(\) has no return type specified\.$# in path /home/runner/work/ipl-orm/ipl-orm/src/ResultSet.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: src/ResultSet.php#L1
Ignored error pattern #^Method ipl\\Orm\\ResultSet\:\:yieldTraversable\(\) has no return type specified\.$# in path /home/runner/work/ipl-orm/ipl-orm/src/ResultSet.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: src/ResultSet.php#L1
Ignored error pattern #^Method ipl\\Orm\\ResultSet\:\:yieldTraversable\(\) has parameter \$traversable with no value type specified in iterable type Traversable\.$# in path /home/runner/work/ipl-orm/ipl-orm/src/ResultSet.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: src/ResultSet.php#L1
Ignored error pattern #^Property ipl\\Orm\\ResultSet\:\:\$cache has no type specified\.$# in path /home/runner/work/ipl-orm/ipl-orm/src/ResultSet.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: src/ResultSet.php#L1
Ignored error pattern #^Property ipl\\Orm\\ResultSet\:\:\$generator has no type specified\.$# in path /home/runner/work/ipl-orm/ipl-orm/src/ResultSet.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: src/Behavior/Binary.php#L1
Ignored error pattern #^Parameter \#1 \$string of function bin2hex expects string, mixed given\.$# in path /home/runner/work/ipl-orm/ipl-orm/src/Behavior/Binary.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: src/Behavior/Binary.php#L65
Parameter #1 $data of function bin2hex expects string, mixed given.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: src/Hydrator.php#L76
Parameter #2 $columnToPropertyMap of method ipl\Orm\Hydrator::updateColumnToTargetMap() expects array<string, string>, array|false given.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: src/Query.php#L1
Ignored error pattern #^Parameter \#1 \$object of method SplObjectStorage\<object,mixed\>\:\:attach\(\) expects object, mixed given\.$# in path /home/runner/work/ipl-orm/ipl-orm/src/Query.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: src/Query.php#L1
Ignored error pattern #^Parameter \#1 \$object of method SplObjectStorage\<object,mixed\>\:\:contains\(\) expects object, mixed given\.$# in path /home/runner/work/ipl-orm/ipl-orm/src/Query.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: src/Query.php#L1
Ignored error pattern #^Parameter \#1 \$objectOrClass of class ReflectionClass constructor expects class\-string\<T of object\>\|T of object, string given\.$# in path /home/runner/work/ipl-orm/ipl-orm/src/Query.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: src/Query.php#L138
Parameter #1 $argument of class ReflectionClass constructor expects class-string<T of object>|T of object, string given.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: src/Query.php#L736
Parameter #1 $obj of method SplObjectStorage<object,mixed>::contains() expects object, mixed given.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: src/Query.php#L738
Parameter #1 $obj of method SplObjectStorage<object,mixed>::attach() expects object, mixed given.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: src/Relation.php#L320
Method ipl\Orm\Relation::determineKeys() should return array but returns array|false.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: src/Behavior/Binary.php#L1
Ignored error pattern #^Parameter \#1 \$string of function bin2hex expects string, mixed given\.$# in path /home/runner/work/ipl-orm/ipl-orm/src/Behavior/Binary.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: src/Behavior/Binary.php#L65
Parameter #1 $data of function bin2hex expects string, mixed given.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: src/Hydrator.php#L76
Parameter #2 $columnToPropertyMap of method ipl\Orm\Hydrator::updateColumnToTargetMap() expects array<string, string>, array|false given.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: src/Query.php#L1
Ignored error pattern #^Parameter \#1 \$object of method SplObjectStorage\<object,mixed\>\:\:attach\(\) expects object, mixed given\.$# in path /home/runner/work/ipl-orm/ipl-orm/src/Query.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: src/Query.php#L1
Ignored error pattern #^Parameter \#1 \$object of method SplObjectStorage\<object,mixed\>\:\:contains\(\) expects object, mixed given\.$# in path /home/runner/work/ipl-orm/ipl-orm/src/Query.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: src/Query.php#L1
Ignored error pattern #^Parameter \#1 \$objectOrClass of class ReflectionClass constructor expects class\-string\<T of object\>\|T of object, string given\.$# in path /home/runner/work/ipl-orm/ipl-orm/src/Query.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: src/Query.php#L138
Parameter #1 $argument of class ReflectionClass constructor expects class-string<T of object>|T of object, string given.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: src/Query.php#L736
Parameter #1 $obj of method SplObjectStorage<object,mixed>::contains() expects object, mixed given.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: src/Query.php#L738
Parameter #1 $obj of method SplObjectStorage<object,mixed>::attach() expects object, mixed given.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: src/Relation.php#L320
Method ipl\Orm\Relation::determineKeys() should return array but returns array|false.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: src/Behavior/Binary.php#L1
Ignored error pattern #^Parameter \#1 \$string of function bin2hex expects string, mixed given\.$# in path /home/runner/work/ipl-orm/ipl-orm/src/Behavior/Binary.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: src/Behavior/Binary.php#L65
Parameter #1 $data of function bin2hex expects string, mixed given.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: src/Hydrator.php#L76
Parameter #2 $columnToPropertyMap of method ipl\Orm\Hydrator::updateColumnToTargetMap() expects array<string, string>, array|false given.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: src/Query.php#L1
Ignored error pattern #^Parameter \#1 \$object of method SplObjectStorage\<object,mixed\>\:\:attach\(\) expects object, mixed given\.$# in path /home/runner/work/ipl-orm/ipl-orm/src/Query.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: src/Query.php#L1
Ignored error pattern #^Parameter \#1 \$object of method SplObjectStorage\<object,mixed\>\:\:contains\(\) expects object, mixed given\.$# in path /home/runner/work/ipl-orm/ipl-orm/src/Query.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: src/Query.php#L1
Ignored error pattern #^Parameter \#1 \$objectOrClass of class ReflectionClass constructor expects class\-string\<T of object\>\|T of object, string given\.$# in path /home/runner/work/ipl-orm/ipl-orm/src/Query.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: src/Query.php#L138
Parameter #1 $argument of class ReflectionClass constructor expects class-string<T of object>|T of object, string given.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: src/Query.php#L736
Parameter #1 $obj of method SplObjectStorage<object,mixed>::contains() expects object, mixed given.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: src/Query.php#L738
Parameter #1 $obj of method SplObjectStorage<object,mixed>::attach() expects object, mixed given.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: src/Relation.php#L320
Method ipl\Orm\Relation::determineKeys() should return array but returns array|false.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: src/ResultSet.php#L1
Ignored error pattern #^Class ipl\\Orm\\ResultSet implements generic interface Iterator but does not specify its types\: TKey, TValue$# in path /home/runner/work/ipl-orm/ipl-orm/src/ResultSet.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: src/ResultSet.php#L1
Ignored error pattern #^Method ipl\\Orm\\ResultSet\:\:__construct\(\) has parameter \$limit with no type specified\.$# in path /home/runner/work/ipl-orm/ipl-orm/src/ResultSet.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: src/ResultSet.php#L1
Ignored error pattern #^Method ipl\\Orm\\ResultSet\:\:__construct\(\) has parameter \$traversable with no value type specified in iterable type Traversable\.$# in path /home/runner/work/ipl-orm/ipl-orm/src/ResultSet.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: src/ResultSet.php#L1
Ignored error pattern #^Method ipl\\Orm\\ResultSet\:\:advance\(\) has no return type specified\.$# in path /home/runner/work/ipl-orm/ipl-orm/src/ResultSet.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: src/ResultSet.php#L1
Ignored error pattern #^Method ipl\\Orm\\ResultSet\:\:hasMore\(\) has no return type specified\.$# in path /home/runner/work/ipl-orm/ipl-orm/src/ResultSet.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: src/ResultSet.php#L1
Ignored error pattern #^Method ipl\\Orm\\ResultSet\:\:hasResult\(\) has no return type specified\.$# in path /home/runner/work/ipl-orm/ipl-orm/src/ResultSet.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: src/ResultSet.php#L1
Ignored error pattern #^Method ipl\\Orm\\ResultSet\:\:yieldTraversable\(\) has no return type specified\.$# in path /home/runner/work/ipl-orm/ipl-orm/src/ResultSet.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: src/ResultSet.php#L1
Ignored error pattern #^Method ipl\\Orm\\ResultSet\:\:yieldTraversable\(\) has parameter \$traversable with no value type specified in iterable type Traversable\.$# in path /home/runner/work/ipl-orm/ipl-orm/src/ResultSet.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: src/ResultSet.php#L1
Ignored error pattern #^Property ipl\\Orm\\ResultSet\:\:\$cache has no type specified\.$# in path /home/runner/work/ipl-orm/ipl-orm/src/ResultSet.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: src/ResultSet.php#L1
Ignored error pattern #^Property ipl\\Orm\\ResultSet\:\:\$generator has no type specified\.$# in path /home/runner/work/ipl-orm/ipl-orm/src/ResultSet.php was not matched in reported errors.