chore(deps): update phpstan packages #945
build.yml
on: pull_request
Matrix: Tests
Matrix: PHPStan
Code coverage finish
4s
Annotations
54 errors
|
PHPStan (8.2):
src/Mapper/Memory/ArrayMapper.php#L86
Method Nextras\Orm\Mapper\Memory\ArrayMapper::createCollectionManyHasOne() should return Nextras\Orm\Collection\ICollection<Nextras\Orm\Entity\IEntity> but returns Nextras\Orm\Collection\ICollection<E of Nextras\Orm\Entity\IEntity>.
|
|
PHPStan (8.2):
src/Mapper/Memory/ArrayMapper.php#L51
Property Nextras\Orm\Mapper\Memory\ArrayMapper<E of Nextras\Orm\Entity\IEntity>::$repository (Nextras\Orm\Repository\IRepository<Nextras\Orm\Entity\IEntity>|null) does not accept Nextras\Orm\Repository\IRepository<E of Nextras\Orm\Entity\IEntity>.
|
|
PHPStan (8.2):
src/Mapper/Memory/ArrayMapper.php#L38
Property Nextras\Orm\Mapper\Memory\ArrayMapper::$repository (Nextras\Orm\Repository\IRepository<Nextras\Orm\Entity\IEntity>|null) is never assigned Nextras\Orm\Repository\IRepository<Nextras\Orm\Entity\IEntity> so it can be removed from the property type.
|
|
PHPStan (8.2):
src/Mapper/Dbal/DbalMapper.php#L260
Method Nextras\Orm\Mapper\Dbal\DbalMapper::createCollectionOneHasMany() should return Nextras\Orm\Collection\ICollection<Nextras\Orm\Entity\IEntity> but returns Nextras\Orm\Collection\ICollection<E of Nextras\Orm\Entity\IEntity>.
|
|
PHPStan (8.2):
src/Mapper/Dbal/DbalMapper.php#L252
Method Nextras\Orm\Mapper\Dbal\DbalMapper::createCollectionManyHasMany() should return Nextras\Orm\Collection\ICollection<Nextras\Orm\Entity\IEntity> but returns Nextras\Orm\Collection\ICollection<E of Nextras\Orm\Entity\IEntity>.
|
|
PHPStan (8.2):
src/Mapper/Dbal/DbalMapper.php#L242
Method Nextras\Orm\Mapper\Dbal\DbalMapper::createCollectionOneHasOne() should return Nextras\Orm\Collection\ICollection<Nextras\Orm\Entity\IEntity> but returns Nextras\Orm\Collection\ICollection<E of Nextras\Orm\Entity\IEntity>.
|
|
PHPStan (8.2):
src/Mapper/Dbal/DbalMapper.php#L233
Method Nextras\Orm\Mapper\Dbal\DbalMapper::createCollectionManyHasOne() should return Nextras\Orm\Collection\ICollection<Nextras\Orm\Entity\IEntity> but returns Nextras\Orm\Collection\ICollection<E of Nextras\Orm\Entity\IEntity>.
|
|
PHPStan (8.2):
src/Entity/Reflection/ModifierParser.php#L116
Strict comparison using !== between Nextras\Orm\Entity\Reflection\Parser\Token and null will always evaluate to true.
|
|
PHPStan (8.2):
src/Entity/Reflection/ModifierParser.php#L116
Call to function assert() with true will always evaluate to true.
|
|
PHPStan (8.2):
src/Collection/ArrayCollection.php#L300
Parameter #1 $repository of class Nextras\Orm\Collection\Helpers\ArrayCollectionHelper constructor expects Nextras\Orm\Repository\IRepository<Nextras\Orm\Entity\IEntity>, Nextras\Orm\Repository\IRepository<E of Nextras\Orm\Entity\IEntity> given.
|
|
PHPStan (8.1)
The strategy configuration was canceled because "phpstan._8_2" failed
|
|
PHPStan (8.1):
src/Mapper/Memory/ArrayMapper.php#L86
Method Nextras\Orm\Mapper\Memory\ArrayMapper::createCollectionManyHasOne() should return Nextras\Orm\Collection\ICollection<Nextras\Orm\Entity\IEntity> but returns Nextras\Orm\Collection\ICollection<E of Nextras\Orm\Entity\IEntity>.
|
|
PHPStan (8.1):
src/Mapper/Memory/ArrayMapper.php#L51
Property Nextras\Orm\Mapper\Memory\ArrayMapper<E of Nextras\Orm\Entity\IEntity>::$repository (Nextras\Orm\Repository\IRepository<Nextras\Orm\Entity\IEntity>|null) does not accept Nextras\Orm\Repository\IRepository<E of Nextras\Orm\Entity\IEntity>.
|
|
PHPStan (8.1):
src/Mapper/Memory/ArrayMapper.php#L38
Property Nextras\Orm\Mapper\Memory\ArrayMapper::$repository (Nextras\Orm\Repository\IRepository<Nextras\Orm\Entity\IEntity>|null) is never assigned Nextras\Orm\Repository\IRepository<Nextras\Orm\Entity\IEntity> so it can be removed from the property type.
|
|
PHPStan (8.1):
src/Mapper/Dbal/DbalMapper.php#L260
Method Nextras\Orm\Mapper\Dbal\DbalMapper::createCollectionOneHasMany() should return Nextras\Orm\Collection\ICollection<Nextras\Orm\Entity\IEntity> but returns Nextras\Orm\Collection\ICollection<E of Nextras\Orm\Entity\IEntity>.
|
|
PHPStan (8.1):
src/Mapper/Dbal/DbalMapper.php#L252
Method Nextras\Orm\Mapper\Dbal\DbalMapper::createCollectionManyHasMany() should return Nextras\Orm\Collection\ICollection<Nextras\Orm\Entity\IEntity> but returns Nextras\Orm\Collection\ICollection<E of Nextras\Orm\Entity\IEntity>.
|
|
PHPStan (8.1):
src/Mapper/Dbal/DbalMapper.php#L242
Method Nextras\Orm\Mapper\Dbal\DbalMapper::createCollectionOneHasOne() should return Nextras\Orm\Collection\ICollection<Nextras\Orm\Entity\IEntity> but returns Nextras\Orm\Collection\ICollection<E of Nextras\Orm\Entity\IEntity>.
|
|
PHPStan (8.1):
src/Mapper/Dbal/DbalMapper.php#L233
Method Nextras\Orm\Mapper\Dbal\DbalMapper::createCollectionManyHasOne() should return Nextras\Orm\Collection\ICollection<Nextras\Orm\Entity\IEntity> but returns Nextras\Orm\Collection\ICollection<E of Nextras\Orm\Entity\IEntity>.
|
|
PHPStan (8.1):
src/Entity/Reflection/ModifierParser.php#L116
Strict comparison using !== between Nextras\Orm\Entity\Reflection\Parser\Token and null will always evaluate to true.
|
|
PHPStan (8.1):
src/Entity/Reflection/ModifierParser.php#L116
Call to function assert() with true will always evaluate to true.
|
|
PHPStan (8.1):
src/Collection/ArrayCollection.php#L300
Parameter #1 $repository of class Nextras\Orm\Collection\Helpers\ArrayCollectionHelper constructor expects Nextras\Orm\Repository\IRepository<Nextras\Orm\Entity\IEntity>, Nextras\Orm\Repository\IRepository<E of Nextras\Orm\Entity\IEntity> given.
|
|
PHPStan (8.4)
The strategy configuration was canceled because "phpstan._8_2" failed
|
|
PHPStan (8.4):
src/Mapper/Memory/ArrayMapper.php#L86
Method Nextras\Orm\Mapper\Memory\ArrayMapper::createCollectionManyHasOne() should return Nextras\Orm\Collection\ICollection<Nextras\Orm\Entity\IEntity> but returns Nextras\Orm\Collection\ICollection<E of Nextras\Orm\Entity\IEntity>.
|
|
PHPStan (8.4):
src/Mapper/Memory/ArrayMapper.php#L51
Property Nextras\Orm\Mapper\Memory\ArrayMapper<E of Nextras\Orm\Entity\IEntity>::$repository (Nextras\Orm\Repository\IRepository<Nextras\Orm\Entity\IEntity>|null) does not accept Nextras\Orm\Repository\IRepository<E of Nextras\Orm\Entity\IEntity>.
|
|
PHPStan (8.4):
src/Mapper/Memory/ArrayMapper.php#L38
Property Nextras\Orm\Mapper\Memory\ArrayMapper::$repository (Nextras\Orm\Repository\IRepository<Nextras\Orm\Entity\IEntity>|null) is never assigned Nextras\Orm\Repository\IRepository<Nextras\Orm\Entity\IEntity> so it can be removed from the property type.
|
|
PHPStan (8.4):
src/Mapper/Dbal/DbalMapper.php#L260
Method Nextras\Orm\Mapper\Dbal\DbalMapper::createCollectionOneHasMany() should return Nextras\Orm\Collection\ICollection<Nextras\Orm\Entity\IEntity> but returns Nextras\Orm\Collection\ICollection<E of Nextras\Orm\Entity\IEntity>.
|
|
PHPStan (8.4):
src/Mapper/Dbal/DbalMapper.php#L252
Method Nextras\Orm\Mapper\Dbal\DbalMapper::createCollectionManyHasMany() should return Nextras\Orm\Collection\ICollection<Nextras\Orm\Entity\IEntity> but returns Nextras\Orm\Collection\ICollection<E of Nextras\Orm\Entity\IEntity>.
|
|
PHPStan (8.4):
src/Mapper/Dbal/DbalMapper.php#L242
Method Nextras\Orm\Mapper\Dbal\DbalMapper::createCollectionOneHasOne() should return Nextras\Orm\Collection\ICollection<Nextras\Orm\Entity\IEntity> but returns Nextras\Orm\Collection\ICollection<E of Nextras\Orm\Entity\IEntity>.
|
|
PHPStan (8.4):
src/Mapper/Dbal/DbalMapper.php#L233
Method Nextras\Orm\Mapper\Dbal\DbalMapper::createCollectionManyHasOne() should return Nextras\Orm\Collection\ICollection<Nextras\Orm\Entity\IEntity> but returns Nextras\Orm\Collection\ICollection<E of Nextras\Orm\Entity\IEntity>.
|
|
PHPStan (8.4):
src/Entity/Reflection/ModifierParser.php#L116
Strict comparison using !== between Nextras\Orm\Entity\Reflection\Parser\Token and null will always evaluate to true.
|
|
PHPStan (8.4):
src/Entity/Reflection/ModifierParser.php#L116
Call to function assert() with true will always evaluate to true.
|
|
PHPStan (8.4):
src/Collection/ArrayCollection.php#L300
Parameter #1 $repository of class Nextras\Orm\Collection\Helpers\ArrayCollectionHelper constructor expects Nextras\Orm\Repository\IRepository<Nextras\Orm\Entity\IEntity>, Nextras\Orm\Repository\IRepository<E of Nextras\Orm\Entity\IEntity> given.
|
|
PHPStan (8.5)
The strategy configuration was canceled because "phpstan._8_2" failed
|
|
PHPStan (8.5):
src/Mapper/Memory/ArrayMapper.php#L86
Method Nextras\Orm\Mapper\Memory\ArrayMapper::createCollectionManyHasOne() should return Nextras\Orm\Collection\ICollection<Nextras\Orm\Entity\IEntity> but returns Nextras\Orm\Collection\ICollection<E of Nextras\Orm\Entity\IEntity>.
|
|
PHPStan (8.5):
src/Mapper/Memory/ArrayMapper.php#L51
Property Nextras\Orm\Mapper\Memory\ArrayMapper<E of Nextras\Orm\Entity\IEntity>::$repository (Nextras\Orm\Repository\IRepository<Nextras\Orm\Entity\IEntity>|null) does not accept Nextras\Orm\Repository\IRepository<E of Nextras\Orm\Entity\IEntity>.
|
|
PHPStan (8.5):
src/Mapper/Memory/ArrayMapper.php#L38
Property Nextras\Orm\Mapper\Memory\ArrayMapper::$repository (Nextras\Orm\Repository\IRepository<Nextras\Orm\Entity\IEntity>|null) is never assigned Nextras\Orm\Repository\IRepository<Nextras\Orm\Entity\IEntity> so it can be removed from the property type.
|
|
PHPStan (8.5):
src/Mapper/Dbal/DbalMapper.php#L260
Method Nextras\Orm\Mapper\Dbal\DbalMapper::createCollectionOneHasMany() should return Nextras\Orm\Collection\ICollection<Nextras\Orm\Entity\IEntity> but returns Nextras\Orm\Collection\ICollection<E of Nextras\Orm\Entity\IEntity>.
|
|
PHPStan (8.5):
src/Mapper/Dbal/DbalMapper.php#L252
Method Nextras\Orm\Mapper\Dbal\DbalMapper::createCollectionManyHasMany() should return Nextras\Orm\Collection\ICollection<Nextras\Orm\Entity\IEntity> but returns Nextras\Orm\Collection\ICollection<E of Nextras\Orm\Entity\IEntity>.
|
|
PHPStan (8.5):
src/Mapper/Dbal/DbalMapper.php#L242
Method Nextras\Orm\Mapper\Dbal\DbalMapper::createCollectionOneHasOne() should return Nextras\Orm\Collection\ICollection<Nextras\Orm\Entity\IEntity> but returns Nextras\Orm\Collection\ICollection<E of Nextras\Orm\Entity\IEntity>.
|
|
PHPStan (8.5):
src/Mapper/Dbal/DbalMapper.php#L233
Method Nextras\Orm\Mapper\Dbal\DbalMapper::createCollectionManyHasOne() should return Nextras\Orm\Collection\ICollection<Nextras\Orm\Entity\IEntity> but returns Nextras\Orm\Collection\ICollection<E of Nextras\Orm\Entity\IEntity>.
|
|
PHPStan (8.5):
src/Entity/Reflection/ModifierParser.php#L116
Strict comparison using !== between Nextras\Orm\Entity\Reflection\Parser\Token and null will always evaluate to true.
|
|
PHPStan (8.5):
src/Entity/Reflection/ModifierParser.php#L116
Call to function assert() with true will always evaluate to true.
|
|
PHPStan (8.5):
src/Collection/ArrayCollection.php#L300
Parameter #1 $repository of class Nextras\Orm\Collection\Helpers\ArrayCollectionHelper constructor expects Nextras\Orm\Repository\IRepository<Nextras\Orm\Entity\IEntity>, Nextras\Orm\Repository\IRepository<E of Nextras\Orm\Entity\IEntity> given.
|
|
PHPStan (8.3)
The strategy configuration was canceled because "phpstan._8_2" failed
|
|
PHPStan (8.3):
src/Mapper/Memory/ArrayMapper.php#L86
Method Nextras\Orm\Mapper\Memory\ArrayMapper::createCollectionManyHasOne() should return Nextras\Orm\Collection\ICollection<Nextras\Orm\Entity\IEntity> but returns Nextras\Orm\Collection\ICollection<E of Nextras\Orm\Entity\IEntity>.
|
|
PHPStan (8.3):
src/Mapper/Memory/ArrayMapper.php#L51
Property Nextras\Orm\Mapper\Memory\ArrayMapper<E of Nextras\Orm\Entity\IEntity>::$repository (Nextras\Orm\Repository\IRepository<Nextras\Orm\Entity\IEntity>|null) does not accept Nextras\Orm\Repository\IRepository<E of Nextras\Orm\Entity\IEntity>.
|
|
PHPStan (8.3):
src/Mapper/Memory/ArrayMapper.php#L38
Property Nextras\Orm\Mapper\Memory\ArrayMapper::$repository (Nextras\Orm\Repository\IRepository<Nextras\Orm\Entity\IEntity>|null) is never assigned Nextras\Orm\Repository\IRepository<Nextras\Orm\Entity\IEntity> so it can be removed from the property type.
|
|
PHPStan (8.3):
src/Mapper/Dbal/DbalMapper.php#L260
Method Nextras\Orm\Mapper\Dbal\DbalMapper::createCollectionOneHasMany() should return Nextras\Orm\Collection\ICollection<Nextras\Orm\Entity\IEntity> but returns Nextras\Orm\Collection\ICollection<E of Nextras\Orm\Entity\IEntity>.
|
|
PHPStan (8.3):
src/Mapper/Dbal/DbalMapper.php#L252
Method Nextras\Orm\Mapper\Dbal\DbalMapper::createCollectionManyHasMany() should return Nextras\Orm\Collection\ICollection<Nextras\Orm\Entity\IEntity> but returns Nextras\Orm\Collection\ICollection<E of Nextras\Orm\Entity\IEntity>.
|
|
PHPStan (8.3):
src/Mapper/Dbal/DbalMapper.php#L242
Method Nextras\Orm\Mapper\Dbal\DbalMapper::createCollectionOneHasOne() should return Nextras\Orm\Collection\ICollection<Nextras\Orm\Entity\IEntity> but returns Nextras\Orm\Collection\ICollection<E of Nextras\Orm\Entity\IEntity>.
|
|
PHPStan (8.3):
src/Mapper/Dbal/DbalMapper.php#L233
Method Nextras\Orm\Mapper\Dbal\DbalMapper::createCollectionManyHasOne() should return Nextras\Orm\Collection\ICollection<Nextras\Orm\Entity\IEntity> but returns Nextras\Orm\Collection\ICollection<E of Nextras\Orm\Entity\IEntity>.
|
|
PHPStan (8.3):
src/Entity/Reflection/ModifierParser.php#L116
Strict comparison using !== between Nextras\Orm\Entity\Reflection\Parser\Token and null will always evaluate to true.
|
|
PHPStan (8.3):
src/Entity/Reflection/ModifierParser.php#L116
Call to function assert() with true will always evaluate to true.
|
|
PHPStan (8.3):
src/Collection/ArrayCollection.php#L300
Parameter #1 $repository of class Nextras\Orm\Collection\Helpers\ArrayCollectionHelper constructor expects Nextras\Orm\Repository\IRepository<Nextras\Orm\Entity\IEntity>, Nextras\Orm\Repository\IRepository<E of Nextras\Orm\Entity\IEntity> given.
|