Skip to content

Add paging functionality to ResultSet #7

Add paging functionality to ResultSet

Add paging functionality to ResultSet #7

Triggered via pull request April 12, 2024 12:19
Status Success
Total duration 53s
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 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 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.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 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\:\: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 #^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 8.2 on ubuntu-latest: src/ResultSet.php#L1
Ignored error pattern #^Property ipl\\Orm\\ResultSet\:\:\$limit 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\:\:\$position 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#L17
Property ipl\Orm\ResultSet::$cache with generic class ArrayIterator does not specify its types: TKey, TValue
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: src/ResultSet.php#L166
Method ipl\Orm\ResultSet::key() should return int|null but returns mixed.
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\:\: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 #^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.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: src/ResultSet.php#L1
Ignored error pattern #^Property ipl\\Orm\\ResultSet\:\:\$limit 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\:\:\$position 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#L17
Property ipl\Orm\ResultSet::$cache with generic class ArrayIterator does not specify its types: TKey, TValue
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: src/ResultSet.php#L166
Method ipl\Orm\ResultSet::key() should return int|null but returns mixed.
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\:\: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 #^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.1 on ubuntu-latest: src/ResultSet.php#L1
Ignored error pattern #^Property ipl\\Orm\\ResultSet\:\:\$limit 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\:\:\$position 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#L17
Property ipl\Orm\ResultSet::$cache with generic class ArrayIterator does not specify its types: TKey, TValue
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: src/ResultSet.php#L166
Method ipl\Orm\ResultSet::key() should return int|null but returns mixed.
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\:\: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 #^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.0 on ubuntu-latest: src/ResultSet.php#L1
Ignored error pattern #^Property ipl\\Orm\\ResultSet\:\:\$limit 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\:\:\$position 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#L17
Property ipl\Orm\ResultSet::$cache with generic class ArrayIterator does not specify its types: TKey, TValue
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: src/ResultSet.php#L166
Method ipl\Orm\ResultSet::key() should return int|null but returns mixed.