Update doctrine/orm requirement from ^2.9 to ^2.9 || ^3.0 #123
Annotations
10 errors
phpstan:
src/InMemoryEntityManager.php#L1
Ignored error pattern #^Return type \(Firehed\\Mocktrine\\InMemoryRepository\<Entity of object\>\) of method Firehed\\Mocktrine\\InMemoryEntityManager\:\:getRepository\(\) should be compatible with return type \(Doctrine\\ORM\\EntityRepository\<object\>\) of method Doctrine\\ORM\\EntityManagerInterface\:\:getRepository\(\)$# in path /home/runner/work/mocktrine/mocktrine/src/InMemoryEntityManager.php was not matched in reported errors.
|
phpstan:
src/InMemoryEntityManager.php#L35
Non-abstract class Firehed\Mocktrine\InMemoryEntityManager contains abstract method wrapInTransaction() from interface Doctrine\ORM\EntityManagerInterface.
|
phpstan:
src/InMemoryEntityManager.php#L102
Method Firehed\Mocktrine\InMemoryEntityManager::find() overrides method Doctrine\ORM\EntityManagerInterface::find() but misses parameter #3 $lockMode.
|
phpstan:
src/InMemoryEntityManager.php#L102
Method Firehed\Mocktrine\InMemoryEntityManager::find() overrides method Doctrine\ORM\EntityManagerInterface::find() but misses parameter #4 $lockVersion.
|
phpstan:
src/InMemoryEntityManager.php#L102
Return type mixed of method Firehed\Mocktrine\InMemoryEntityManager::find() is not covariant with return type object|null of method Doctrine\ORM\EntityManagerInterface::find().
|
phpstan:
src/InMemoryEntityManager.php#L193
Method Firehed\Mocktrine\InMemoryEntityManager::refresh() overrides method Doctrine\ORM\EntityManagerInterface::refresh() but misses parameter #2 $lockMode.
|
phpstan:
src/InMemoryEntityManager.php#L193
Return type mixed of method Firehed\Mocktrine\InMemoryEntityManager::refresh() is not covariant with return type void of method Doctrine\ORM\EntityManagerInterface::refresh().
|
phpstan:
src/InMemoryEntityManager.php#L247
Return type mixed of method Firehed\Mocktrine\InMemoryEntityManager::getRepository() is not covariant with return type Doctrine\ORM\EntityRepository of method Doctrine\ORM\EntityManagerInterface::getRepository().
|
phpstan:
src/InMemoryEntityManager.php#L267
Return type mixed of method Firehed\Mocktrine\InMemoryEntityManager::getClassMetadata() is not covariant with return type Doctrine\ORM\Mapping\ClassMetadata of method Doctrine\ORM\EntityManagerInterface::getClassMetadata().
|
phpstan:
src/InMemoryEntityManager.php#L277
Return type mixed of method Firehed\Mocktrine\InMemoryEntityManager::getMetadataFactory() is not covariant with return type Doctrine\ORM\Mapping\ClassMetadataFactory of method Doctrine\ORM\EntityManagerInterface::getMetadataFactory().
|