From 619302dc9a525911930a39430f09345d7a447cca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Paris?= Date: Sat, 23 Nov 2024 19:14:32 +0100 Subject: [PATCH] Raise PHPStan level to 7 We have a plan to drop Psalm. Before we do that, let us ensure we run PHPStan at the level we agreed upon during the Hackathon. --- phpstan-baseline.neon | 4028 ++++++++++++++++++++++++++++++++++--- phpstan-dbal2.neon | 13 + phpstan-params.neon | 2 +- phpstan-persistence2.neon | 18 + 4 files changed, 3816 insertions(+), 245 deletions(-) diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 3905f4fc1fe..364f23f8b0e 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -1,10 +1,150 @@ parameters: ignoreErrors: + - + message: "#^Method Doctrine\\\\ORM\\\\AbstractQuery\\:\\:getParameter\\(\\) should return Doctrine\\\\ORM\\\\Query\\\\Parameter\\|null but returns Doctrine\\\\ORM\\\\Query\\\\Parameter\\|false\\|null\\.$#" + count: 1 + path: src/AbstractQuery.php + + - + message: "#^Parameter \\#1 \\$parameters of method Doctrine\\\\ORM\\\\AbstractQuery\\:\\:setParameters\\(\\) expects array\\|Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\, iterable\\<\\(int\\|string\\), mixed\\> given\\.$#" + count: 1 + path: src/AbstractQuery.php + + - + message: "#^Parameter \\#1 \\$stmt of method Doctrine\\\\ORM\\\\Internal\\\\Hydration\\\\AbstractHydrator\\:\\:iterate\\(\\) expects Doctrine\\\\DBAL\\\\Driver\\\\ResultStatement\\|Doctrine\\\\DBAL\\\\Result, Doctrine\\\\DBAL\\\\Result\\|int given\\.$#" + count: 1 + path: src/AbstractQuery.php + + - + message: "#^Parameter \\#1 \\$stmt of method Doctrine\\\\ORM\\\\Internal\\\\Hydration\\\\AbstractHydrator\\:\\:toIterable\\(\\) expects Doctrine\\\\DBAL\\\\Driver\\\\ResultStatement\\|Doctrine\\\\DBAL\\\\Result, Doctrine\\\\DBAL\\\\Result\\|int given\\.$#" + count: 1 + path: src/AbstractQuery.php + + - + message: "#^Parameter \\#1 \\$value of function count expects array\\|Countable, iterable\\<\\(int\\|string\\), mixed\\> given\\.$#" + count: 1 + path: src/AbstractQuery.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Cache\\\\CacheFactory\\:\\:buildCachedCollectionPersister\\(\\) has parameter \\$mapping with no value type specified in iterable type array\\.$#" + count: 5 + path: src/Cache/CacheFactory.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Cache\\\\CacheFactory\\:\\:buildCachedEntityPersister\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Cache/CacheFactory.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Cache\\\\CacheFactory\\:\\:buildEntityHydrator\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Cache/CacheFactory.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Cache\\\\CollectionHydrator\\:\\:buildCacheEntry\\(\\) has parameter \\$collection with generic interface Doctrine\\\\Common\\\\Collections\\\\Collection but does not specify its types\\: TKey, T$#" + count: 1 + path: src/Cache/CollectionHydrator.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Cache\\\\CollectionHydrator\\:\\:buildCacheEntry\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Cache/CollectionHydrator.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Cache\\\\CollectionHydrator\\:\\:loadCacheEntry\\(\\) has parameter \\$collection with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" + count: 1 + path: src/Cache/CollectionHydrator.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Cache\\\\CollectionHydrator\\:\\:loadCacheEntry\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Cache/CollectionHydrator.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Cache\\\\DefaultCache\\:\\:buildCollectionCacheKey\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Cache/DefaultCache.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Cache\\\\DefaultCache\\:\\:buildEntityCacheKey\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Cache/DefaultCache.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Cache\\\\DefaultCache\\:\\:toIdentifierArray\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Cache/DefaultCache.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Cache\\\\DefaultCacheFactory\\:\\:buildCachedCollectionPersister\\(\\) has parameter \\$mapping with no value type specified in iterable type array\\.$#" + count: 5 + path: src/Cache/DefaultCacheFactory.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Cache\\\\DefaultCacheFactory\\:\\:buildCachedEntityPersister\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Cache/DefaultCacheFactory.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Cache\\\\DefaultCacheFactory\\:\\:buildEntityHydrator\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Cache/DefaultCacheFactory.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Cache\\\\DefaultCollectionHydrator\\:\\:buildCacheEntry\\(\\) has parameter \\$collection with generic interface Doctrine\\\\Common\\\\Collections\\\\Collection but does not specify its types\\: TKey, T$#" + count: 1 + path: src/Cache/DefaultCollectionHydrator.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Cache\\\\DefaultCollectionHydrator\\:\\:buildCacheEntry\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Cache/DefaultCollectionHydrator.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Cache\\\\DefaultCollectionHydrator\\:\\:loadCacheEntry\\(\\) has parameter \\$collection with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" + count: 1 + path: src/Cache/DefaultCollectionHydrator.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Cache\\\\DefaultCollectionHydrator\\:\\:loadCacheEntry\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Cache/DefaultCollectionHydrator.php + - message: "#^Call to an undefined method Doctrine\\\\ORM\\\\Persisters\\\\Entity\\\\EntityPersister\\:\\:getCacheRegion\\(\\)\\.$#" count: 1 path: src/Cache/DefaultEntityHydrator.php + - + message: "#^Method Doctrine\\\\ORM\\\\Cache\\\\DefaultEntityHydrator\\:\\:buildCacheEntry\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Cache/DefaultEntityHydrator.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Cache\\\\DefaultEntityHydrator\\:\\:loadCacheEntry\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Cache/DefaultEntityHydrator.php + + - + message: "#^Offset 'joinColumnFieldNames' does not exist on array\\{cache\\: array, cascade\\: array\\, declared\\?\\: class\\-string, fetch\\: mixed, fieldName\\: string, id\\: bool, inherited\\?\\: class\\-string, indexBy\\?\\: string, \\.\\.\\.\\}\\.$#" + count: 1 + path: src/Cache/DefaultEntityHydrator.php + + - + message: "#^Offset 'targetToSourceKeyCo…' does not exist on array\\{cache\\?\\: array, cascade\\: array\\, declared\\?\\: class\\-string, fetch\\: mixed, fieldName\\: string, id\\?\\: bool, inherited\\?\\: class\\-string, indexBy\\?\\: string, \\.\\.\\.\\}\\.$#" + count: 2 + path: src/Cache/DefaultEntityHydrator.php + + - + message: "#^Parameter \\#2 \\$data of class Doctrine\\\\ORM\\\\Cache\\\\EntityCacheEntry constructor expects array\\, array\\ given\\.$#" + count: 1 + path: src/Cache/DefaultEntityHydrator.php + + - + message: "#^Unable to resolve the template type T in call to method Doctrine\\\\ORM\\\\EntityManagerInterface\\:\\:getReference\\(\\)$#" + count: 1 + path: src/Cache/DefaultEntityHydrator.php + - message: "#^Access to an undefined property Doctrine\\\\ORM\\\\Cache\\\\CacheEntry\\:\\:\\$class\\.$#" count: 2 @@ -25,6 +165,36 @@ parameters: count: 2 path: src/Cache/DefaultQueryCache.php + - + message: "#^Method Doctrine\\\\ORM\\\\Cache\\\\DefaultQueryCache\\:\\:storeAssociationCache\\(\\) has parameter \\$assoc with no value type specified in iterable type array\\.$#" + count: 5 + path: src/Cache/DefaultQueryCache.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Cache\\\\DefaultQueryCache\\:\\:storeAssociationCache\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 2 + path: src/Cache/DefaultQueryCache.php + + - + message: "#^Parameter \\#1 \\$className of method Doctrine\\\\ORM\\\\EntityManagerInterface\\:\\:getClassMetadata\\(\\) expects string, class\\-string\\|false given\\.$#" + count: 2 + path: src/Cache/DefaultQueryCache.php + + - + message: "#^Parameter \\#1 \\$entityName of method Doctrine\\\\ORM\\\\UnitOfWork\\:\\:getEntityPersister\\(\\) expects class\\-string, class\\-string\\|false given\\.$#" + count: 2 + path: src/Cache/DefaultQueryCache.php + + - + message: "#^Parameter \\#1 \\$entityName of static method Doctrine\\\\ORM\\\\Cache\\\\Exception\\\\NonCacheableEntity\\:\\:fromEntity\\(\\) expects string, class\\-string\\|false given\\.$#" + count: 1 + path: src/Cache/DefaultQueryCache.php + + - + message: "#^Parameter \\#1 \\$result of class Doctrine\\\\ORM\\\\Cache\\\\QueryCacheEntry constructor expects array\\, array\\\\> given\\.$#" + count: 1 + path: src/Cache/DefaultQueryCache.php + - message: "#^Parameter \\#2 \\$key of method Doctrine\\\\ORM\\\\Cache\\\\Logging\\\\CacheLogger\\:\\:entityCacheHit\\(\\) expects Doctrine\\\\ORM\\\\Cache\\\\EntityCacheKey, Doctrine\\\\ORM\\\\Cache\\\\CacheKey given\\.$#" count: 2 @@ -35,6 +205,16 @@ parameters: count: 2 path: src/Cache/DefaultQueryCache.php + - + message: "#^Method Doctrine\\\\ORM\\\\Cache\\\\EntityHydrator\\:\\:buildCacheEntry\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Cache/EntityHydrator.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Cache\\\\EntityHydrator\\:\\:loadCacheEntry\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Cache/EntityHydrator.php + - message: "#^Access to an undefined property Doctrine\\\\ORM\\\\Cache\\\\CacheEntry\\:\\:\\$identifiers\\.$#" count: 1 @@ -46,566 +226,3926 @@ parameters: path: src/Cache/Persister/Collection/AbstractCollectionPersister.php - - message: "#^Parameter \\#2 \\$key of method Doctrine\\\\ORM\\\\Cache\\\\EntityHydrator\\:\\:buildCacheEntry\\(\\) expects Doctrine\\\\ORM\\\\Cache\\\\EntityCacheKey, Doctrine\\\\ORM\\\\Cache\\\\CacheKey given\\.$#" + message: "#^Method Doctrine\\\\ORM\\\\Cache\\\\Persister\\\\Collection\\\\AbstractCollectionPersister\\:\\:__construct\\(\\) has parameter \\$association with no value type specified in iterable type array\\.$#" + count: 5 + path: src/Cache/Persister/Collection/AbstractCollectionPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Cache\\\\Persister\\\\Collection\\\\AbstractCollectionPersister\\:\\:contains\\(\\) has parameter \\$collection with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" count: 1 path: src/Cache/Persister/Collection/AbstractCollectionPersister.php - - message: "#^Parameter \\#3 \\$entry of method Doctrine\\\\ORM\\\\Cache\\\\CollectionHydrator\\:\\:loadCacheEntry\\(\\) expects Doctrine\\\\ORM\\\\Cache\\\\CollectionCacheEntry, Doctrine\\\\ORM\\\\Cache\\\\CacheEntry given\\.$#" + message: "#^Method Doctrine\\\\ORM\\\\Cache\\\\Persister\\\\Collection\\\\AbstractCollectionPersister\\:\\:containsKey\\(\\) has parameter \\$collection with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" count: 1 path: src/Cache/Persister/Collection/AbstractCollectionPersister.php - - message: "#^Call to an undefined method Doctrine\\\\ORM\\\\Cache\\\\Region\\:\\:lock\\(\\)\\.$#" - count: 2 - path: src/Cache/Persister/Collection/ReadWriteCachedCollectionPersister.php + message: "#^Method Doctrine\\\\ORM\\\\Cache\\\\Persister\\\\Collection\\\\AbstractCollectionPersister\\:\\:count\\(\\) has parameter \\$collection with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" + count: 1 + path: src/Cache/Persister/Collection/AbstractCollectionPersister.php - - message: "#^Access to an undefined property Doctrine\\\\ORM\\\\Cache\\\\CacheEntry\\:\\:\\$class\\.$#" - count: 2 - path: src/Cache/Persister/Entity/AbstractEntityPersister.php + message: "#^Method Doctrine\\\\ORM\\\\Cache\\\\Persister\\\\Collection\\\\AbstractCollectionPersister\\:\\:evictCollectionCache\\(\\) has parameter \\$collection with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" + count: 1 + path: src/Cache/Persister/Collection/AbstractCollectionPersister.php - - message: "#^Call to an undefined method Doctrine\\\\ORM\\\\Cache\\\\Persister\\\\CachedPersister&Doctrine\\\\ORM\\\\Persisters\\\\Collection\\\\CollectionPersister\\:\\:loadCollectionCache\\(\\)\\.$#" - count: 2 - path: src/Cache/Persister/Entity/AbstractEntityPersister.php + message: "#^Method Doctrine\\\\ORM\\\\Cache\\\\Persister\\\\Collection\\\\AbstractCollectionPersister\\:\\:get\\(\\) has parameter \\$collection with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" + count: 1 + path: src/Cache/Persister/Collection/AbstractCollectionPersister.php - - message: "#^Call to an undefined method Doctrine\\\\ORM\\\\Cache\\\\Persister\\\\CachedPersister&Doctrine\\\\ORM\\\\Persisters\\\\Collection\\\\CollectionPersister\\:\\:storeCollectionCache\\(\\)\\.$#" - count: 2 - path: src/Cache/Persister/Entity/AbstractEntityPersister.php + message: "#^Method Doctrine\\\\ORM\\\\Cache\\\\Persister\\\\Collection\\\\AbstractCollectionPersister\\:\\:getSourceEntityMetadata\\(\\) return type with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata does not specify its types\\: T$#" + count: 1 + path: src/Cache/Persister/Collection/AbstractCollectionPersister.php - - message: "#^Call to an undefined method Doctrine\\\\ORM\\\\Persisters\\\\Entity\\\\EntityPersister\\:\\:storeEntityCache\\(\\)\\.$#" + message: "#^Method Doctrine\\\\ORM\\\\Cache\\\\Persister\\\\Collection\\\\AbstractCollectionPersister\\:\\:getTargetEntityMetadata\\(\\) return type with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata does not specify its types\\: T$#" count: 1 - path: src/Cache/Persister/Entity/AbstractEntityPersister.php + path: src/Cache/Persister/Collection/AbstractCollectionPersister.php - - message: "#^Parameter \\#3 \\$entry of method Doctrine\\\\ORM\\\\Cache\\\\EntityHydrator\\:\\:loadCacheEntry\\(\\) expects Doctrine\\\\ORM\\\\Cache\\\\EntityCacheEntry, Doctrine\\\\ORM\\\\Cache\\\\CacheEntry given\\.$#" + message: "#^Method Doctrine\\\\ORM\\\\Cache\\\\Persister\\\\Collection\\\\AbstractCollectionPersister\\:\\:loadCollectionCache\\(\\) has parameter \\$collection with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" count: 1 - path: src/Cache/Persister/Entity/AbstractEntityPersister.php + path: src/Cache/Persister/Collection/AbstractCollectionPersister.php - - message: "#^Call to an undefined method Doctrine\\\\ORM\\\\Cache\\\\Region\\:\\:lock\\(\\)\\.$#" - count: 2 - path: src/Cache/Persister/Entity/ReadWriteCachedEntityPersister.php + message: "#^Method Doctrine\\\\ORM\\\\Cache\\\\Persister\\\\Collection\\\\AbstractCollectionPersister\\:\\:loadCriteria\\(\\) has parameter \\$collection with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" + count: 1 + path: src/Cache/Persister/Collection/AbstractCollectionPersister.php - - message: "#^If condition is always true\\.$#" + message: "#^Method Doctrine\\\\ORM\\\\Cache\\\\Persister\\\\Collection\\\\AbstractCollectionPersister\\:\\:slice\\(\\) has parameter \\$collection with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" count: 1 - path: src/Cache/Persister/Entity/ReadWriteCachedEntityPersister.php + path: src/Cache/Persister/Collection/AbstractCollectionPersister.php - - message: "#^Method Doctrine\\\\ORM\\\\Cache\\\\Region\\\\DefaultRegion\\:\\:getCache\\(\\) should return Doctrine\\\\Common\\\\Cache\\\\CacheProvider but returns Doctrine\\\\Common\\\\Cache\\\\Cache\\.$#" + message: "#^Method Doctrine\\\\ORM\\\\Cache\\\\Persister\\\\Collection\\\\AbstractCollectionPersister\\:\\:storeCollectionCache\\(\\) has parameter \\$elements with generic interface Doctrine\\\\Common\\\\Collections\\\\Collection but does not specify its types\\: TKey, T$#" count: 1 - path: src/Cache/Region/DefaultRegion.php + path: src/Cache/Persister/Collection/AbstractCollectionPersister.php - - message: "#^Access to an undefined property Doctrine\\\\ORM\\\\Cache\\\\CacheEntry\\:\\:\\$time\\.$#" + message: "#^Parameter \\#2 \\$key of method Doctrine\\\\ORM\\\\Cache\\\\EntityHydrator\\:\\:buildCacheEntry\\(\\) expects Doctrine\\\\ORM\\\\Cache\\\\EntityCacheKey, Doctrine\\\\ORM\\\\Cache\\\\CacheKey given\\.$#" count: 1 - path: src/Cache/TimestampQueryCacheValidator.php + path: src/Cache/Persister/Collection/AbstractCollectionPersister.php - - message: "#^Class Doctrine\\\\Common\\\\Cache\\\\ArrayCache not found\\.$#" - count: 2 - path: src/Configuration.php + message: "#^Parameter \\#3 \\$entry of method Doctrine\\\\ORM\\\\Cache\\\\CollectionHydrator\\:\\:loadCacheEntry\\(\\) expects Doctrine\\\\ORM\\\\Cache\\\\CollectionCacheEntry, Doctrine\\\\ORM\\\\Cache\\\\CacheEntry given\\.$#" + count: 1 + path: src/Cache/Persister/Collection/AbstractCollectionPersister.php - - message: "#^Method Doctrine\\\\Persistence\\\\ObjectManager\\:\\:find\\(\\) invoked with 4 parameters, 2 required\\.$#" + message: "#^Property Doctrine\\\\ORM\\\\Cache\\\\Persister\\\\Collection\\\\AbstractCollectionPersister\\:\\:\\$sourceEntity with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata does not specify its types\\: T$#" count: 1 - path: src/Decorator/EntityManagerDecorator.php + path: src/Cache/Persister/Collection/AbstractCollectionPersister.php - - message: "#^Method Doctrine\\\\Persistence\\\\ObjectManager\\:\\:flush\\(\\) invoked with 1 parameter, 0 required\\.$#" + message: "#^Property Doctrine\\\\ORM\\\\Cache\\\\Persister\\\\Collection\\\\AbstractCollectionPersister\\:\\:\\$targetEntity with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata does not specify its types\\: T$#" count: 1 - path: src/Decorator/EntityManagerDecorator.php + path: src/Cache/Persister/Collection/AbstractCollectionPersister.php - - message: "#^Else branch is unreachable because ternary operator condition is always true\\.$#" + message: "#^Method Doctrine\\\\ORM\\\\Cache\\\\Persister\\\\Collection\\\\CachedCollectionPersister\\:\\:getSourceEntityMetadata\\(\\) return type with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata does not specify its types\\: T$#" count: 1 - path: src/EntityManager.php + path: src/Cache/Persister/Collection/CachedCollectionPersister.php - - message: "#^Result of && is always false\\.$#" + message: "#^Method Doctrine\\\\ORM\\\\Cache\\\\Persister\\\\Collection\\\\CachedCollectionPersister\\:\\:getTargetEntityMetadata\\(\\) return type with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata does not specify its types\\: T$#" count: 1 - path: src/EntityManager.php + path: src/Cache/Persister/Collection/CachedCollectionPersister.php - - message: "#^Return type \\(Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataFactory\\) of method Doctrine\\\\ORM\\\\EntityManager\\:\\:getMetadataFactory\\(\\) should be compatible with return type \\(Doctrine\\\\Persistence\\\\Mapping\\\\ClassMetadataFactory\\\\>\\) of method Doctrine\\\\Persistence\\\\ObjectManager\\:\\:getMetadataFactory\\(\\)$#" - count: 2 - path: src/EntityManager.php + message: "#^Method Doctrine\\\\ORM\\\\Cache\\\\Persister\\\\Collection\\\\CachedCollectionPersister\\:\\:loadCollectionCache\\(\\) has parameter \\$collection with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" + count: 1 + path: src/Cache/Persister/Collection/CachedCollectionPersister.php - - message: "#^Method Doctrine\\\\ORM\\\\EntityRepository\\:\\:matching\\(\\) should return Doctrine\\\\Common\\\\Collections\\\\AbstractLazyCollection\\&Doctrine\\\\Common\\\\Collections\\\\Selectable\\ but returns Doctrine\\\\ORM\\\\LazyCriteriaCollection\\<\\(int\\|string\\), object\\>\\.$#" + message: "#^Method Doctrine\\\\ORM\\\\Cache\\\\Persister\\\\Collection\\\\CachedCollectionPersister\\:\\:storeCollectionCache\\(\\) has parameter \\$elements with generic interface Doctrine\\\\Common\\\\Collections\\\\Collection but does not specify its types\\: TKey, T$#" count: 1 - path: src/EntityRepository.php + path: src/Cache/Persister/Collection/CachedCollectionPersister.php - - message: "#^Method Doctrine\\\\Persistence\\\\ObjectManager\\:\\:find\\(\\) invoked with 4 parameters, 2 required\\.$#" + message: "#^Method Doctrine\\\\ORM\\\\Cache\\\\Persister\\\\Collection\\\\NonStrictReadWriteCachedCollectionPersister\\:\\:delete\\(\\) has parameter \\$collection with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" count: 1 - path: src/EntityRepository.php + path: src/Cache/Persister/Collection/NonStrictReadWriteCachedCollectionPersister.php - - message: "#^Call to an undefined method Doctrine\\\\DBAL\\\\Platforms\\\\AbstractPlatform\\:\\:getTableHiLoCurrentValSql\\(\\)\\.$#" + message: "#^Method Doctrine\\\\ORM\\\\Cache\\\\Persister\\\\Collection\\\\NonStrictReadWriteCachedCollectionPersister\\:\\:update\\(\\) has parameter \\$collection with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" count: 1 - path: src/Id/TableGenerator.php + path: src/Cache/Persister/Collection/NonStrictReadWriteCachedCollectionPersister.php - - message: "#^Call to an undefined method Doctrine\\\\DBAL\\\\Platforms\\\\AbstractPlatform\\:\\:getTableHiLoUpdateNextValSql\\(\\)\\.$#" + message: "#^Method Doctrine\\\\ORM\\\\Cache\\\\Persister\\\\Collection\\\\ReadOnlyCachedCollectionPersister\\:\\:update\\(\\) has parameter \\$collection with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" count: 1 - path: src/Id/TableGenerator.php + path: src/Cache/Persister/Collection/ReadOnlyCachedCollectionPersister.php - - message: "#^If condition is always true\\.$#" + message: "#^Call to an undefined method Doctrine\\\\ORM\\\\Cache\\\\Region\\:\\:lock\\(\\)\\.$#" count: 2 - path: src/Mapping/ClassMetadataFactory.php + path: src/Cache/Persister/Collection/ReadWriteCachedCollectionPersister.php - - message: "#^Parameter \\#2 \\$class of method Doctrine\\\\ORM\\\\Mapping\\\\QuoteStrategy\\:\\:getSequenceName\\(\\) expects Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata, Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo given\\.$#" - count: 2 - path: src/Mapping/ClassMetadataFactory.php + message: "#^Method Doctrine\\\\ORM\\\\Cache\\\\Persister\\\\Collection\\\\ReadWriteCachedCollectionPersister\\:\\:__construct\\(\\) has parameter \\$association with no value type specified in iterable type array\\.$#" + count: 5 + path: src/Cache/Persister/Collection/ReadWriteCachedCollectionPersister.php - - message: "#^Call to an undefined method ReflectionProperty\\:\\:getHooks\\(\\)\\.$#" + message: "#^Method Doctrine\\\\ORM\\\\Cache\\\\Persister\\\\Collection\\\\ReadWriteCachedCollectionPersister\\:\\:delete\\(\\) has parameter \\$collection with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" count: 1 - path: src/Mapping/ClassMetadataInfo.php + path: src/Cache/Persister/Collection/ReadWriteCachedCollectionPersister.php - - message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\NamingStrategy\\:\\:joinColumnName\\(\\) invoked with 2 parameters, 1 required\\.$#" + message: "#^Method Doctrine\\\\ORM\\\\Cache\\\\Persister\\\\Collection\\\\ReadWriteCachedCollectionPersister\\:\\:update\\(\\) has parameter \\$collection with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" + count: 1 + path: src/Cache/Persister/Collection/ReadWriteCachedCollectionPersister.php + + - + message: "#^Access to an undefined property Doctrine\\\\ORM\\\\Cache\\\\CacheEntry\\:\\:\\$class\\.$#" count: 2 - path: src/Mapping/ClassMetadataInfo.php + path: src/Cache/Persister/Entity/AbstractEntityPersister.php - - message: "#^Negated boolean expression is always false\\.$#" + message: "#^Call to an undefined method Doctrine\\\\ORM\\\\Cache\\\\Persister\\\\CachedPersister&Doctrine\\\\ORM\\\\Persisters\\\\Collection\\\\CollectionPersister\\:\\:loadCollectionCache\\(\\)\\.$#" count: 2 - path: src/Mapping/ClassMetadataInfo.php + path: src/Cache/Persister/Entity/AbstractEntityPersister.php - - message: "#^Result of && is always false\\.$#" + message: "#^Call to an undefined method Doctrine\\\\ORM\\\\Cache\\\\Persister\\\\CachedPersister&Doctrine\\\\ORM\\\\Persisters\\\\Collection\\\\CollectionPersister\\:\\:storeCollectionCache\\(\\)\\.$#" + count: 2 + path: src/Cache/Persister/Entity/AbstractEntityPersister.php + + - + message: "#^Call to an undefined method Doctrine\\\\ORM\\\\Persisters\\\\Entity\\\\EntityPersister\\:\\:storeEntityCache\\(\\)\\.$#" count: 1 - path: src/Mapping/ClassMetadataInfo.php + path: src/Cache/Persister/Entity/AbstractEntityPersister.php - - message: "#^Call to an undefined method Doctrine\\\\Persistence\\\\Mapping\\\\ClassMetadata\\:\\:mapEmbedded\\(\\)\\.$#" + message: "#^Method Doctrine\\\\ORM\\\\Cache\\\\Persister\\\\Entity\\\\AbstractEntityPersister\\:\\:__construct\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" count: 1 - path: src/Mapping/Driver/AnnotationDriver.php + path: src/Cache/Persister/Entity/AbstractEntityPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Cache\\\\Persister\\\\Entity\\\\AbstractEntityPersister\\:\\:getClassMetadata\\(\\) return type with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata does not specify its types\\: T$#" + count: 1 + path: src/Cache/Persister/Entity/AbstractEntityPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Cache\\\\Persister\\\\Entity\\\\AbstractEntityPersister\\:\\:getManyToManyCollection\\(\\) has parameter \\$assoc with no value type specified in iterable type array\\.$#" + count: 5 + path: src/Cache/Persister/Entity/AbstractEntityPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Cache\\\\Persister\\\\Entity\\\\AbstractEntityPersister\\:\\:getOneToManyCollection\\(\\) has parameter \\$assoc with no value type specified in iterable type array\\.$#" + count: 5 + path: src/Cache/Persister/Entity/AbstractEntityPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Cache\\\\Persister\\\\Entity\\\\AbstractEntityPersister\\:\\:getSelectConditionStatementSQL\\(\\) has parameter \\$assoc with no value type specified in iterable type array\\.$#" + count: 5 + path: src/Cache/Persister/Entity/AbstractEntityPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Cache\\\\Persister\\\\Entity\\\\AbstractEntityPersister\\:\\:getSelectSQL\\(\\) has parameter \\$assoc with no value type specified in iterable type array\\.$#" + count: 5 + path: src/Cache/Persister/Entity/AbstractEntityPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Cache\\\\Persister\\\\Entity\\\\AbstractEntityPersister\\:\\:load\\(\\) has parameter \\$assoc with no value type specified in iterable type array\\.$#" + count: 5 + path: src/Cache/Persister/Entity/AbstractEntityPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Cache\\\\Persister\\\\Entity\\\\AbstractEntityPersister\\:\\:loadAll\\(\\) has no return type specified\\.$#" + count: 1 + path: src/Cache/Persister/Entity/AbstractEntityPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Cache\\\\Persister\\\\Entity\\\\AbstractEntityPersister\\:\\:loadManyToManyCollection\\(\\) has parameter \\$assoc with no value type specified in iterable type array\\.$#" + count: 5 + path: src/Cache/Persister/Entity/AbstractEntityPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Cache\\\\Persister\\\\Entity\\\\AbstractEntityPersister\\:\\:loadManyToManyCollection\\(\\) has parameter \\$collection with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" + count: 1 + path: src/Cache/Persister/Entity/AbstractEntityPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Cache\\\\Persister\\\\Entity\\\\AbstractEntityPersister\\:\\:loadOneToManyCollection\\(\\) has parameter \\$assoc with no value type specified in iterable type array\\.$#" + count: 5 + path: src/Cache/Persister/Entity/AbstractEntityPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Cache\\\\Persister\\\\Entity\\\\AbstractEntityPersister\\:\\:loadOneToManyCollection\\(\\) has parameter \\$collection with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" + count: 1 + path: src/Cache/Persister/Entity/AbstractEntityPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Cache\\\\Persister\\\\Entity\\\\AbstractEntityPersister\\:\\:loadOneToOneEntity\\(\\) has parameter \\$assoc with no value type specified in iterable type array\\.$#" + count: 5 + path: src/Cache/Persister/Entity/AbstractEntityPersister.php + + - + message: "#^Parameter \\#3 \\$entry of method Doctrine\\\\ORM\\\\Cache\\\\EntityHydrator\\:\\:loadCacheEntry\\(\\) expects Doctrine\\\\ORM\\\\Cache\\\\EntityCacheEntry, Doctrine\\\\ORM\\\\Cache\\\\CacheEntry given\\.$#" + count: 1 + path: src/Cache/Persister/Entity/AbstractEntityPersister.php + + - + message: "#^Property Doctrine\\\\ORM\\\\Cache\\\\Persister\\\\Entity\\\\AbstractEntityPersister\\:\\:\\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata does not specify its types\\: T$#" + count: 1 + path: src/Cache/Persister/Entity/AbstractEntityPersister.php + + - + message: "#^Call to an undefined method Doctrine\\\\ORM\\\\Cache\\\\Region\\:\\:lock\\(\\)\\.$#" + count: 2 + path: src/Cache/Persister/Entity/ReadWriteCachedEntityPersister.php + + - + message: "#^If condition is always true\\.$#" + count: 1 + path: src/Cache/Persister/Entity/ReadWriteCachedEntityPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Cache\\\\Persister\\\\Entity\\\\ReadWriteCachedEntityPersister\\:\\:__construct\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Cache/Persister/Entity/ReadWriteCachedEntityPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Cache\\\\Region\\\\DefaultRegion\\:\\:getCache\\(\\) should return Doctrine\\\\Common\\\\Cache\\\\CacheProvider but returns Doctrine\\\\Common\\\\Cache\\\\Cache\\.$#" + count: 1 + path: src/Cache/Region/DefaultRegion.php + + - + message: "#^Access to an undefined property Doctrine\\\\ORM\\\\Cache\\\\CacheEntry\\:\\:\\$time\\.$#" + count: 1 + path: src/Cache/TimestampQueryCacheValidator.php + + - + message: "#^Class Doctrine\\\\Common\\\\Cache\\\\ArrayCache not found\\.$#" + count: 2 + path: src/Configuration.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Configuration\\:\\:getDefaultRepositoryClassName\\(\\) return type with generic class Doctrine\\\\ORM\\\\EntityRepository does not specify its types\\: T$#" + count: 1 + path: src/Configuration.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Configuration\\:\\:setDefaultRepositoryClassName\\(\\) has parameter \\$className with generic class Doctrine\\\\ORM\\\\EntityRepository but does not specify its types\\: T$#" + count: 1 + path: src/Configuration.php + + - + message: "#^Parameter \\#1 \\$reader of class Doctrine\\\\ORM\\\\Mapping\\\\Driver\\\\AnnotationDriver constructor expects Doctrine\\\\Common\\\\Annotations\\\\Reader, Doctrine\\\\Common\\\\Annotations\\\\AnnotationReader\\|Doctrine\\\\Common\\\\Annotations\\\\CachedReader\\|Doctrine\\\\Common\\\\Annotations\\\\SimpleAnnotationReader given\\.$#" + count: 1 + path: src/Configuration.php + + - + message: "#^Parameter \\#2 \\$className of method Doctrine\\\\ORM\\\\Configuration\\:\\:addCustomNumericFunction\\(\\) expects \\(callable\\(string\\)\\: Doctrine\\\\ORM\\\\Query\\\\AST\\\\Functions\\\\FunctionNode\\)\\|class\\-string\\, class\\-string given\\.$#" + count: 1 + path: src/Configuration.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Decorator\\\\EntityManagerDecorator\\:\\:find\\(\\) has parameter \\$lockMode with no type specified\\.$#" + count: 1 + path: src/Decorator/EntityManagerDecorator.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Decorator\\\\EntityManagerDecorator\\:\\:find\\(\\) has parameter \\$lockVersion with no type specified\\.$#" + count: 1 + path: src/Decorator/EntityManagerDecorator.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Decorator\\\\EntityManagerDecorator\\:\\:flush\\(\\) has parameter \\$entity with no type specified\\.$#" + count: 1 + path: src/Decorator/EntityManagerDecorator.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Decorator\\\\EntityManagerDecorator\\:\\:wrapInTransaction\\(\\) has no return type specified\\.$#" + count: 1 + path: src/Decorator/EntityManagerDecorator.php + + - + message: "#^Method Doctrine\\\\Persistence\\\\ObjectManager\\:\\:find\\(\\) invoked with 4 parameters, 2 required\\.$#" + count: 1 + path: src/Decorator/EntityManagerDecorator.php + + - + message: "#^Method Doctrine\\\\Persistence\\\\ObjectManager\\:\\:flush\\(\\) invoked with 1 parameter, 0 required\\.$#" + count: 1 + path: src/Decorator/EntityManagerDecorator.php + + - + message: "#^Call to an undefined method object\\:\\:setEntityManager\\(\\)\\.$#" + count: 1 + path: src/EntityManager.php + + - + message: "#^Else branch is unreachable because ternary operator condition is always true\\.$#" + count: 1 + path: src/EntityManager.php + + - + message: "#^Method Doctrine\\\\ORM\\\\EntityManager\\:\\:checkLockRequirements\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/EntityManager.php + + - + message: "#^Method Doctrine\\\\ORM\\\\EntityManager\\:\\:find\\(\\) should return \\(T of object\\)\\|null but returns object\\.$#" + count: 1 + path: src/EntityManager.php + + - + message: "#^Method Doctrine\\\\ORM\\\\EntityManager\\:\\:find\\(\\) should return \\(T of object\\)\\|null but returns object\\|null\\.$#" + count: 3 + path: src/EntityManager.php + + - + message: "#^Method Doctrine\\\\ORM\\\\EntityManager\\:\\:getPartialReference\\(\\) should return T\\|null but returns object\\.$#" + count: 1 + path: src/EntityManager.php + + - + message: "#^Method Doctrine\\\\ORM\\\\EntityManager\\:\\:getPartialReference\\(\\) should return T\\|null but returns object\\|null\\.$#" + count: 1 + path: src/EntityManager.php + + - + message: "#^Method Doctrine\\\\ORM\\\\EntityManager\\:\\:getReference\\(\\) should return T\\|null but returns Doctrine\\\\Common\\\\Proxy\\\\Proxy\\.$#" + count: 1 + path: src/EntityManager.php + + - + message: "#^Method Doctrine\\\\ORM\\\\EntityManager\\:\\:getReference\\(\\) should return T\\|null but returns object\\|null\\.$#" + count: 2 + path: src/EntityManager.php + + - + message: "#^Method Doctrine\\\\ORM\\\\EntityManager\\:\\:getRepository\\(\\) should return Doctrine\\\\ORM\\\\EntityRepository\\ but returns Doctrine\\\\Persistence\\\\ObjectRepository\\\\.$#" + count: 1 + path: src/EntityManager.php + + - + message: "#^Method Doctrine\\\\ORM\\\\EntityManager\\:\\:initializeObject\\(\\) has parameter \\$obj with no type specified\\.$#" + count: 1 + path: src/EntityManager.php + + - + message: "#^Method Doctrine\\\\ORM\\\\EntityManager\\:\\:isUninitializedObject\\(\\) has parameter \\$obj with no type specified\\.$#" + count: 1 + path: src/EntityManager.php + + - + message: "#^Method Doctrine\\\\ORM\\\\EntityManager\\:\\:wrapInTransaction\\(\\) has no return type specified\\.$#" + count: 1 + path: src/EntityManager.php + + - + message: "#^Parameter \\#1 \\$className of method Doctrine\\\\Persistence\\\\Mapping\\\\AbstractClassMetadataFactory\\\\:\\:getMetadataFor\\(\\) expects class\\-string, string given\\.$#" + count: 2 + path: src/EntityManager.php + + - + message: "#^Parameter \\#1 \\$modeName of method Doctrine\\\\ORM\\\\Configuration\\:\\:getCustomHydrationMode\\(\\) expects string, int\\|string given\\.$#" + count: 1 + path: src/EntityManager.php + + - + message: "#^Property Doctrine\\\\ORM\\\\EntityManager\\:\\:\\$metadataFactory \\(Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataFactory\\) does not accept object\\.$#" + count: 1 + path: src/EntityManager.php + + - + message: "#^Result of && is always false\\.$#" + count: 1 + path: src/EntityManager.php + + - + message: "#^Return type \\(Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataFactory\\) of method Doctrine\\\\ORM\\\\EntityManager\\:\\:getMetadataFactory\\(\\) should be compatible with return type \\(Doctrine\\\\Persistence\\\\Mapping\\\\ClassMetadataFactory\\\\>\\) of method Doctrine\\\\Persistence\\\\ObjectManager\\:\\:getMetadataFactory\\(\\)$#" + count: 2 + path: src/EntityManager.php + + - + message: "#^Unable to resolve the template type T in call to method Doctrine\\\\ORM\\\\EntityManager\\:\\:find\\(\\)$#" + count: 1 + path: src/EntityManager.php + + - + message: "#^Method Doctrine\\\\ORM\\\\EntityRepository\\:\\:findOneBy\\(\\) should return \\(T of object\\)\\|null but returns object\\|null\\.$#" + count: 1 + path: src/EntityRepository.php + + - + message: "#^Method Doctrine\\\\ORM\\\\EntityRepository\\:\\:matching\\(\\) should return Doctrine\\\\Common\\\\Collections\\\\AbstractLazyCollection\\&Doctrine\\\\Common\\\\Collections\\\\Selectable\\ but returns Doctrine\\\\ORM\\\\LazyCriteriaCollection\\<\\(int\\|string\\), object\\>\\.$#" + count: 1 + path: src/EntityRepository.php + + - + message: "#^Method Doctrine\\\\Persistence\\\\ObjectManager\\:\\:find\\(\\) invoked with 4 parameters, 2 required\\.$#" + count: 1 + path: src/EntityRepository.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Event\\\\ListenersInvoker\\:\\:getSubscribedSystems\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Event/ListenersInvoker.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Event\\\\ListenersInvoker\\:\\:invoke\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Event/ListenersInvoker.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Event\\\\OnClassMetadataNotFoundEventArgs\\:\\:getFoundMetadata\\(\\) return type with generic interface Doctrine\\\\Persistence\\\\Mapping\\\\ClassMetadata does not specify its types\\: T$#" + count: 1 + path: src/Event/OnClassMetadataNotFoundEventArgs.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Event\\\\OnClassMetadataNotFoundEventArgs\\:\\:setFoundMetadata\\(\\) has parameter \\$classMetadata with generic interface Doctrine\\\\Persistence\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Event/OnClassMetadataNotFoundEventArgs.php + + - + message: "#^Property Doctrine\\\\ORM\\\\Event\\\\OnClassMetadataNotFoundEventArgs\\:\\:\\$foundMetadata with generic interface Doctrine\\\\Persistence\\\\Mapping\\\\ClassMetadata does not specify its types\\: T$#" + count: 1 + path: src/Event/OnClassMetadataNotFoundEventArgs.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Event\\\\PreUpdateEventArgs\\:\\:__construct\\(\\) has parameter \\$changeSet with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" + count: 1 + path: src/Event/PreUpdateEventArgs.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Event\\\\PreUpdateEventArgs\\:\\:getEntityChangeSet\\(\\) return type with generic class Doctrine\\\\ORM\\\\PersistentCollection does not specify its types\\: TKey, T$#" + count: 1 + path: src/Event/PreUpdateEventArgs.php + + - + message: "#^Property Doctrine\\\\ORM\\\\Event\\\\PreUpdateEventArgs\\:\\:\\$entityChangeSet with generic class Doctrine\\\\ORM\\\\PersistentCollection does not specify its types\\: TKey, T$#" + count: 1 + path: src/Event/PreUpdateEventArgs.php + + - + message: "#^Parameter \\#1 \\$className of method Doctrine\\\\ORM\\\\EntityManagerInterface\\:\\:getClassMetadata\\(\\) expects string, class\\-string\\|false given\\.$#" + count: 1 + path: src/Id/AssignedGenerator.php + + - + message: "#^Call to an undefined method Doctrine\\\\DBAL\\\\Platforms\\\\AbstractPlatform\\:\\:getTableHiLoCurrentValSql\\(\\)\\.$#" + count: 1 + path: src/Id/TableGenerator.php + + - + message: "#^Call to an undefined method Doctrine\\\\DBAL\\\\Platforms\\\\AbstractPlatform\\:\\:getTableHiLoUpdateNextValSql\\(\\)\\.$#" + count: 1 + path: src/Id/TableGenerator.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Internal\\\\Hydration\\\\AbstractHydrator\\:\\:gatherRowData\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 3 + path: src/Internal/Hydration/AbstractHydrator.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Internal\\\\Hydration\\\\AbstractHydrator\\:\\:getClassMetadata\\(\\) return type with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata does not specify its types\\: T$#" + count: 1 + path: src/Internal/Hydration/AbstractHydrator.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Internal\\\\Hydration\\\\AbstractHydrator\\:\\:getDiscriminatorValues\\(\\) has parameter \\$classMetadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Internal/Hydration/AbstractHydrator.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Internal\\\\Hydration\\\\AbstractHydrator\\:\\:registerManaged\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Internal/Hydration/AbstractHydrator.php + + - + message: "#^Offset 'joinColumns' does not exist on array\\{cache\\?\\: array, cascade\\: array\\, declared\\?\\: class\\-string, fetch\\: mixed, fieldName\\: string, id\\?\\: bool, inherited\\?\\: class\\-string, indexBy\\?\\: string, \\.\\.\\.\\}\\.$#" + count: 2 + path: src/Internal/Hydration/AbstractHydrator.php + + - + message: "#^Offset 'args' does not exist on array\\{class\\: mixed, args\\?\\: array\\}\\.$#" + count: 1 + path: src/Internal/Hydration/ArrayHydrator.php + + - + message: "#^Class Doctrine\\\\ORM\\\\Internal\\\\Hydration\\\\IterableResult implements generic interface Iterator but does not specify its types\\: TKey, TValue$#" + count: 1 + path: src/Internal/Hydration/IterableResult.php + + - + message: "#^Property Doctrine\\\\ORM\\\\Internal\\\\Hydration\\\\IterableResult\\:\\:\\$current \\(array\\|null\\) does not accept array\\|false\\.$#" + count: 2 + path: src/Internal/Hydration/IterableResult.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Internal\\\\Hydration\\\\ObjectHydrator\\:\\:initRelatedCollection\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Internal/Hydration/ObjectHydrator.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Internal\\\\Hydration\\\\ObjectHydrator\\:\\:initRelatedCollection\\(\\) return type with generic class Doctrine\\\\ORM\\\\PersistentCollection does not specify its types\\: TKey, T$#" + count: 1 + path: src/Internal/Hydration/ObjectHydrator.php + + - + message: "#^Offset 'args' does not exist on array\\{class\\: mixed, args\\?\\: array\\}\\.$#" + count: 1 + path: src/Internal/Hydration/ObjectHydrator.php + + - + message: "#^Offset 'joinColumns' does not exist on array\\{cache\\?\\: array, cascade\\: array\\, declared\\?\\: class\\-string, fetch\\: mixed, fieldName\\: string, id\\?\\: bool, inherited\\?\\: class\\-string, indexBy\\?\\: string, \\.\\.\\.\\}\\.$#" + count: 2 + path: src/Internal/Hydration/ObjectHydrator.php + + - + message: "#^Property Doctrine\\\\ORM\\\\Internal\\\\Hydration\\\\ObjectHydrator\\:\\:\\$uninitializedCollections with generic class Doctrine\\\\ORM\\\\PersistentCollection does not specify its types\\: TKey, T$#" + count: 1 + path: src/Internal/Hydration/ObjectHydrator.php + + - + message: "#^Property Doctrine\\\\ORM\\\\Internal\\\\Hydration\\\\SimpleObjectHydrator\\:\\:\\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata does not specify its types\\: T$#" + count: 1 + path: src/Internal/Hydration/SimpleObjectHydrator.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Internal\\\\HydrationCompleteHandler\\:\\:deferPostLoadInvoking\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Internal/HydrationCompleteHandler.php + + - + message: "#^Property Doctrine\\\\ORM\\\\Internal\\\\StronglyConnectedComponents\\:\\:\\$representingNodes \\(array\\\\) does not accept array\\\\.$#" + count: 1 + path: src/Internal/StronglyConnectedComponents.php + + - + message: "#^Property Doctrine\\\\ORM\\\\Internal\\\\StronglyConnectedComponents\\:\\:\\$states \\(array\\\\) does not accept non\\-empty\\-array\\<''\\|int, 1\\|2\\|3\\>\\.$#" + count: 1 + path: src/Internal/StronglyConnectedComponents.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\AnsiQuoteStrategy\\:\\:getColumnAlias\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/AnsiQuoteStrategy.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\AnsiQuoteStrategy\\:\\:getColumnName\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/AnsiQuoteStrategy.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\AnsiQuoteStrategy\\:\\:getIdentifierColumnNames\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/AnsiQuoteStrategy.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\AnsiQuoteStrategy\\:\\:getJoinColumnName\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/AnsiQuoteStrategy.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\AnsiQuoteStrategy\\:\\:getJoinTableName\\(\\) has parameter \\$association with no value type specified in iterable type array\\.$#" + count: 5 + path: src/Mapping/AnsiQuoteStrategy.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\AnsiQuoteStrategy\\:\\:getJoinTableName\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/AnsiQuoteStrategy.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\AnsiQuoteStrategy\\:\\:getReferencedJoinColumnName\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/AnsiQuoteStrategy.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\AnsiQuoteStrategy\\:\\:getSequenceName\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/AnsiQuoteStrategy.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\AnsiQuoteStrategy\\:\\:getTableName\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/AnsiQuoteStrategy.php + + - + message: "#^Offset 'joinTable' does not exist on array\\{cache\\?\\: array, cascade\\: array\\, declared\\?\\: class\\-string, fetch\\: mixed, fieldName\\: string, id\\?\\: bool, inherited\\?\\: class\\-string, indexBy\\?\\: string, \\.\\.\\.\\}\\.$#" + count: 1 + path: src/Mapping/AnsiQuoteStrategy.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\Builder\\\\ClassMetadataBuilder\\:\\:__construct\\(\\) has parameter \\$cm with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/Builder/ClassMetadataBuilder.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\Builder\\\\ClassMetadataBuilder\\:\\:getClassMetadata\\(\\) return type with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo does not specify its types\\: T$#" + count: 1 + path: src/Mapping/Builder/ClassMetadataBuilder.php + + - + message: "#^Parameter \\#1 \\$repositoryClassName of method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo\\\\:\\:setCustomRepositoryClass\\(\\) expects class\\-string\\\\|null, string given\\.$#" + count: 1 + path: src/Mapping/Builder/ClassMetadataBuilder.php + + - + message: "#^Property Doctrine\\\\ORM\\\\Mapping\\\\Builder\\\\ClassMetadataBuilder\\:\\:\\$cm with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo does not specify its types\\: T$#" + count: 1 + path: src/Mapping/Builder/ClassMetadataBuilder.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\Builder\\\\EntityListenerBuilder\\:\\:bindEntityListener\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/Builder/EntityListenerBuilder.php + + - + message: "#^If condition is always true\\.$#" + count: 2 + path: src/Mapping/ClassMetadataFactory.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataFactory\\:\\:addDefaultDiscriminatorMap\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/ClassMetadataFactory.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataFactory\\:\\:addInheritedEmbeddedClasses\\(\\) has parameter \\$parentClass with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/ClassMetadataFactory.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataFactory\\:\\:addInheritedEmbeddedClasses\\(\\) has parameter \\$subClass with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/ClassMetadataFactory.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataFactory\\:\\:addInheritedFields\\(\\) has parameter \\$parentClass with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/ClassMetadataFactory.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataFactory\\:\\:addInheritedFields\\(\\) has parameter \\$subClass with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/ClassMetadataFactory.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataFactory\\:\\:addInheritedIndexes\\(\\) has parameter \\$parentClass with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/ClassMetadataFactory.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataFactory\\:\\:addInheritedIndexes\\(\\) has parameter \\$subClass with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/ClassMetadataFactory.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataFactory\\:\\:addInheritedNamedNativeQueries\\(\\) has parameter \\$parentClass with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/ClassMetadataFactory.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataFactory\\:\\:addInheritedNamedNativeQueries\\(\\) has parameter \\$subClass with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/ClassMetadataFactory.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataFactory\\:\\:addInheritedNamedQueries\\(\\) has parameter \\$parentClass with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/ClassMetadataFactory.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataFactory\\:\\:addInheritedNamedQueries\\(\\) has parameter \\$subClass with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/ClassMetadataFactory.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataFactory\\:\\:addInheritedRelations\\(\\) has parameter \\$parentClass with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/ClassMetadataFactory.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataFactory\\:\\:addInheritedRelations\\(\\) has parameter \\$subClass with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/ClassMetadataFactory.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataFactory\\:\\:addInheritedSqlResultSetMappings\\(\\) has parameter \\$parentClass with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/ClassMetadataFactory.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataFactory\\:\\:addInheritedSqlResultSetMappings\\(\\) has parameter \\$subClass with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/ClassMetadataFactory.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataFactory\\:\\:addMappingInheritanceInformation\\(\\) has parameter \\$mapping with no value type specified in iterable type array\\.$#" + count: 5 + path: src/Mapping/ClassMetadataFactory.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataFactory\\:\\:addMappingInheritanceInformation\\(\\) has parameter \\$parentClass with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/ClassMetadataFactory.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataFactory\\:\\:addNestedEmbeddedClasses\\(\\) has parameter \\$parentClass with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/ClassMetadataFactory.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataFactory\\:\\:addNestedEmbeddedClasses\\(\\) has parameter \\$subClass with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/ClassMetadataFactory.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataFactory\\:\\:completeIdGeneratorMapping\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/ClassMetadataFactory.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataFactory\\:\\:doLoadMetadata\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/ClassMetadataFactory.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataFactory\\:\\:doLoadMetadata\\(\\) has parameter \\$parent with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/ClassMetadataFactory.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataFactory\\:\\:findAbstractEntityClassesNotListedInDiscriminatorMap\\(\\) has parameter \\$rootEntityClass with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/ClassMetadataFactory.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataFactory\\:\\:getFqcnFromAlias\\(\\) has parameter \\$namespaceAlias with no type specified\\.$#" + count: 1 + path: src/Mapping/ClassMetadataFactory.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataFactory\\:\\:getFqcnFromAlias\\(\\) has parameter \\$simpleClassName with no type specified\\.$#" + count: 1 + path: src/Mapping/ClassMetadataFactory.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataFactory\\:\\:inheritIdGeneratorMapping\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/ClassMetadataFactory.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataFactory\\:\\:inheritIdGeneratorMapping\\(\\) has parameter \\$parent with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/ClassMetadataFactory.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataFactory\\:\\:initializeReflection\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/ClassMetadataFactory.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataFactory\\:\\:isEntity\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/ClassMetadataFactory.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataFactory\\:\\:newClassMetadataInstance\\(\\) return type with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata does not specify its types\\: T$#" + count: 1 + path: src/Mapping/ClassMetadataFactory.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataFactory\\:\\:onNotFoundMetadata\\(\\) has parameter \\$className with no type specified\\.$#" + count: 1 + path: src/Mapping/ClassMetadataFactory.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataFactory\\:\\:onNotFoundMetadata\\(\\) return type with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata does not specify its types\\: T$#" + count: 1 + path: src/Mapping/ClassMetadataFactory.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataFactory\\:\\:validateRuntimeMetadata\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/ClassMetadataFactory.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataFactory\\:\\:validateRuntimeMetadata\\(\\) has parameter \\$parent with generic interface Doctrine\\\\Persistence\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/ClassMetadataFactory.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataFactory\\:\\:wakeupReflection\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/ClassMetadataFactory.php + + - + message: "#^Parameter \\#1 \\$generator of method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo\\\\:\\:setIdGenerator\\(\\) expects Doctrine\\\\ORM\\\\Id\\\\AbstractIdGenerator, object given\\.$#" + count: 1 + path: src/Mapping/ClassMetadataFactory.php + + - + message: "#^Parameter \\#2 \\$class of method Doctrine\\\\ORM\\\\Mapping\\\\QuoteStrategy\\:\\:getSequenceName\\(\\) expects Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata, Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo given\\.$#" + count: 2 + path: src/Mapping/ClassMetadataFactory.php + + - + message: "#^Parameter \\#5 \\.\\.\\.\\$args of static method Doctrine\\\\Deprecations\\\\Deprecation\\:\\:trigger\\(\\) expects float\\|int\\|string, class\\-string\\|false given\\.$#" + count: 1 + path: src/Mapping/ClassMetadataFactory.php + + - + message: "#^Call to an undefined method ReflectionProperty\\:\\:getHooks\\(\\)\\.$#" + count: 1 + path: src/Mapping/ClassMetadataInfo.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo\\:\\:_storeAssociationMapping\\(\\) has parameter \\$assocMapping with no value type specified in iterable type array\\.$#" + count: 5 + path: src/Mapping/ClassMetadataInfo.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo\\:\\:_validateAndCompleteAssociationMapping\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 5 + path: src/Mapping/ClassMetadataInfo.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo\\:\\:_validateAndCompleteAssociationMapping\\(\\) should return array\\{cache\\?\\: array, cascade\\: array\\, declared\\?\\: class\\-string, fetch\\: mixed, fieldName\\: string, id\\?\\: bool, inherited\\?\\: class\\-string, indexBy\\?\\: string, \\.\\.\\.\\} but returns non\\-empty\\-array\\.$#" + count: 1 + path: src/Mapping/ClassMetadataInfo.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo\\:\\:_validateAndCompleteManyToManyMapping\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 5 + path: src/Mapping/ClassMetadataInfo.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo\\:\\:_validateAndCompleteOneToManyMapping\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 5 + path: src/Mapping/ClassMetadataInfo.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo\\:\\:_validateAndCompleteOneToOneMapping\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 5 + path: src/Mapping/ClassMetadataInfo.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo\\:\\:addInheritedAssociationMapping\\(\\) has parameter \\$mapping with no value type specified in iterable type array\\.$#" + count: 5 + path: src/Mapping/ClassMetadataInfo.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo\\:\\:assertMappingOrderBy\\(\\) has parameter \\$mapping with no value type specified in iterable type array\\.$#" + count: 5 + path: src/Mapping/ClassMetadataInfo.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo\\:\\:getAssociationMappedByTargetField\\(\\) has parameter \\$fieldName with no type specified\\.$#" + count: 1 + path: src/Mapping/ClassMetadataInfo.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo\\:\\:getAssociationMapping\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 5 + path: src/Mapping/ClassMetadataInfo.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo\\:\\:getAssociationMappings\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 5 + path: src/Mapping/ClassMetadataInfo.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo\\:\\:getSqlResultSetMapping\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 2 + path: src/Mapping/ClassMetadataInfo.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo\\:\\:getSqlResultSetMappings\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 2 + path: src/Mapping/ClassMetadataInfo.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo\\:\\:hasAssociation\\(\\) has parameter \\$fieldName with no type specified\\.$#" + count: 1 + path: src/Mapping/ClassMetadataInfo.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo\\:\\:hasField\\(\\) has parameter \\$fieldName with no type specified\\.$#" + count: 1 + path: src/Mapping/ClassMetadataInfo.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo\\:\\:inlineEmbeddable\\(\\) has parameter \\$embeddable with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/ClassMetadataInfo.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo\\:\\:isAssociationInverseSide\\(\\) has parameter \\$fieldName with no type specified\\.$#" + count: 1 + path: src/Mapping/ClassMetadataInfo.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo\\:\\:isCollectionValuedAssociation\\(\\) has parameter \\$fieldName with no type specified\\.$#" + count: 1 + path: src/Mapping/ClassMetadataInfo.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo\\:\\:isSingleValuedAssociation\\(\\) has parameter \\$fieldName with no type specified\\.$#" + count: 1 + path: src/Mapping/ClassMetadataInfo.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo\\:\\:setCustomRepositoryClass\\(\\) has parameter \\$repositoryClassName with generic class Doctrine\\\\ORM\\\\EntityRepository but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/ClassMetadataInfo.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo\\:\\:validateAndCompleteFieldMapping\\(\\) should return array\\{type\\: string, fieldName\\: string, columnName\\: string, length\\?\\: int, id\\?\\: bool, nullable\\?\\: bool, notInsertable\\?\\: bool, notUpdatable\\?\\: bool, \\.\\.\\.\\} but returns array\\{fieldName\\: string, columnName\\: string, id\\?\\: bool, generated\\?\\: int, enumType\\?\\: class\\-string, type\\: string, quoted\\?\\: true, requireSQLConversion\\?\\: true\\}\\.$#" + count: 1 + path: src/Mapping/ClassMetadataInfo.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\NamingStrategy\\:\\:joinColumnName\\(\\) invoked with 2 parameters, 1 required\\.$#" + count: 2 + path: src/Mapping/ClassMetadataInfo.php + + - + message: "#^Negated boolean expression is always false\\.$#" + count: 2 + path: src/Mapping/ClassMetadataInfo.php + + - + message: "#^Offset 'joinColumns' does not exist on array\\{cache\\?\\: array, cascade\\: array\\, declared\\?\\: class\\-string, fetch\\: mixed, fieldName\\: string, id\\?\\: bool, inherited\\?\\: class\\-string, indexBy\\?\\: string, \\.\\.\\.\\}\\.$#" + count: 5 + path: src/Mapping/ClassMetadataInfo.php + + - + message: "#^Offset 'originalClass' does not exist on array\\{type\\: string, fieldName\\: string, columnName\\: string, length\\?\\: int, id\\?\\: bool, nullable\\?\\: bool, notInsertable\\?\\: bool, notUpdatable\\?\\: bool, \\.\\.\\.\\}\\.$#" + count: 2 + path: src/Mapping/ClassMetadataInfo.php + + - + message: "#^Offset 'originalField' does not exist on array\\{type\\: string, fieldName\\: string, columnName\\: string, length\\?\\: int, id\\?\\: bool, nullable\\?\\: bool, notInsertable\\?\\: bool, notUpdatable\\?\\: bool, \\.\\.\\.\\}\\.$#" + count: 1 + path: src/Mapping/ClassMetadataInfo.php + + - + message: "#^Parameter \\#1 \\$class of method Doctrine\\\\Persistence\\\\Mapping\\\\ReflectionService\\:\\:getAccessibleProperty\\(\\) expects class\\-string, string given\\.$#" + count: 1 + path: src/Mapping/ClassMetadataInfo.php + + - + message: "#^Parameter \\#1 \\$mapping of method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo\\\\:\\:validateAndCompleteTypedAssociationMapping\\(\\) expects array\\{type\\: 1\\|2\\|4\\|8, fieldName\\: string, targetEntity\\?\\: class\\-string\\}, non\\-empty\\-array\\ given\\.$#" + count: 1 + path: src/Mapping/ClassMetadataInfo.php + + - + message: "#^Property Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo\\:\\:\\$associationMappings type has no value type specified in iterable type array\\.$#" + count: 5 + path: src/Mapping/ClassMetadataInfo.php + + - + message: "#^Property Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo\\:\\:\\$customRepositoryClassName with generic class Doctrine\\\\ORM\\\\EntityRepository does not specify its types\\: T$#" + count: 1 + path: src/Mapping/ClassMetadataInfo.php + + - + message: "#^Property Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo\\:\\:\\$reflClass with generic class ReflectionClass does not specify its types\\: T$#" + count: 1 + path: src/Mapping/ClassMetadataInfo.php + + - + message: "#^Property Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo\\:\\:\\$table type has no value type specified in iterable type array\\.$#" + count: 2 + path: src/Mapping/ClassMetadataInfo.php + + - + message: "#^Property Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo\\\\:\\:\\$associationMappings \\(array\\, declared\\?\\: class\\-string, fetch\\: mixed, fieldName\\: string, id\\?\\: bool, inherited\\?\\: class\\-string, indexBy\\?\\: string, \\.\\.\\.\\}\\>\\) does not accept non\\-empty\\-array\\, declared\\?\\: class\\-string, fetch\\: mixed, fieldName\\: string, id\\?\\: bool, inherited\\?\\: class\\-string, indexBy\\?\\: string, \\.\\.\\.\\}\\>\\.$#" + count: 1 + path: src/Mapping/ClassMetadataInfo.php + + - + message: "#^Property Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo\\\\:\\:\\$customRepositoryClassName \\(class\\-string\\\\|null\\) does not accept string\\|null\\.$#" + count: 1 + path: src/Mapping/ClassMetadataInfo.php + + - + message: "#^Property Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo\\\\:\\:\\$discriminatorMap \\(array\\\\) does not accept array\\\\.$#" + count: 1 + path: src/Mapping/ClassMetadataInfo.php + + - + message: "#^Property Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo\\\\:\\:\\$embeddedClasses \\(array\\\\) does not accept non\\-empty\\-array\\\\.$#" + count: 1 + path: src/Mapping/ClassMetadataInfo.php + + - + message: "#^Property Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo\\\\:\\:\\$entityListeners \\(array\\\\>\\) does not accept non\\-empty\\-array\\\\>\\.$#" + count: 1 + path: src/Mapping/ClassMetadataInfo.php + + - + message: "#^Property Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo\\\\:\\:\\$namedNativeQueries \\(array\\\\>\\) does not accept array\\\\>\\.$#" + count: 1 + path: src/Mapping/ClassMetadataInfo.php + + - + message: "#^Property Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo\\\\:\\:\\$namedQueries \\(array\\\\>\\) does not accept array\\\\>\\.$#" + count: 1 + path: src/Mapping/ClassMetadataInfo.php + + - + message: "#^Property Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo\\\\:\\:\\$sqlResultSetMappings \\(array\\\\) does not accept non\\-empty\\-array\\\\>\\.$#" + count: 1 + path: src/Mapping/ClassMetadataInfo.php + + - + message: "#^Property Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo\\\\:\\:\\$subClasses \\(array\\\\) does not accept array\\\\.$#" + count: 1 + path: src/Mapping/ClassMetadataInfo.php + + - + message: "#^Result of && is always false\\.$#" + count: 1 + path: src/Mapping/ClassMetadataInfo.php + + - + message: "#^Property Doctrine\\\\ORM\\\\Mapping\\\\DefaultEntityListenerResolver\\:\\:\\$instances \\(array\\\\) does not accept array\\\\.$#" + count: 1 + path: src/Mapping/DefaultEntityListenerResolver.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\DefaultQuoteStrategy\\:\\:getColumnAlias\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/DefaultQuoteStrategy.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\DefaultQuoteStrategy\\:\\:getColumnName\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/DefaultQuoteStrategy.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\DefaultQuoteStrategy\\:\\:getIdentifierColumnNames\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/DefaultQuoteStrategy.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\DefaultQuoteStrategy\\:\\:getJoinColumnName\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/DefaultQuoteStrategy.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\DefaultQuoteStrategy\\:\\:getJoinTableName\\(\\) has parameter \\$association with no value type specified in iterable type array\\.$#" + count: 5 + path: src/Mapping/DefaultQuoteStrategy.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\DefaultQuoteStrategy\\:\\:getJoinTableName\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/DefaultQuoteStrategy.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\DefaultQuoteStrategy\\:\\:getReferencedJoinColumnName\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/DefaultQuoteStrategy.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\DefaultQuoteStrategy\\:\\:getSequenceName\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/DefaultQuoteStrategy.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\DefaultQuoteStrategy\\:\\:getTableName\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/DefaultQuoteStrategy.php + + - + message: "#^Offset 'joinColumns' does not exist on array\\{cache\\?\\: array, cascade\\: array\\, declared\\?\\: class\\-string, fetch\\: mixed, fieldName\\: string, id\\?\\: bool, inherited\\?\\: class\\-string, indexBy\\?\\: string, \\.\\.\\.\\}\\.$#" + count: 1 + path: src/Mapping/DefaultQuoteStrategy.php + + - + message: "#^Offset 'joinTable' does not exist on array\\{cache\\?\\: array, cascade\\: array\\, declared\\?\\: class\\-string, fetch\\: mixed, fieldName\\: string, id\\?\\: bool, inherited\\?\\: class\\-string, indexBy\\?\\: string, \\.\\.\\.\\}\\.$#" + count: 1 + path: src/Mapping/DefaultQuoteStrategy.php + + - + message: "#^Access to an undefined property object\\:\\:\\$region\\.$#" + count: 1 + path: src/Mapping/Driver/AnnotationDriver.php + + - + message: "#^Access to an undefined property object\\:\\:\\$usage\\.$#" + count: 1 + path: src/Mapping/Driver/AnnotationDriver.php + + - + message: "#^Access to an undefined property object\\:\\:\\$value\\.$#" + count: 3 + path: src/Mapping/Driver/AnnotationDriver.php + + - + message: "#^Call to an undefined method Doctrine\\\\Persistence\\\\Mapping\\\\ClassMetadata\\:\\:mapEmbedded\\(\\)\\.$#" + count: 1 + path: src/Mapping/Driver/AnnotationDriver.php + + - + message: "#^Call to an undefined method Doctrine\\\\Persistence\\\\Mapping\\\\ClassMetadata\\:\\:mapManyToMany\\(\\)\\.$#" + count: 1 + path: src/Mapping/Driver/AnnotationDriver.php + + - + message: "#^Call to an undefined method Doctrine\\\\Persistence\\\\Mapping\\\\ClassMetadata\\:\\:mapManyToOne\\(\\)\\.$#" + count: 1 + path: src/Mapping/Driver/AnnotationDriver.php + + - + message: "#^Call to an undefined method Doctrine\\\\Persistence\\\\Mapping\\\\ClassMetadata\\:\\:mapOneToMany\\(\\)\\.$#" + count: 1 + path: src/Mapping/Driver/AnnotationDriver.php + + - + message: "#^Call to an undefined method Doctrine\\\\Persistence\\\\Mapping\\\\ClassMetadata\\:\\:mapOneToOne\\(\\)\\.$#" + count: 1 + path: src/Mapping/Driver/AnnotationDriver.php + + - + message: "#^Expression on left side of \\?\\? is not nullable\\.$#" + count: 1 + path: src/Mapping/Driver/AnnotationDriver.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\Driver\\\\AnnotationDriver\\:\\:columnToArray\\(\\) should return array\\{fieldName\\: string, type\\: mixed, scale\\: int, length\\: int, unique\\: bool, nullable\\: bool, precision\\: int, notInsertable\\?\\: bool, \\.\\.\\.\\} but returns array\\{fieldName\\: string, type\\: mixed, scale\\: int\\|null, length\\: int\\|null, unique\\: bool, nullable\\: bool, precision\\: int\\|null, notInsertable\\?\\: true, \\.\\.\\.\\}\\.$#" + count: 1 + path: src/Mapping/Driver/AnnotationDriver.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\Driver\\\\AnnotationDriver\\:\\:isRepeatedPropertyDeclaration\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/Driver/AnnotationDriver.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\Driver\\\\AnnotationDriver\\:\\:loadRelationShipMapping\\(\\) has parameter \\$metadata with generic interface Doctrine\\\\Persistence\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/Driver/AnnotationDriver.php + + - + message: "#^Offset 'indexes' does not exist on array\\{name\\: string\\|null, schema\\: string\\|null, indexes\\?\\: non\\-empty\\-array\\<0\\|non\\-falsy\\-string, array\\{columns\\?\\: non\\-empty\\-array\\, fields\\?\\: non\\-empty\\-array\\, flags\\?\\: non\\-empty\\-array\\, options\\?\\: non\\-empty\\-array\\\\}&non\\-empty\\-array\\>\\}\\.$#" + count: 1 + path: src/Mapping/Driver/AnnotationDriver.php + + - + message: "#^Offset 'uniqueConstraints' does not exist on array\\{name\\: string\\|null, schema\\: string\\|null, indexes\\?\\: non\\-empty\\-array\\<0\\|non\\-falsy\\-string, array\\{columns\\?\\: non\\-empty\\-array\\, fields\\?\\: non\\-empty\\-array\\, flags\\?\\: non\\-empty\\-array\\, options\\?\\: non\\-empty\\-array\\\\}&non\\-empty\\-array\\>, uniqueConstraints\\?\\: non\\-empty\\-array\\<0\\|non\\-falsy\\-string, array\\{columns\\?\\: non\\-empty\\-array\\, fields\\?\\: non\\-empty\\-array\\, options\\?\\: non\\-empty\\-array\\\\}&non\\-empty\\-array\\>\\}\\.$#" + count: 1 + path: src/Mapping/Driver/AnnotationDriver.php + + - + message: "#^Parameter \\#1 \\$definition of method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo\\\\:\\:setSequenceGeneratorDefinition\\(\\) expects array\\{sequenceName\\?\\: string, allocationSize\\?\\: int\\|string, initialValue\\?\\: int\\|string, quoted\\?\\: mixed\\}, array\\{sequenceName\\: string\\|null, allocationSize\\: int, initialValue\\: int\\} given\\.$#" + count: 1 + path: src/Mapping/Driver/AnnotationDriver.php + + - + message: "#^Expression on left side of \\?\\? is not nullable\\.$#" + count: 1 + path: src/Mapping/Driver/AttributeDriver.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\Driver\\\\AttributeDriver\\:\\:columnToArray\\(\\) should return array\\{fieldName\\: string, type\\: mixed, scale\\: int, length\\: int, unique\\: bool, nullable\\: bool, precision\\: int, enumType\\?\\: class\\-string, \\.\\.\\.\\} but returns array\\{fieldName\\: string, type\\: mixed, scale\\: int\\|null, length\\: int\\|null, unique\\: bool, nullable\\: bool, precision\\: int\\|null, options\\?\\: non\\-empty\\-array\\, \\.\\.\\.\\}\\.$#" + count: 1 + path: src/Mapping/Driver/AttributeDriver.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\Driver\\\\AttributeDriver\\:\\:isRepeatedPropertyDeclaration\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/Driver/AttributeDriver.php + + - + message: "#^Parameter \\#1 \\$columnDef of method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo\\\\:\\:setDiscriminatorColumn\\(\\) expects array\\{name\\: string\\|null, fieldName\\?\\: string, type\\?\\: string, length\\?\\: int, columnDefinition\\?\\: string\\|null, enumType\\?\\: class\\-string\\\\|null, options\\?\\: array\\\\}\\|null, array\\{name\\: string\\|null, type\\: string, length\\: int, columnDefinition\\: string\\|null, enumType\\: string\\|null, options\\?\\: array\\} given\\.$#" + count: 1 + path: src/Mapping/Driver/AttributeDriver.php + + - + message: "#^Parameter \\#1 \\$definition of method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo\\\\:\\:setSequenceGeneratorDefinition\\(\\) expects array\\{sequenceName\\?\\: string, allocationSize\\?\\: int\\|string, initialValue\\?\\: int\\|string, quoted\\?\\: mixed\\}, array\\{sequenceName\\: string\\|null, allocationSize\\: int, initialValue\\: int\\} given\\.$#" + count: 1 + path: src/Mapping/Driver/AttributeDriver.php + + - + message: "#^Cannot call method getName\\(\\) on Doctrine\\\\DBAL\\\\Schema\\\\Column\\|false\\.$#" + count: 1 + path: src/Mapping/Driver/DatabaseDriver.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\Driver\\\\DatabaseDriver\\:\\:__construct\\(\\) has parameter \\$schemaManager with generic class Doctrine\\\\DBAL\\\\Schema\\\\AbstractSchemaManager but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/Driver/DatabaseDriver.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\Driver\\\\DatabaseDriver\\:\\:buildFieldMappings\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/Driver/DatabaseDriver.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\Driver\\\\DatabaseDriver\\:\\:buildIndexes\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/Driver/DatabaseDriver.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\Driver\\\\DatabaseDriver\\:\\:buildToOneAssociationMappings\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/Driver/DatabaseDriver.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\Driver\\\\DatabaseDriver\\:\\:getClassNameForTable\\(\\) should return class\\-string but returns string\\.$#" + count: 2 + path: src/Mapping/Driver/DatabaseDriver.php + + - + message: "#^Parameter \\#2 \\$columnName of method Doctrine\\\\ORM\\\\Mapping\\\\Driver\\\\DatabaseDriver\\:\\:getFieldNameForColumn\\(\\) expects string, string\\|false given\\.$#" + count: 4 + path: src/Mapping/Driver/DatabaseDriver.php + + - + message: "#^Parameter \\#4 \\.\\.\\.\\$args of static method Doctrine\\\\Deprecations\\\\Deprecation\\:\\:trigger\\(\\) expects float\\|int\\|string, false given\\.$#" + count: 1 + path: src/Mapping/Driver/DatabaseDriver.php + + - + message: "#^Property Doctrine\\\\ORM\\\\Mapping\\\\Driver\\\\DatabaseDriver\\:\\:\\$sm with generic class Doctrine\\\\DBAL\\\\Schema\\\\AbstractSchemaManager does not specify its types\\: T$#" + count: 1 + path: src/Mapping/Driver/DatabaseDriver.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\Driver\\\\SimplifiedXmlDriver\\:\\:__construct\\(\\) has parameter \\$fileExtension with no type specified\\.$#" + count: 1 + path: src/Mapping/Driver/SimplifiedXmlDriver.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\Driver\\\\SimplifiedXmlDriver\\:\\:__construct\\(\\) has parameter \\$prefixes with no type specified\\.$#" + count: 1 + path: src/Mapping/Driver/SimplifiedXmlDriver.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\Driver\\\\SimplifiedYamlDriver\\:\\:__construct\\(\\) has parameter \\$fileExtension with no type specified\\.$#" + count: 1 + path: src/Mapping/Driver/SimplifiedYamlDriver.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\Driver\\\\SimplifiedYamlDriver\\:\\:__construct\\(\\) has parameter \\$prefixes with no type specified\\.$#" + count: 1 + path: src/Mapping/Driver/SimplifiedYamlDriver.php + + - + message: "#^Empty array passed to foreach\\.$#" + count: 1 + path: src/Mapping/Driver/XmlDriver.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\Driver\\\\XmlDriver\\:\\:__construct\\(\\) has parameter \\$fileExtension with no type specified\\.$#" + count: 1 + path: src/Mapping/Driver/XmlDriver.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\Driver\\\\XmlDriver\\:\\:cacheToArray\\(\\) should return array\\{usage\\: int\\|null, region\\?\\: string\\} but returns array\\{usage\\: ''\\|'0'\\|int\\|null, region\\: string\\|null\\}\\.$#" + count: 1 + path: src/Mapping/Driver/XmlDriver.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\Driver\\\\XmlDriver\\:\\:columnToArray\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: src/Mapping/Driver/XmlDriver.php + + - + message: "#^Offset 'version' on \\*NEVER\\* in isset\\(\\) always exists and is not nullable\\.$#" + count: 1 + path: src/Mapping/Driver/XmlDriver.php + + - + message: "#^Parameter \\#1 \\$columnDef of method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo\\\\:\\:setDiscriminatorColumn\\(\\) expects array\\{name\\: string\\|null, fieldName\\?\\: string, type\\?\\: string, length\\?\\: int, columnDefinition\\?\\: string\\|null, enumType\\?\\: class\\-string\\\\|null, options\\?\\: array\\\\}\\|null, array\\{name\\: string\\|null, type\\: string, length\\: int, columnDefinition\\: string\\|null, enumType\\: string\\|null, options\\?\\: array\\\\|bool\\|string\\>\\} given\\.$#" + count: 1 + path: src/Mapping/Driver/XmlDriver.php + + - + message: "#^Parameter \\#1 \\$data of function simplexml_load_string expects string, string\\|false given\\.$#" + count: 1 + path: src/Mapping/Driver/XmlDriver.php + + - + message: "#^Parameter \\#1 \\$repositoryClassName of method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo\\\\:\\:setCustomRepositoryClass\\(\\) expects class\\-string\\\\|null, string given\\.$#" + count: 1 + path: src/Mapping/Driver/XmlDriver.php + + - + message: "#^Parameter \\#1 \\$repositoryClassName of method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo\\\\:\\:setCustomRepositoryClass\\(\\) expects class\\-string\\\\|null, string\\|null given\\.$#" + count: 1 + path: src/Mapping/Driver/XmlDriver.php + + - + message: "#^Property Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo\\\\:\\:\\$table \\(array\\{name\\: string, schema\\?\\: string, indexes\\?\\: array, uniqueConstraints\\?\\: array, options\\?\\: array\\, quoted\\?\\: bool\\}\\) does not accept array\\{name\\: string, schema\\?\\: string, indexes\\?\\: array, uniqueConstraints\\?\\: array, options\\: array\\\\|bool\\|string\\>, quoted\\?\\: bool\\}\\.$#" + count: 1 + path: src/Mapping/Driver/XmlDriver.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\Driver\\\\YamlDriver\\:\\:__construct\\(\\) has parameter \\$fileExtension with no type specified\\.$#" + count: 1 + path: src/Mapping/Driver/YamlDriver.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\Driver\\\\YamlDriver\\:\\:cacheToArray\\(\\) should return array\\{usage\\: int\\|null, region\\: string\\|null\\} but returns array\\{usage\\: ''\\|'0'\\|int\\|null, region\\: string\\|null\\}\\.$#" + count: 1 + path: src/Mapping/Driver/YamlDriver.php + + - + message: "#^Parameter \\#1 \\$columnDef of method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo\\\\:\\:setDiscriminatorColumn\\(\\) expects array\\{name\\: string\\|null, fieldName\\?\\: string, type\\?\\: string, length\\?\\: int, columnDefinition\\?\\: string\\|null, enumType\\?\\: class\\-string\\\\|null, options\\?\\: array\\\\}\\|null, array\\{name\\: string\\|null, type\\: string, length\\: int, columnDefinition\\: string\\|null, enumType\\: string\\|null\\} given\\.$#" + count: 1 + path: src/Mapping/Driver/YamlDriver.php + + - + message: "#^Parameter \\#1 \\$input of static method Symfony\\\\Component\\\\Yaml\\\\Yaml\\:\\:parse\\(\\) expects string, string\\|false given\\.$#" + count: 1 + path: src/Mapping/Driver/YamlDriver.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\Embedded\\:\\:__construct\\(\\) has parameter \\$columnPrefix with no type specified\\.$#" + count: 1 + path: src/Mapping/Embedded.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\JoinTable\\:\\:__construct\\(\\) has parameter \\$inverseJoinColumns with no type specified\\.$#" + count: 1 + path: src/Mapping/JoinTable.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\JoinTable\\:\\:__construct\\(\\) has parameter \\$joinColumns with no type specified\\.$#" + count: 1 + path: src/Mapping/JoinTable.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\MappedSuperclass\\:\\:__construct\\(\\) has parameter \\$repositoryClass with generic class Doctrine\\\\ORM\\\\EntityRepository but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/MappedSuperclass.php + + - + message: "#^Property Doctrine\\\\ORM\\\\Mapping\\\\MappedSuperclass\\:\\:\\$repositoryClass with generic class Doctrine\\\\ORM\\\\EntityRepository does not specify its types\\: T$#" + count: 1 + path: src/Mapping/MappedSuperclass.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\MappingException\\:\\:invalidIndexConfiguration\\(\\) has parameter \\$className with no type specified\\.$#" + count: 1 + path: src/Mapping/MappingException.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\MappingException\\:\\:invalidIndexConfiguration\\(\\) has parameter \\$indexName with no type specified\\.$#" + count: 1 + path: src/Mapping/MappingException.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\MappingException\\:\\:invalidUniqueConstraintConfiguration\\(\\) has parameter \\$className with no type specified\\.$#" + count: 1 + path: src/Mapping/MappingException.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\MappingException\\:\\:invalidUniqueConstraintConfiguration\\(\\) has parameter \\$indexName with no type specified\\.$#" + count: 1 + path: src/Mapping/MappingException.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\QuoteStrategy\\:\\:getColumnAlias\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/QuoteStrategy.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\QuoteStrategy\\:\\:getColumnName\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/QuoteStrategy.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\QuoteStrategy\\:\\:getIdentifierColumnNames\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/QuoteStrategy.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\QuoteStrategy\\:\\:getJoinColumnName\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/QuoteStrategy.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\QuoteStrategy\\:\\:getJoinTableName\\(\\) has parameter \\$association with no value type specified in iterable type array\\.$#" + count: 5 + path: src/Mapping/QuoteStrategy.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\QuoteStrategy\\:\\:getJoinTableName\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/QuoteStrategy.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\QuoteStrategy\\:\\:getReferencedJoinColumnName\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/QuoteStrategy.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\QuoteStrategy\\:\\:getSequenceName\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/QuoteStrategy.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\QuoteStrategy\\:\\:getTableName\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/QuoteStrategy.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\Reflection\\\\ReflectionPropertiesGetter\\:\\:getClassProperties\\(\\) has parameter \\$reflectionClass with generic class ReflectionClass but does not specify its types\\: T$#" + count: 1 + path: src/Mapping/Reflection/ReflectionPropertiesGetter.php + + - + message: "#^Parameter \\#1 \\$class of method Doctrine\\\\Persistence\\\\Mapping\\\\ReflectionService\\:\\:getAccessibleProperty\\(\\) expects class\\-string, string given\\.$#" + count: 1 + path: src/Mapping/Reflection/ReflectionPropertiesGetter.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\ReflectionEmbeddedProperty\\:\\:setValue\\(\\) has parameter \\$object with no type specified\\.$#" + count: 1 + path: src/Mapping/ReflectionEmbeddedProperty.php + + - + message: "#^Parameter \\#1 \\$className of method Doctrine\\\\Instantiator\\\\Instantiator\\:\\:instantiate\\(\\) expects class\\-string\\, string given\\.$#" + count: 1 + path: src/Mapping/ReflectionEmbeddedProperty.php + + - + message: "#^Unable to resolve the template type T in call to method Doctrine\\\\Instantiator\\\\Instantiator\\:\\:instantiate\\(\\)$#" + count: 1 + path: src/Mapping/ReflectionEmbeddedProperty.php + + - + message: "#^Call to function is_int\\(\\) with string will always evaluate to false\\.$#" + count: 1 + path: src/NativeQuery.php + + - + message: "#^Result of && is always false\\.$#" + count: 1 + path: src/NativeQuery.php + + - + message: "#^Method Doctrine\\\\ORM\\\\ORMInvalidArgumentException\\:\\:detachedEntityFoundThroughRelationship\\(\\) has parameter \\$assoc with no value type specified in iterable type array\\.$#" + count: 5 + path: src/ORMInvalidArgumentException.php + + - + message: "#^Method Doctrine\\\\ORM\\\\ORMInvalidArgumentException\\:\\:invalidAssociation\\(\\) has parameter \\$assoc with no value type specified in iterable type array\\.$#" + count: 5 + path: src/ORMInvalidArgumentException.php + + - + message: "#^Method Doctrine\\\\ORM\\\\ORMInvalidArgumentException\\:\\:invalidAssociation\\(\\) has parameter \\$targetClass with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/ORMInvalidArgumentException.php + + - + message: "#^Method Doctrine\\\\ORM\\\\ORMInvalidArgumentException\\:\\:newEntityFoundThroughRelationship\\(\\) has parameter \\$associationMapping with no value type specified in iterable type array\\.$#" + count: 5 + path: src/ORMInvalidArgumentException.php + + - + message: "#^Method Doctrine\\\\ORM\\\\ORMInvalidArgumentException\\:\\:newEntityFoundThroughRelationshipMessage\\(\\) has parameter \\$associationMapping with no value type specified in iterable type array\\.$#" + count: 5 + path: src/ORMInvalidArgumentException.php + + - + message: "#^Method Doctrine\\\\ORM\\\\PersistentCollection\\:\\:__construct\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/PersistentCollection.php + + - + message: "#^Method Doctrine\\\\ORM\\\\PersistentCollection\\:\\:get\\(\\) should return T\\|null but returns object\\|null\\.$#" + count: 1 + path: src/PersistentCollection.php + + - + message: "#^Method Doctrine\\\\ORM\\\\PersistentCollection\\:\\:getMapping\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 5 + path: src/PersistentCollection.php + + - + message: "#^Method Doctrine\\\\ORM\\\\PersistentCollection\\:\\:getTypeClass\\(\\) return type with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata does not specify its types\\: T$#" + count: 1 + path: src/PersistentCollection.php + + - + message: "#^Method Doctrine\\\\ORM\\\\PersistentCollection\\:\\:matching\\(\\) should return Doctrine\\\\Common\\\\Collections\\\\Collection\\ but returns Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\|Doctrine\\\\ORM\\\\LazyCriteriaCollection\\<\\(int\\|string\\), object\\>\\.$#" + count: 1 + path: src/PersistentCollection.php + + - + message: "#^Method Doctrine\\\\ORM\\\\PersistentCollection\\:\\:matching\\(\\) should return Doctrine\\\\Common\\\\Collections\\\\Collection\\ but returns Doctrine\\\\Common\\\\Collections\\\\ReadableCollection\\&Doctrine\\\\Common\\\\Collections\\\\Selectable\\\\.$#" + count: 1 + path: src/PersistentCollection.php + + - + message: "#^Method Doctrine\\\\ORM\\\\PersistentCollection\\:\\:setOwner\\(\\) has parameter \\$assoc with no value type specified in iterable type array\\.$#" + count: 5 + path: src/PersistentCollection.php + + - + message: "#^Offset 'orphanRemoval' does not exist on array\\{cache\\?\\: array, cascade\\: array\\, declared\\?\\: class\\-string, fetch\\: mixed, fieldName\\: string, id\\?\\: bool, inherited\\?\\: class\\-string, indexBy\\?\\: string, \\.\\.\\.\\}\\.$#" + count: 3 + path: src/PersistentCollection.php + + - + message: "#^Parameter \\#1 \\$key of method Doctrine\\\\ORM\\\\PersistentCollection\\\\:\\:set\\(\\) expects TKey of \\(int\\|string\\), int\\|string given\\.$#" + count: 1 + path: src/PersistentCollection.php + + - + message: "#^Parameter \\#2 \\$callback of function array_walk expects callable\\(object, int\\)\\: mixed, array\\{Doctrine\\\\Common\\\\Collections\\\\Collection\\&Doctrine\\\\Common\\\\Collections\\\\Selectable\\, 'add'\\} given\\.$#" + count: 1 + path: src/PersistentCollection.php + + - + message: "#^Property Doctrine\\\\ORM\\\\PersistentCollection\\:\\:\\$association type has no value type specified in iterable type array\\.$#" + count: 5 + path: src/PersistentCollection.php + + - + message: "#^Property Doctrine\\\\ORM\\\\PersistentCollection\\:\\:\\$typeClass with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata does not specify its types\\: T$#" + count: 1 + path: src/PersistentCollection.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Collection\\\\CollectionPersister\\:\\:contains\\(\\) has parameter \\$collection with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" + count: 1 + path: src/Persisters/Collection/CollectionPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Collection\\\\CollectionPersister\\:\\:containsKey\\(\\) has parameter \\$collection with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" + count: 1 + path: src/Persisters/Collection/CollectionPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Collection\\\\CollectionPersister\\:\\:count\\(\\) has parameter \\$collection with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" + count: 1 + path: src/Persisters/Collection/CollectionPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Collection\\\\CollectionPersister\\:\\:delete\\(\\) has parameter \\$collection with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" + count: 1 + path: src/Persisters/Collection/CollectionPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Collection\\\\CollectionPersister\\:\\:get\\(\\) has parameter \\$collection with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" + count: 1 + path: src/Persisters/Collection/CollectionPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Collection\\\\CollectionPersister\\:\\:loadCriteria\\(\\) has parameter \\$collection with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" + count: 1 + path: src/Persisters/Collection/CollectionPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Collection\\\\CollectionPersister\\:\\:slice\\(\\) has parameter \\$collection with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" + count: 1 + path: src/Persisters/Collection/CollectionPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Collection\\\\CollectionPersister\\:\\:update\\(\\) has parameter \\$collection with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" + count: 1 + path: src/Persisters/Collection/CollectionPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Collection\\\\ManyToManyPersister\\:\\:collectJoinTableColumnParameters\\(\\) has parameter \\$collection with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" + count: 1 + path: src/Persisters/Collection/ManyToManyPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Collection\\\\ManyToManyPersister\\:\\:contains\\(\\) has parameter \\$collection with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" + count: 1 + path: src/Persisters/Collection/ManyToManyPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Collection\\\\ManyToManyPersister\\:\\:containsKey\\(\\) has parameter \\$collection with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" + count: 1 + path: src/Persisters/Collection/ManyToManyPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Collection\\\\ManyToManyPersister\\:\\:count\\(\\) has parameter \\$collection with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" + count: 1 + path: src/Persisters/Collection/ManyToManyPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Collection\\\\ManyToManyPersister\\:\\:delete\\(\\) has parameter \\$collection with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" + count: 1 + path: src/Persisters/Collection/ManyToManyPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Collection\\\\ManyToManyPersister\\:\\:generateFilterConditionSQL\\(\\) has parameter \\$targetEntity with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Persisters/Collection/ManyToManyPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Collection\\\\ManyToManyPersister\\:\\:get\\(\\) has parameter \\$collection with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" + count: 1 + path: src/Persisters/Collection/ManyToManyPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Collection\\\\ManyToManyPersister\\:\\:getDeleteRowSQL\\(\\) has parameter \\$collection with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" + count: 1 + path: src/Persisters/Collection/ManyToManyPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Collection\\\\ManyToManyPersister\\:\\:getDeleteRowSQLParameters\\(\\) has parameter \\$collection with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" + count: 1 + path: src/Persisters/Collection/ManyToManyPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Collection\\\\ManyToManyPersister\\:\\:getDeleteSQL\\(\\) has parameter \\$collection with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" + count: 1 + path: src/Persisters/Collection/ManyToManyPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Collection\\\\ManyToManyPersister\\:\\:getDeleteSQLParameters\\(\\) has parameter \\$collection with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" + count: 1 + path: src/Persisters/Collection/ManyToManyPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Collection\\\\ManyToManyPersister\\:\\:getFilterSql\\(\\) has parameter \\$mapping with no value type specified in iterable type array\\.$#" + count: 5 + path: src/Persisters/Collection/ManyToManyPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Collection\\\\ManyToManyPersister\\:\\:getInsertRowSQL\\(\\) has parameter \\$collection with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" + count: 1 + path: src/Persisters/Collection/ManyToManyPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Collection\\\\ManyToManyPersister\\:\\:getInsertRowSQLParameters\\(\\) has parameter \\$collection with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" + count: 1 + path: src/Persisters/Collection/ManyToManyPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Collection\\\\ManyToManyPersister\\:\\:getJoinTableRestrictions\\(\\) has parameter \\$collection with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" + count: 1 + path: src/Persisters/Collection/ManyToManyPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Collection\\\\ManyToManyPersister\\:\\:getJoinTableRestrictionsWithKey\\(\\) has parameter \\$collection with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" + count: 1 + path: src/Persisters/Collection/ManyToManyPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Collection\\\\ManyToManyPersister\\:\\:getOnConditionSQL\\(\\) has parameter \\$mapping with no value type specified in iterable type array\\.$#" + count: 5 + path: src/Persisters/Collection/ManyToManyPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Collection\\\\ManyToManyPersister\\:\\:getOrderingSql\\(\\) has parameter \\$targetClass with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Persisters/Collection/ManyToManyPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Collection\\\\ManyToManyPersister\\:\\:loadCriteria\\(\\) has parameter \\$collection with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" + count: 1 + path: src/Persisters/Collection/ManyToManyPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Collection\\\\ManyToManyPersister\\:\\:slice\\(\\) has parameter \\$collection with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" + count: 1 + path: src/Persisters/Collection/ManyToManyPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Collection\\\\ManyToManyPersister\\:\\:update\\(\\) has parameter \\$collection with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" + count: 1 + path: src/Persisters/Collection/ManyToManyPersister.php + + - + message: "#^Offset 'indexBy' does not exist on array\\{cache\\?\\: array, cascade\\: array\\, declared\\?\\: class\\-string, fetch\\: mixed, fieldName\\: string, id\\?\\: bool, inherited\\?\\: class\\-string, indexBy\\?\\: string, \\.\\.\\.\\}\\.$#" + count: 1 + path: src/Persisters/Collection/ManyToManyPersister.php + + - + message: "#^Offset 'joinTable' does not exist on array\\{cache\\?\\: array, cascade\\: array\\, declared\\?\\: class\\-string, fetch\\: mixed, fieldName\\: string, id\\?\\: bool, inherited\\?\\: class\\-string, indexBy\\?\\: string, \\.\\.\\.\\}\\.$#" + count: 10 + path: src/Persisters/Collection/ManyToManyPersister.php + + - + message: "#^Offset 'joinTableColumns' does not exist on array\\{cache\\?\\: array, cascade\\: array\\, declared\\?\\: class\\-string, fetch\\: mixed, fieldName\\: string, id\\?\\: bool, inherited\\?\\: class\\-string, indexBy\\?\\: string, \\.\\.\\.\\}\\.$#" + count: 4 + path: src/Persisters/Collection/ManyToManyPersister.php + + - + message: "#^Offset 'relationToSourceKey…' does not exist on array\\{cache\\?\\: array, cascade\\: array\\, declared\\?\\: class\\-string, fetch\\: mixed, fieldName\\: string, id\\?\\: bool, inherited\\?\\: class\\-string, indexBy\\?\\: string, \\.\\.\\.\\}\\.$#" + count: 3 + path: src/Persisters/Collection/ManyToManyPersister.php + + - + message: "#^Offset 'relationToSourceKey…'\\|'relationToTargetKey…' does not exist on array\\{cache\\?\\: array, cascade\\: array\\, declared\\?\\: class\\-string, fetch\\: mixed, fieldName\\: string, id\\?\\: bool, inherited\\?\\: class\\-string, indexBy\\?\\: string, \\.\\.\\.\\}\\.$#" + count: 2 + path: src/Persisters/Collection/ManyToManyPersister.php + + - + message: "#^Offset 'relationToTargetKey…' does not exist on array\\{cache\\?\\: array, cascade\\: array\\, declared\\?\\: class\\-string, fetch\\: mixed, fieldName\\: string, id\\?\\: bool, inherited\\?\\: class\\-string, indexBy\\?\\: string, \\.\\.\\.\\}\\.$#" + count: 1 + path: src/Persisters/Collection/ManyToManyPersister.php + + - + message: "#^Parameter \\#1 \\$className of method Doctrine\\\\ORM\\\\EntityManagerInterface\\:\\:getClassMetadata\\(\\) expects string, class\\-string\\|false given\\.$#" + count: 3 + path: src/Persisters/Collection/ManyToManyPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Collection\\\\OneToManyPersister\\:\\:contains\\(\\) has parameter \\$collection with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" + count: 1 + path: src/Persisters/Collection/OneToManyPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Collection\\\\OneToManyPersister\\:\\:containsKey\\(\\) has parameter \\$collection with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" + count: 1 + path: src/Persisters/Collection/OneToManyPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Collection\\\\OneToManyPersister\\:\\:count\\(\\) has parameter \\$collection with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" + count: 1 + path: src/Persisters/Collection/OneToManyPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Collection\\\\OneToManyPersister\\:\\:delete\\(\\) has parameter \\$collection with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" + count: 1 + path: src/Persisters/Collection/OneToManyPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Collection\\\\OneToManyPersister\\:\\:delete\\(\\) should return int\\|null but empty return statement found\\.$#" + count: 1 + path: src/Persisters/Collection/OneToManyPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Collection\\\\OneToManyPersister\\:\\:deleteEntityCollection\\(\\) has parameter \\$collection with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" + count: 1 + path: src/Persisters/Collection/OneToManyPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Collection\\\\OneToManyPersister\\:\\:deleteJoinedEntityCollection\\(\\) has parameter \\$collection with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" + count: 1 + path: src/Persisters/Collection/OneToManyPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Collection\\\\OneToManyPersister\\:\\:get\\(\\) has parameter \\$collection with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" + count: 1 + path: src/Persisters/Collection/OneToManyPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Collection\\\\OneToManyPersister\\:\\:loadCriteria\\(\\) has parameter \\$collection with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" + count: 1 + path: src/Persisters/Collection/OneToManyPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Collection\\\\OneToManyPersister\\:\\:slice\\(\\) has parameter \\$collection with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" + count: 1 + path: src/Persisters/Collection/OneToManyPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Collection\\\\OneToManyPersister\\:\\:update\\(\\) has parameter \\$collection with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" + count: 1 + path: src/Persisters/Collection/OneToManyPersister.php + + - + message: "#^Offset 'joinColumns' does not exist on array\\{cache\\?\\: array, cascade\\: array\\, declared\\?\\: class\\-string, fetch\\: mixed, fieldName\\: string, id\\?\\: bool, inherited\\?\\: class\\-string, indexBy\\?\\: string, \\.\\.\\.\\}\\.$#" + count: 1 + path: src/Persisters/Collection/OneToManyPersister.php + + - + message: "#^Offset 'orphanRemoval' does not exist on array\\{cache\\?\\: array, cascade\\: array\\, declared\\?\\: class\\-string, fetch\\: mixed, fieldName\\: string, id\\?\\: bool, inherited\\?\\: class\\-string, indexBy\\?\\: string, \\.\\.\\.\\}\\.$#" + count: 1 + path: src/Persisters/Collection/OneToManyPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Entity\\\\AbstractEntityInheritancePersister\\:\\:getSelectColumnSQL\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Persisters/Entity/AbstractEntityInheritancePersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Entity\\\\BasicEntityPersister\\:\\:__construct\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Persisters/Entity/BasicEntityPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Entity\\\\BasicEntityPersister\\:\\:expandToManyParameters\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: src/Persisters/Entity/BasicEntityPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Entity\\\\BasicEntityPersister\\:\\:extractIdentifierTypes\\(\\) has parameter \\$versionedClass with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Persisters/Entity/BasicEntityPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Entity\\\\BasicEntityPersister\\:\\:fetchVersionAndNotUpsertableValues\\(\\) has parameter \\$versionedClass with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Persisters/Entity/BasicEntityPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Entity\\\\BasicEntityPersister\\:\\:generateFilterConditionSQL\\(\\) has parameter \\$targetEntity with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Persisters/Entity/BasicEntityPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Entity\\\\BasicEntityPersister\\:\\:getClassIdentifiersTypes\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Persisters/Entity/BasicEntityPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Entity\\\\BasicEntityPersister\\:\\:getClassMetadata\\(\\) return type with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata does not specify its types\\: T$#" + count: 1 + path: src/Persisters/Entity/BasicEntityPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Entity\\\\BasicEntityPersister\\:\\:getManyToManyCollection\\(\\) has parameter \\$assoc with no value type specified in iterable type array\\.$#" + count: 5 + path: src/Persisters/Entity/BasicEntityPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Entity\\\\BasicEntityPersister\\:\\:getOneToManyCollection\\(\\) has parameter \\$assoc with no value type specified in iterable type array\\.$#" + count: 5 + path: src/Persisters/Entity/BasicEntityPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Entity\\\\BasicEntityPersister\\:\\:getOneToManyStatement\\(\\) has parameter \\$assoc with no value type specified in iterable type array\\.$#" + count: 5 + path: src/Persisters/Entity/BasicEntityPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Entity\\\\BasicEntityPersister\\:\\:getSelectColumnAssociationSQL\\(\\) has parameter \\$assoc with no value type specified in iterable type array\\.$#" + count: 5 + path: src/Persisters/Entity/BasicEntityPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Entity\\\\BasicEntityPersister\\:\\:getSelectColumnAssociationSQL\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Persisters/Entity/BasicEntityPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Entity\\\\BasicEntityPersister\\:\\:getSelectColumnSQL\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Persisters/Entity/BasicEntityPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Entity\\\\BasicEntityPersister\\:\\:getSelectConditionStatementColumnSQL\\(\\) has parameter \\$assoc with no value type specified in iterable type array\\.$#" + count: 5 + path: src/Persisters/Entity/BasicEntityPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Entity\\\\BasicEntityPersister\\:\\:getSelectConditionStatementSQL\\(\\) has parameter \\$assoc with no value type specified in iterable type array\\.$#" + count: 5 + path: src/Persisters/Entity/BasicEntityPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Entity\\\\BasicEntityPersister\\:\\:getSelectManyToManyJoinSQL\\(\\) has parameter \\$manyToMany with no value type specified in iterable type array\\.$#" + count: 5 + path: src/Persisters/Entity/BasicEntityPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Entity\\\\BasicEntityPersister\\:\\:getSelectSQL\\(\\) has parameter \\$assoc with no value type specified in iterable type array\\.$#" + count: 5 + path: src/Persisters/Entity/BasicEntityPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Entity\\\\BasicEntityPersister\\:\\:getTypes\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Persisters/Entity/BasicEntityPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Entity\\\\BasicEntityPersister\\:\\:load\\(\\) has parameter \\$assoc with no value type specified in iterable type array\\.$#" + count: 5 + path: src/Persisters/Entity/BasicEntityPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Entity\\\\BasicEntityPersister\\:\\:loadAll\\(\\) has no return type specified\\.$#" + count: 1 + path: src/Persisters/Entity/BasicEntityPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Entity\\\\BasicEntityPersister\\:\\:loadCollectionFromStatement\\(\\) has parameter \\$coll with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" + count: 1 + path: src/Persisters/Entity/BasicEntityPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Entity\\\\BasicEntityPersister\\:\\:loadManyToManyCollection\\(\\) has parameter \\$assoc with no value type specified in iterable type array\\.$#" + count: 5 + path: src/Persisters/Entity/BasicEntityPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Entity\\\\BasicEntityPersister\\:\\:loadManyToManyCollection\\(\\) has parameter \\$collection with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" + count: 1 + path: src/Persisters/Entity/BasicEntityPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Entity\\\\BasicEntityPersister\\:\\:loadOneToManyCollection\\(\\) has parameter \\$assoc with no value type specified in iterable type array\\.$#" + count: 5 + path: src/Persisters/Entity/BasicEntityPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Entity\\\\BasicEntityPersister\\:\\:loadOneToManyCollection\\(\\) has parameter \\$collection with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" + count: 1 + path: src/Persisters/Entity/BasicEntityPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Entity\\\\BasicEntityPersister\\:\\:loadOneToOneEntity\\(\\) has parameter \\$assoc with no value type specified in iterable type array\\.$#" + count: 5 + path: src/Persisters/Entity/BasicEntityPersister.php + + - + message: "#^Offset 'joinColumns' does not exist on array\\{cache\\?\\: array, cascade\\: array\\, declared\\?\\: class\\-string, fetch\\: mixed, fieldName\\: string, id\\?\\: bool, inherited\\?\\: class\\-string, indexBy\\?\\: string, \\.\\.\\.\\}\\.$#" + count: 9 + path: src/Persisters/Entity/BasicEntityPersister.php + + - + message: "#^Offset 'joinTable' does not exist on array\\{cache\\?\\: array, cascade\\: array\\, declared\\?\\: class\\-string, fetch\\: mixed, fieldName\\: string, id\\?\\: bool, inherited\\?\\: class\\-string, indexBy\\?\\: string, \\.\\.\\.\\}\\.$#" + count: 8 + path: src/Persisters/Entity/BasicEntityPersister.php + + - + message: "#^Offset 'relationToTargetKey…' does not exist on array\\{cache\\?\\: array, cascade\\: array\\, declared\\?\\: class\\-string, fetch\\: mixed, fieldName\\: string, id\\?\\: bool, inherited\\?\\: class\\-string, indexBy\\?\\: string, \\.\\.\\.\\}\\.$#" + count: 1 + path: src/Persisters/Entity/BasicEntityPersister.php + + - + message: "#^Offset 'sourceToTargetKeyCo…' does not exist on array\\{cache\\?\\: array, cascade\\: array\\, declared\\?\\: class\\-string, fetch\\: mixed, fieldName\\: string, id\\?\\: bool, inherited\\?\\: class\\-string, indexBy\\?\\: string, \\.\\.\\.\\}\\.$#" + count: 1 + path: src/Persisters/Entity/BasicEntityPersister.php + + - + message: "#^Offset 'targetToSourceKeyCo…' does not exist on array\\{cache\\?\\: array, cascade\\: array\\, declared\\?\\: class\\-string, fetch\\: mixed, fieldName\\: string, id\\?\\: bool, inherited\\?\\: class\\-string, indexBy\\?\\: string, \\.\\.\\.\\}\\.$#" + count: 2 + path: src/Persisters/Entity/BasicEntityPersister.php + + - + message: "#^Parameter \\#1 \\$association of method Doctrine\\\\ORM\\\\Mapping\\\\QuoteStrategy\\:\\:getJoinTableName\\(\\) expects array\\{cache\\?\\: array, cascade\\: array\\, declared\\?\\: class\\-string, fetch\\: mixed, fieldName\\: string, id\\?\\: bool, inherited\\?\\: class\\-string, indexBy\\?\\: string, \\.\\.\\.\\}, array\\ given\\.$#" + count: 1 + path: src/Persisters/Entity/BasicEntityPersister.php + + - + message: "#^Parameter \\#2 \\$assoc of method Doctrine\\\\ORM\\\\Persisters\\\\Entity\\\\BasicEntityPersister\\:\\:getSelectSQL\\(\\) expects array\\{cache\\?\\: array, cascade\\: array\\, declared\\?\\: class\\-string, fetch\\: mixed, fieldName\\: string, id\\?\\: bool, inherited\\?\\: class\\-string, indexBy\\?\\: string, \\.\\.\\.\\}\\|null, array\\ given\\.$#" + count: 1 + path: src/Persisters/Entity/BasicEntityPersister.php + + - + message: "#^Parameter \\#3 \\$assoc of method Doctrine\\\\ORM\\\\Persisters\\\\Entity\\\\BasicEntityPersister\\:\\:getSelectConditionStatementSQL\\(\\) expects array\\{cache\\?\\: array, cascade\\: array\\, declared\\?\\: class\\-string, fetch\\: mixed, fieldName\\: string, id\\?\\: bool, inherited\\?\\: class\\-string, indexBy\\?\\: string, \\.\\.\\.\\}\\|null, array\\\\|null given\\.$#" + count: 1 + path: src/Persisters/Entity/BasicEntityPersister.php + + - + message: "#^Parameter \\#3 \\$hints of method Doctrine\\\\ORM\\\\Internal\\\\Hydration\\\\AbstractHydrator\\:\\:hydrateAll\\(\\) expects array\\, array\\ given\\.$#" + count: 1 + path: src/Persisters/Entity/BasicEntityPersister.php + + - + message: "#^Parameter \\#3 \\$hints of method Doctrine\\\\ORM\\\\Internal\\\\Hydration\\\\AbstractHydrator\\:\\:hydrateAll\\(\\) expects array\\, array\\ given\\.$#" + count: 4 + path: src/Persisters/Entity/BasicEntityPersister.php + + - + message: "#^Property Doctrine\\\\ORM\\\\Persisters\\\\Entity\\\\BasicEntityPersister\\:\\:\\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata does not specify its types\\: T$#" + count: 1 + path: src/Persisters/Entity/BasicEntityPersister.php + + - + message: "#^Property Doctrine\\\\ORM\\\\Persisters\\\\Entity\\\\CachedPersisterContext\\:\\:\\$sqlTableAliases \\(array\\\\) does not accept array\\\\.$#" + count: 1 + path: src/Persisters/Entity/BasicEntityPersister.php + + - + message: "#^Strict comparison using \\=\\=\\= between string and null will always evaluate to false\\.$#" + count: 1 + path: src/Persisters/Entity/BasicEntityPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Entity\\\\CachedPersisterContext\\:\\:__construct\\(\\) has parameter \\$class with generic interface Doctrine\\\\Persistence\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Persisters/Entity/CachedPersisterContext.php + + - + message: "#^Property Doctrine\\\\ORM\\\\Persisters\\\\Entity\\\\CachedPersisterContext\\:\\:\\$class \\(Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata\\) does not accept Doctrine\\\\Persistence\\\\Mapping\\\\ClassMetadata\\.$#" + count: 1 + path: src/Persisters/Entity/CachedPersisterContext.php + + - + message: "#^Property Doctrine\\\\ORM\\\\Persisters\\\\Entity\\\\CachedPersisterContext\\:\\:\\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata does not specify its types\\: T$#" + count: 1 + path: src/Persisters/Entity/CachedPersisterContext.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Entity\\\\EntityPersister\\:\\:getClassMetadata\\(\\) return type with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata does not specify its types\\: T$#" + count: 1 + path: src/Persisters/Entity/EntityPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Entity\\\\EntityPersister\\:\\:getManyToManyCollection\\(\\) has parameter \\$assoc with no value type specified in iterable type array\\.$#" + count: 5 + path: src/Persisters/Entity/EntityPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Entity\\\\EntityPersister\\:\\:getOneToManyCollection\\(\\) has parameter \\$assoc with no value type specified in iterable type array\\.$#" + count: 5 + path: src/Persisters/Entity/EntityPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Entity\\\\EntityPersister\\:\\:getSelectConditionStatementSQL\\(\\) has parameter \\$assoc with no value type specified in iterable type array\\.$#" + count: 5 + path: src/Persisters/Entity/EntityPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Entity\\\\EntityPersister\\:\\:getSelectSQL\\(\\) has parameter \\$assoc with no value type specified in iterable type array\\.$#" + count: 5 + path: src/Persisters/Entity/EntityPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Entity\\\\EntityPersister\\:\\:load\\(\\) has parameter \\$assoc with no value type specified in iterable type array\\.$#" + count: 5 + path: src/Persisters/Entity/EntityPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Entity\\\\EntityPersister\\:\\:loadAll\\(\\) has no return type specified\\.$#" + count: 1 + path: src/Persisters/Entity/EntityPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Entity\\\\EntityPersister\\:\\:loadManyToManyCollection\\(\\) has parameter \\$assoc with no value type specified in iterable type array\\.$#" + count: 5 + path: src/Persisters/Entity/EntityPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Entity\\\\EntityPersister\\:\\:loadManyToManyCollection\\(\\) has parameter \\$collection with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" + count: 1 + path: src/Persisters/Entity/EntityPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Entity\\\\EntityPersister\\:\\:loadOneToManyCollection\\(\\) has parameter \\$assoc with no value type specified in iterable type array\\.$#" + count: 5 + path: src/Persisters/Entity/EntityPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Entity\\\\EntityPersister\\:\\:loadOneToManyCollection\\(\\) has parameter \\$collection with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" + count: 1 + path: src/Persisters/Entity/EntityPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Entity\\\\EntityPersister\\:\\:loadOneToOneEntity\\(\\) has parameter \\$assoc with no value type specified in iterable type array\\.$#" + count: 5 + path: src/Persisters/Entity/EntityPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Entity\\\\JoinedSubclassPersister\\:\\:fetchVersionAndNotUpsertableValues\\(\\) has parameter \\$versionedClass with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Persisters/Entity/JoinedSubclassPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Entity\\\\JoinedSubclassPersister\\:\\:getSelectSQL\\(\\) has parameter \\$assoc with no value type specified in iterable type array\\.$#" + count: 5 + path: src/Persisters/Entity/JoinedSubclassPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Entity\\\\JoinedSubclassPersister\\:\\:getVersionedClassMetadata\\(\\) return type with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata does not specify its types\\: T$#" + count: 1 + path: src/Persisters/Entity/JoinedSubclassPersister.php + + - + message: "#^Offset 'joinColumns' does not exist on array\\{cache\\?\\: array, cascade\\: array\\, declared\\?\\: class\\-string, fetch\\: mixed, fieldName\\: string, id\\?\\: bool, inherited\\?\\: class\\-string, indexBy\\?\\: string, \\.\\.\\.\\}\\.$#" + count: 2 + path: src/Persisters/Entity/JoinedSubclassPersister.php + + - + message: "#^Offset 'targetToSourceKeyCo…' does not exist on array\\{cache\\?\\: array, cascade\\: array\\, declared\\?\\: class\\-string, fetch\\: mixed, fieldName\\: string, id\\?\\: bool, inherited\\?\\: class\\-string, indexBy\\?\\: string, \\.\\.\\.\\}\\.$#" + count: 1 + path: src/Persisters/Entity/JoinedSubclassPersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Entity\\\\SingleTablePersister\\:\\:generateFilterConditionSQL\\(\\) has parameter \\$targetEntity with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Persisters/Entity/SingleTablePersister.php + + - + message: "#^Offset 'joinColumns' does not exist on array\\{cache\\?\\: array, cascade\\: array\\, declared\\?\\: class\\-string, fetch\\: mixed, fieldName\\: string, id\\?\\: bool, inherited\\?\\: class\\-string, indexBy\\?\\: string, \\.\\.\\.\\}\\.$#" + count: 1 + path: src/Persisters/Entity/SingleTablePersister.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\SqlExpressionVisitor\\:\\:__construct\\(\\) has parameter \\$classMetadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Persisters/SqlExpressionVisitor.php + + - + message: "#^Property Doctrine\\\\ORM\\\\Persisters\\\\SqlExpressionVisitor\\:\\:\\$classMetadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata does not specify its types\\: T$#" + count: 1 + path: src/Persisters/SqlExpressionVisitor.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\SqlValueVisitor\\:\\:getParamsAndTypes\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: src/Persisters/SqlValueVisitor.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Proxy\\\\DefaultProxyClassNameResolver\\:\\:resolveClassName\\(\\) should return class\\-string\\ but returns class\\-string\\\\>\\|class\\-string\\\\.$#" + count: 1 + path: src/Proxy/DefaultProxyClassNameResolver.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Proxy\\\\DefaultProxyClassNameResolver\\:\\:resolveClassName\\(\\) should return class\\-string\\ but returns string\\.$#" + count: 1 + path: src/Proxy/DefaultProxyClassNameResolver.php + + - + message: "#^Access to an undefined property Doctrine\\\\Persistence\\\\Mapping\\\\ClassMetadata\\:\\:\\$isEmbeddedClass\\.$#" + count: 1 + path: src/Proxy/ProxyFactory.php + + - + message: "#^Access to an undefined property Doctrine\\\\Persistence\\\\Mapping\\\\ClassMetadata\\:\\:\\$isMappedSuperclass\\.$#" + count: 1 + path: src/Proxy/ProxyFactory.php + + - + message: "#^Call to an undefined method Doctrine\\\\Common\\\\Proxy\\\\Proxy\\:\\:__wakeup\\(\\)\\.$#" + count: 1 + path: src/Proxy/ProxyFactory.php + + - + message: "#^Call to an undefined static method Doctrine\\\\ORM\\\\Proxy\\\\ProxyFactory\\:\\:createLazyGhost\\(\\)\\.$#" + count: 1 + path: src/Proxy/ProxyFactory.php + + - + message: "#^Comparison operation \"\\<\" between 0\\|1\\|2\\|3\\|4 and 0 is always false\\.$#" + count: 1 + path: src/Proxy/ProxyFactory.php + + - + message: "#^Comparison operation \"\\>\" between 0\\|1\\|2\\|3\\|4 and 4 is always false\\.$#" + count: 1 + path: src/Proxy/ProxyFactory.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Proxy\\\\ProxyFactory\\:\\:createCloner\\(\\) has parameter \\$classMetadata with generic interface Doctrine\\\\Persistence\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Proxy/ProxyFactory.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Proxy\\\\ProxyFactory\\:\\:createCloner\\(\\) return type with generic interface Doctrine\\\\Common\\\\Proxy\\\\Proxy does not specify its types\\: T$#" + count: 1 + path: src/Proxy/ProxyFactory.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Proxy\\\\ProxyFactory\\:\\:createInitializer\\(\\) has parameter \\$classMetadata with generic interface Doctrine\\\\Persistence\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Proxy/ProxyFactory.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Proxy\\\\ProxyFactory\\:\\:createInitializer\\(\\) return type with generic interface Doctrine\\\\Common\\\\Proxy\\\\Proxy does not specify its types\\: T$#" + count: 1 + path: src/Proxy/ProxyFactory.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Proxy\\\\ProxyFactory\\:\\:createLazyInitializer\\(\\) has parameter \\$classMetadata with generic interface Doctrine\\\\Persistence\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Proxy/ProxyFactory.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Proxy\\\\ProxyFactory\\:\\:createLazyInitializer\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: src/Proxy/ProxyFactory.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Proxy\\\\ProxyFactory\\:\\:createLazyInitializer\\(\\) return type with generic interface Doctrine\\\\ORM\\\\Proxy\\\\InternalProxy does not specify its types\\: T$#" + count: 1 + path: src/Proxy/ProxyFactory.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Proxy\\\\ProxyFactory\\:\\:generateProxyClass\\(\\) has parameter \\$class with generic interface Doctrine\\\\Persistence\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Proxy/ProxyFactory.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Proxy\\\\ProxyFactory\\:\\:generateProxyClasses\\(\\) has parameter \\$classes with generic interface Doctrine\\\\Persistence\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Proxy/ProxyFactory.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Proxy\\\\ProxyFactory\\:\\:generateSerializeImpl\\(\\) has parameter \\$class with generic interface Doctrine\\\\Persistence\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Proxy/ProxyFactory.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Proxy\\\\ProxyFactory\\:\\:generateUseLazyGhostTrait\\(\\) has parameter \\$class with generic interface Doctrine\\\\Persistence\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Proxy/ProxyFactory.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Proxy\\\\ProxyFactory\\:\\:getProxy\\(\\) return type with generic interface Doctrine\\\\Common\\\\Proxy\\\\Proxy does not specify its types\\: T$#" + count: 1 + path: src/Proxy/ProxyFactory.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Proxy\\\\ProxyFactory\\:\\:loadProxyClass\\(\\) has parameter \\$class with generic interface Doctrine\\\\Persistence\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Proxy/ProxyFactory.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Proxy\\\\ProxyFactory\\:\\:resetUninitializedProxy\\(\\) has parameter \\$proxy with generic interface Doctrine\\\\Common\\\\Proxy\\\\Proxy but does not specify its types\\: T$#" + count: 1 + path: src/Proxy/ProxyFactory.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Proxy\\\\ProxyFactory\\:\\:resetUninitializedProxy\\(\\) return type with generic interface Doctrine\\\\Common\\\\Proxy\\\\Proxy does not specify its types\\: T$#" + count: 1 + path: src/Proxy/ProxyFactory.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Proxy\\\\ProxyFactory\\:\\:skipClass\\(\\) has parameter \\$metadata with generic interface Doctrine\\\\Persistence\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Proxy/ProxyFactory.php + + - + message: "#^Parameter \\#1 \\$class of method Doctrine\\\\ORM\\\\Utility\\\\IdentifierFlattener\\:\\:flattenIdentifier\\(\\) expects Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata, Doctrine\\\\Persistence\\\\Mapping\\\\ClassMetadata given\\.$#" + count: 3 + path: src/Proxy/ProxyFactory.php + + - + message: "#^Parameter \\#1 \\$filename of function filemtime expects string, string\\|false given\\.$#" + count: 1 + path: src/Proxy/ProxyFactory.php + + - + message: "#^Parameter \\#3 \\$length of function substr expects int\\|null, int\\|false given\\.$#" + count: 1 + path: src/Proxy/ProxyFactory.php + + - + message: "#^Result of \\|\\| is always false\\.$#" + count: 1 + path: src/Proxy/ProxyFactory.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Query\\:\\:processParameterMappings\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: src/Query.php + + - + message: "#^Parameter \\#2 \\$sqlParams of method Doctrine\\\\ORM\\\\Query\\:\\:evictResultSetCache\\(\\) expects array\\, array\\ given\\.$#" + count: 1 + path: src/Query.php + + - + message: "#^Property Doctrine\\\\ORM\\\\Query\\\\AST\\\\Functions\\\\AbsFunction\\:\\:\\$simpleArithmeticExpression \\(Doctrine\\\\ORM\\\\Query\\\\AST\\\\SimpleArithmeticExpression\\) does not accept Doctrine\\\\ORM\\\\Query\\\\AST\\\\ArithmeticTerm\\|Doctrine\\\\ORM\\\\Query\\\\AST\\\\SimpleArithmeticExpression\\.$#" + count: 1 + path: src/Query/AST/Functions/AbsFunction.php + + - + message: "#^Property Doctrine\\\\ORM\\\\Query\\\\AST\\\\Functions\\\\BitAndFunction\\:\\:\\$firstArithmetic \\(Doctrine\\\\ORM\\\\Query\\\\AST\\\\Node\\) does not accept Doctrine\\\\ORM\\\\Query\\\\AST\\\\Node\\|string\\.$#" + count: 1 + path: src/Query/AST/Functions/BitAndFunction.php + + - + message: "#^Property Doctrine\\\\ORM\\\\Query\\\\AST\\\\Functions\\\\BitAndFunction\\:\\:\\$secondArithmetic \\(Doctrine\\\\ORM\\\\Query\\\\AST\\\\Node\\) does not accept Doctrine\\\\ORM\\\\Query\\\\AST\\\\Node\\|string\\.$#" + count: 1 + path: src/Query/AST/Functions/BitAndFunction.php + + - + message: "#^Property Doctrine\\\\ORM\\\\Query\\\\AST\\\\Functions\\\\BitOrFunction\\:\\:\\$firstArithmetic \\(Doctrine\\\\ORM\\\\Query\\\\AST\\\\Node\\) does not accept Doctrine\\\\ORM\\\\Query\\\\AST\\\\Node\\|string\\.$#" + count: 1 + path: src/Query/AST/Functions/BitOrFunction.php + + - + message: "#^Property Doctrine\\\\ORM\\\\Query\\\\AST\\\\Functions\\\\BitOrFunction\\:\\:\\$secondArithmetic \\(Doctrine\\\\ORM\\\\Query\\\\AST\\\\Node\\) does not accept Doctrine\\\\ORM\\\\Query\\\\AST\\\\Node\\|string\\.$#" + count: 1 + path: src/Query/AST/Functions/BitOrFunction.php + + - + message: "#^Access to an undefined property Doctrine\\\\ORM\\\\Query\\\\AST\\\\Node\\:\\:\\$value\\.$#" + count: 1 + path: src/Query/AST/Functions/DateAddFunction.php + + - + message: "#^Property Doctrine\\\\ORM\\\\Query\\\\AST\\\\Functions\\\\DateAddFunction\\:\\:\\$firstDateExpression \\(Doctrine\\\\ORM\\\\Query\\\\AST\\\\Node\\) does not accept Doctrine\\\\ORM\\\\Query\\\\AST\\\\Node\\|string\\.$#" + count: 1 + path: src/Query/AST/Functions/DateAddFunction.php + + - + message: "#^Property Doctrine\\\\ORM\\\\Query\\\\AST\\\\Functions\\\\DateAddFunction\\:\\:\\$intervalExpression \\(Doctrine\\\\ORM\\\\Query\\\\AST\\\\Node\\) does not accept Doctrine\\\\ORM\\\\Query\\\\AST\\\\Node\\|string\\.$#" + count: 1 + path: src/Query/AST/Functions/DateAddFunction.php + + - + message: "#^Property Doctrine\\\\ORM\\\\Query\\\\AST\\\\Functions\\\\DateDiffFunction\\:\\:\\$date1 \\(Doctrine\\\\ORM\\\\Query\\\\AST\\\\Node\\) does not accept Doctrine\\\\ORM\\\\Query\\\\AST\\\\Node\\|string\\.$#" + count: 1 + path: src/Query/AST/Functions/DateDiffFunction.php + + - + message: "#^Property Doctrine\\\\ORM\\\\Query\\\\AST\\\\Functions\\\\DateDiffFunction\\:\\:\\$date2 \\(Doctrine\\\\ORM\\\\Query\\\\AST\\\\Node\\) does not accept Doctrine\\\\ORM\\\\Query\\\\AST\\\\Node\\|string\\.$#" + count: 1 + path: src/Query/AST/Functions/DateDiffFunction.php + + - + message: "#^Access to an undefined property Doctrine\\\\ORM\\\\Query\\\\AST\\\\Node\\:\\:\\$value\\.$#" + count: 1 + path: src/Query/AST/Functions/DateSubFunction.php + + - + message: "#^Offset 'joinColumns' does not exist on array\\{cache\\?\\: array, cascade\\: array\\, declared\\?\\: class\\-string, fetch\\: mixed, fieldName\\: string, id\\?\\: bool, inherited\\?\\: class\\-string, indexBy\\?\\: string, \\.\\.\\.\\}\\.$#" + count: 2 + path: src/Query/AST/Functions/IdentityFunction.php + + - + message: "#^Parameter \\#1 \\$joinColumn of method Doctrine\\\\ORM\\\\Mapping\\\\QuoteStrategy\\:\\:getJoinColumnName\\(\\) expects array\\{name\\: string, referencedColumnName\\: string, unique\\?\\: bool, quoted\\?\\: bool, fieldName\\?\\: string, onDelete\\?\\: string, columnDefinition\\?\\: string, nullable\\?\\: bool\\}, array\\{name\\: string, referencedColumnName\\: string, unique\\?\\: bool, quoted\\?\\: bool, fieldName\\?\\: string, onDelete\\?\\: string, columnDefinition\\?\\: string, nullable\\?\\: bool\\}\\|false given\\.$#" + count: 1 + path: src/Query/AST/Functions/IdentityFunction.php + + - + message: "#^Parameter \\#1 \\$simpleArithmeticExpr of method Doctrine\\\\ORM\\\\Query\\\\SqlWalker\\:\\:walkSimpleArithmeticExpression\\(\\) expects Doctrine\\\\ORM\\\\Query\\\\AST\\\\Node\\|string, Doctrine\\\\ORM\\\\Query\\\\AST\\\\SimpleArithmeticExpression\\|true given\\.$#" + count: 1 + path: src/Query/AST/Functions/LocateFunction.php + + - + message: "#^Property Doctrine\\\\ORM\\\\Query\\\\AST\\\\Functions\\\\LocateFunction\\:\\:\\$simpleArithmeticExpression \\(bool\\|Doctrine\\\\ORM\\\\Query\\\\AST\\\\SimpleArithmeticExpression\\) does not accept Doctrine\\\\ORM\\\\Query\\\\AST\\\\ArithmeticTerm\\|Doctrine\\\\ORM\\\\Query\\\\AST\\\\SimpleArithmeticExpression\\.$#" + count: 1 + path: src/Query/AST/Functions/LocateFunction.php + + - + message: "#^Property Doctrine\\\\ORM\\\\Query\\\\AST\\\\Functions\\\\ModFunction\\:\\:\\$firstSimpleArithmeticExpression \\(Doctrine\\\\ORM\\\\Query\\\\AST\\\\SimpleArithmeticExpression\\) does not accept Doctrine\\\\ORM\\\\Query\\\\AST\\\\ArithmeticTerm\\|Doctrine\\\\ORM\\\\Query\\\\AST\\\\SimpleArithmeticExpression\\.$#" + count: 1 + path: src/Query/AST/Functions/ModFunction.php + + - + message: "#^Property Doctrine\\\\ORM\\\\Query\\\\AST\\\\Functions\\\\ModFunction\\:\\:\\$secondSimpleArithmeticExpression \\(Doctrine\\\\ORM\\\\Query\\\\AST\\\\SimpleArithmeticExpression\\) does not accept Doctrine\\\\ORM\\\\Query\\\\AST\\\\ArithmeticTerm\\|Doctrine\\\\ORM\\\\Query\\\\AST\\\\SimpleArithmeticExpression\\.$#" + count: 1 + path: src/Query/AST/Functions/ModFunction.php + + - + message: "#^Offset 'joinTable' does not exist on array\\{cache\\?\\: array, cascade\\: array\\, declared\\?\\: class\\-string, fetch\\: mixed, fieldName\\: string, id\\?\\: bool, inherited\\?\\: class\\-string, indexBy\\?\\: string, \\.\\.\\.\\}\\.$#" + count: 1 + path: src/Query/AST/Functions/SizeFunction.php + + - + message: "#^Offset 'targetToSourceKeyCo…' does not exist on array\\{cache\\?\\: array, cascade\\: array\\, declared\\?\\: class\\-string, fetch\\: mixed, fieldName\\: string, id\\?\\: bool, inherited\\?\\: class\\-string, indexBy\\?\\: string, \\.\\.\\.\\}\\.$#" + count: 1 + path: src/Query/AST/Functions/SizeFunction.php + + - + message: "#^Property Doctrine\\\\ORM\\\\Query\\\\AST\\\\Functions\\\\SqrtFunction\\:\\:\\$simpleArithmeticExpression \\(Doctrine\\\\ORM\\\\Query\\\\AST\\\\SimpleArithmeticExpression\\) does not accept Doctrine\\\\ORM\\\\Query\\\\AST\\\\ArithmeticTerm\\|Doctrine\\\\ORM\\\\Query\\\\AST\\\\SimpleArithmeticExpression\\.$#" + count: 1 + path: src/Query/AST/Functions/SqrtFunction.php + + - + message: "#^Property Doctrine\\\\ORM\\\\Query\\\\AST\\\\Functions\\\\SubstringFunction\\:\\:\\$firstSimpleArithmeticExpression \\(Doctrine\\\\ORM\\\\Query\\\\AST\\\\SimpleArithmeticExpression\\) does not accept Doctrine\\\\ORM\\\\Query\\\\AST\\\\ArithmeticTerm\\|Doctrine\\\\ORM\\\\Query\\\\AST\\\\SimpleArithmeticExpression\\.$#" + count: 1 + path: src/Query/AST/Functions/SubstringFunction.php + + - + message: "#^Property Doctrine\\\\ORM\\\\Query\\\\AST\\\\Functions\\\\SubstringFunction\\:\\:\\$secondSimpleArithmeticExpression \\(Doctrine\\\\ORM\\\\Query\\\\AST\\\\SimpleArithmeticExpression\\|null\\) does not accept Doctrine\\\\ORM\\\\Query\\\\AST\\\\ArithmeticTerm\\|Doctrine\\\\ORM\\\\Query\\\\AST\\\\SimpleArithmeticExpression\\.$#" + count: 1 + path: src/Query/AST/Functions/SubstringFunction.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Query\\\\AST\\\\IndexBy\\:\\:dispatch\\(\\) should return string but returns null\\.$#" + count: 1 + path: src/Query/AST/IndexBy.php + + - + message: "#^Result of method Doctrine\\\\ORM\\\\Query\\\\SqlWalker\\:\\:walkIndexBy\\(\\) \\(void\\) is used\\.$#" + count: 1 + path: src/Query/AST/IndexBy.php + + - + message: "#^Call to an undefined method Doctrine\\\\ORM\\\\Query\\\\SqlWalker\\:\\:walkJoinPathExpression\\(\\)\\.$#" + count: 1 + path: src/Query/AST/JoinClassPathExpression.php + + - + message: "#^Call to an undefined method Doctrine\\\\ORM\\\\Query\\\\SqlWalker\\:\\:walkJoinVariableDeclaration\\(\\)\\.$#" + count: 1 + path: src/Query/AST/JoinVariableDeclaration.php + + - + message: "#^Call to an undefined method Doctrine\\\\ORM\\\\Query\\\\SqlWalker\\:\\:walkWhenClauseExpression\\(\\)\\.$#" + count: 1 + path: src/Query/AST/SimpleWhenClause.php + + - + message: "#^Call to an undefined method Doctrine\\\\ORM\\\\Query\\\\SqlWalker\\:\\:walkWhenClauseExpression\\(\\)\\.$#" + count: 1 + path: src/Query/AST/WhenClause.php + + - + message: "#^Property Doctrine\\\\ORM\\\\Query\\\\Exec\\\\AbstractSqlExecutor\\:\\:\\$queryCacheProfile \\(Doctrine\\\\DBAL\\\\Cache\\\\QueryCacheProfile\\) does not accept null\\.$#" + count: 1 + path: src/Query/Exec/AbstractSqlExecutor.php + + - + message: "#^Argument of an invalid type array\\\\|string supplied for foreach, only iterables are supported\\.$#" + count: 1 + path: src/Query/Exec/MultiTableDeleteExecutor.php + + - + message: "#^Cannot assign new offset to array\\\\|string\\.$#" + count: 1 + path: src/Query/Exec/MultiTableDeleteExecutor.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Query\\\\Exec\\\\MultiTableDeleteExecutor\\:\\:execute\\(\\) should return int but returns int\\|string\\.$#" + count: 1 + path: src/Query/Exec/MultiTableDeleteExecutor.php + + - + message: "#^Argument of an invalid type array\\\\|string supplied for foreach, only iterables are supported\\.$#" + count: 1 + path: src/Query/Exec/MultiTableUpdateExecutor.php + + - + message: "#^Cannot assign new offset to array\\\\|string\\.$#" + count: 1 + path: src/Query/Exec/MultiTableUpdateExecutor.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Query\\\\Exec\\\\MultiTableUpdateExecutor\\:\\:execute\\(\\) should return int but returns int\\|string\\.$#" + count: 1 + path: src/Query/Exec/MultiTableUpdateExecutor.php + + - + message: "#^Parameter \\#1 \\$sql of method Doctrine\\\\DBAL\\\\Connection\\:\\:executeQuery\\(\\) expects string, array\\\\|string given\\.$#" + count: 1 + path: src/Query/Exec/SingleSelectExecutor.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Query\\\\Exec\\\\SingleTableDeleteUpdateExecutor\\:\\:execute\\(\\) should return int but returns int\\|string\\.$#" + count: 1 + path: src/Query/Exec/SingleTableDeleteUpdateExecutor.php + + - + message: "#^Parameter \\#1 \\$sql of method Doctrine\\\\DBAL\\\\Connection\\:\\:executeStatement\\(\\) expects string, array\\\\|string given\\.$#" + count: 1 + path: src/Query/Exec/SingleTableDeleteUpdateExecutor.php + + - + message: "#^PHPDoc type array\\ of property Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Andx\\:\\:\\$allowedClasses is not covariant with PHPDoc type array\\ of overridden property Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Base\\:\\:\\$allowedClasses\\.$#" + count: 1 + path: src/Query/Expr/Andx.php + + - + message: "#^Cannot cast object\\|string to string\\.$#" + count: 1 + path: src/Query/Expr/Composite.php + + - + message: "#^PHPDoc type array\\ of property Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Orx\\:\\:\\$allowedClasses is not covariant with PHPDoc type array\\ of overridden property Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Base\\:\\:\\$allowedClasses\\.$#" + count: 1 + path: src/Query/Expr/Orx.php + + - + message: "#^PHPDoc type array\\ of property Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Select\\:\\:\\$allowedClasses is not covariant with PHPDoc type array\\ of overridden property Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Base\\:\\:\\$allowedClasses\\.$#" + count: 1 + path: src/Query/Expr/Select.php + + - + message: "#^Property Doctrine\\\\ORM\\\\Query\\\\Filter\\\\SQLFilter\\:\\:\\$parameters \\(array\\\\) does not accept non\\-empty\\-array\\\\.$#" + count: 1 + path: src/Query/Filter/SQLFilter.php + + - + message: "#^Call to an undefined method object\\:\\:parse\\(\\)\\.$#" + count: 1 + path: src/Query/Parser.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Query\\\\Parser\\:\\:ArithmeticFactor\\(\\) should return Doctrine\\\\ORM\\\\Query\\\\AST\\\\ArithmeticFactor but returns Doctrine\\\\ORM\\\\Query\\\\AST\\\\Node\\|string\\.$#" + count: 1 + path: src/Query/Parser.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Query\\\\Parser\\:\\:ArithmeticTerm\\(\\) should return Doctrine\\\\ORM\\\\Query\\\\AST\\\\ArithmeticTerm but returns Doctrine\\\\ORM\\\\Query\\\\AST\\\\ArithmeticFactor\\|string\\.$#" + count: 1 + path: src/Query/Parser.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Query\\\\Parser\\:\\:CustomFunctionsReturningStrings\\(\\) should return Doctrine\\\\ORM\\\\Query\\\\AST\\\\Functions\\\\FunctionNode but returns object\\.$#" + count: 1 + path: src/Query/Parser.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Query\\\\Parser\\:\\:SimpleArithmeticExpression\\(\\) should return Doctrine\\\\ORM\\\\Query\\\\AST\\\\ArithmeticTerm\\|Doctrine\\\\ORM\\\\Query\\\\AST\\\\SimpleArithmeticExpression but returns Doctrine\\\\ORM\\\\Query\\\\AST\\\\ArithmeticTerm\\|string\\.$#" + count: 1 + path: src/Query/Parser.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Query\\\\Parser\\:\\:getMetadataForDqlAlias\\(\\) return type with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata does not specify its types\\: T$#" + count: 1 + path: src/Query/Parser.php + + - + message: "#^Parameter \\#1 \\$AST of method Doctrine\\\\ORM\\\\Query\\\\Parser\\:\\:processDeferredNewObjectExpressions\\(\\) expects Doctrine\\\\ORM\\\\Query\\\\AST\\\\SelectStatement, Doctrine\\\\ORM\\\\Query\\\\AST\\\\DeleteStatement\\|Doctrine\\\\ORM\\\\Query\\\\AST\\\\SelectStatement\\|Doctrine\\\\ORM\\\\Query\\\\AST\\\\UpdateStatement given\\.$#" + count: 1 + path: src/Query/Parser.php + + - + message: "#^Parameter \\#1 \\$expected of method Doctrine\\\\ORM\\\\Query\\\\Parser\\:\\:syntaxError\\(\\) expects string, int\\|string given\\.$#" + count: 3 + path: src/Query/Parser.php + + - + message: "#^Parameter \\#1 \\$expression of class Doctrine\\\\ORM\\\\Query\\\\AST\\\\NullComparisonExpression constructor expects Doctrine\\\\ORM\\\\Query\\\\AST\\\\Node, Doctrine\\\\ORM\\\\Query\\\\AST\\\\CoalesceExpression\\|Doctrine\\\\ORM\\\\Query\\\\AST\\\\Functions\\\\FunctionNode\\|Doctrine\\\\ORM\\\\Query\\\\AST\\\\InputParameter\\|Doctrine\\\\ORM\\\\Query\\\\AST\\\\NullIfExpression\\|Doctrine\\\\ORM\\\\Query\\\\AST\\\\PathExpression\\|string given\\.$#" + count: 1 + path: src/Query/Parser.php + + - + message: "#^Parameter \\#2 \\$pathExpression of class Doctrine\\\\ORM\\\\Query\\\\AST\\\\AggregateExpression constructor expects Doctrine\\\\ORM\\\\Query\\\\AST\\\\PathExpression\\|Doctrine\\\\ORM\\\\Query\\\\AST\\\\SimpleArithmeticExpression, Doctrine\\\\ORM\\\\Query\\\\AST\\\\ArithmeticTerm\\|Doctrine\\\\ORM\\\\Query\\\\AST\\\\SimpleArithmeticExpression given\\.$#" + count: 1 + path: src/Query/Parser.php + + - + message: "#^Parameter \\#2 \\$stringPattern of class Doctrine\\\\ORM\\\\Query\\\\AST\\\\LikeExpression constructor expects Doctrine\\\\ORM\\\\Query\\\\AST\\\\Functions\\\\FunctionNode\\|Doctrine\\\\ORM\\\\Query\\\\AST\\\\InputParameter\\|Doctrine\\\\ORM\\\\Query\\\\AST\\\\Literal\\|Doctrine\\\\ORM\\\\Query\\\\AST\\\\PathExpression, Doctrine\\\\ORM\\\\Query\\\\AST\\\\Node given\\.$#" + count: 1 + path: src/Query/Parser.php + + - + message: "#^Parameter \\#3 \\$length of function substr expects int\\|null, int\\|false given\\.$#" + count: 1 + path: src/Query/Parser.php + + - + message: "#^Property Doctrine\\\\ORM\\\\Query\\\\AST\\\\ArithmeticExpression\\:\\:\\$simpleArithmeticExpression \\(Doctrine\\\\ORM\\\\Query\\\\AST\\\\SimpleArithmeticExpression\\|null\\) does not accept Doctrine\\\\ORM\\\\Query\\\\AST\\\\ArithmeticTerm\\|Doctrine\\\\ORM\\\\Query\\\\AST\\\\SimpleArithmeticExpression\\.$#" + count: 1 + path: src/Query/Parser.php + + - + message: "#^Property Doctrine\\\\ORM\\\\Query\\\\Parser\\:\\:\\$queryComponents \\(array\\, parent\\?\\: string\\|null, relation\\?\\: array\\{cache\\?\\: array, cascade\\: array\\, declared\\?\\: class\\-string, fetch\\: mixed, fieldName\\: string, id\\?\\: bool, inherited\\?\\: class\\-string, indexBy\\?\\: string, \\.\\.\\.\\}\\|null, map\\?\\: string\\|null, resultVariable\\?\\: Doctrine\\\\ORM\\\\Query\\\\AST\\\\Node\\|string, nestingLevel\\: int, token\\: Doctrine\\\\Common\\\\Lexer\\\\Token\\<1\\|2\\|3\\|4\\|5\\|6\\|7\\|8\\|9\\|10\\|11\\|12\\|13\\|14\\|15\\|16\\|17\\|18\\|19\\|100\\|101\\|102\\|200\\|201\\|202\\|203\\|204\\|205\\|206\\|207\\|208\\|209\\|210\\|211\\|212\\|213\\|214\\|215\\|216\\|217\\|218\\|219\\|220\\|221\\|222\\|223\\|224\\|225\\|226\\|227\\|228\\|229\\|230\\|231\\|232\\|233\\|234\\|235\\|236\\|237\\|238\\|239\\|240\\|241\\|242\\|243\\|244\\|245\\|246\\|247\\|248\\|249\\|250\\|251\\|252\\|253\\|254\\|255\\|256, string\\>\\}\\>\\) does not accept non\\-empty\\-array\\, parent\\?\\: string\\|null, relation\\?\\: array\\{cache\\?\\: array, cascade\\: array\\, declared\\?\\: class\\-string, fetch\\: mixed, fieldName\\: string, id\\?\\: bool, inherited\\?\\: class\\-string, indexBy\\?\\: string, \\.\\.\\.\\}\\|null, map\\?\\: string\\|null, resultVariable\\?\\: Doctrine\\\\ORM\\\\Query\\\\AST\\\\Node\\|string, nestingLevel\\: int, token\\: Doctrine\\\\Common\\\\Lexer\\\\Token\\<1\\|2\\|3\\|4\\|5\\|6\\|7\\|8\\|9\\|10\\|11\\|12\\|13\\|14\\|15\\|16\\|17\\|18\\|19\\|100\\|101\\|102\\|200\\|201\\|202\\|203\\|204\\|205\\|206\\|207\\|208\\|209\\|210\\|211\\|212\\|213\\|214\\|215\\|216\\|217\\|218\\|219\\|220\\|221\\|222\\|223\\|224\\|225\\|226\\|227\\|228\\|229\\|230\\|231\\|232\\|233\\|234\\|235\\|236\\|237\\|238\\|239\\|240\\|241\\|242\\|243\\|244\\|245\\|246\\|247\\|248\\|249\\|250\\|251\\|252\\|253\\|254\\|255\\|256, string\\>\\|null\\}\\>\\.$#" + count: 1 + path: src/Query/Parser.php + + - + message: "#^Property Doctrine\\\\ORM\\\\Query\\\\Parser\\:\\:\\$queryComponents type has no value type specified in iterable type array\\.$#" + count: 5 + path: src/Query/Parser.php + + - + message: "#^Unreachable statement \\- code above always terminates\\.$#" + count: 3 + path: src/Query/Parser.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Query\\\\QueryException\\:\\:iterateWithFetchJoinCollectionNotAllowed\\(\\) has parameter \\$assoc with no value type specified in iterable type array\\.$#" + count: 5 + path: src/Query/QueryException.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Query\\\\QueryException\\:\\:iterateWithFetchJoinNotAllowed\\(\\) has parameter \\$assoc with no value type specified in iterable type array\\.$#" + count: 5 + path: src/Query/QueryException.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Query\\\\ResultSetMappingBuilder\\:\\:addNamedNativeQueryEntityResultMapping\\(\\) has parameter \\$classMetadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo but does not specify its types\\: T$#" + count: 1 + path: src/Query/ResultSetMappingBuilder.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Query\\\\ResultSetMappingBuilder\\:\\:addNamedNativeQueryMapping\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo but does not specify its types\\: T$#" + count: 1 + path: src/Query/ResultSetMappingBuilder.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Query\\\\ResultSetMappingBuilder\\:\\:addNamedNativeQueryResultClassMapping\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo but does not specify its types\\: T$#" + count: 1 + path: src/Query/ResultSetMappingBuilder.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Query\\\\ResultSetMappingBuilder\\:\\:addNamedNativeQueryResultSetMapping\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo but does not specify its types\\: T$#" + count: 1 + path: src/Query/ResultSetMappingBuilder.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Query\\\\ResultSetMappingBuilder\\:\\:isInheritanceSupported\\(\\) has parameter \\$classMetadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Query/ResultSetMappingBuilder.php + + - + message: "#^Offset 'columns' on array\\{name\\: string, entities\\: array, columns\\: array\\} in isset\\(\\) always exists and is not nullable\\.$#" + count: 1 + path: src/Query/ResultSetMappingBuilder.php + + - + message: "#^Offset 'entities' on array\\{name\\: string, entities\\: array, columns\\: array\\} in isset\\(\\) always exists and is not nullable\\.$#" + count: 1 + path: src/Query/ResultSetMappingBuilder.php + + - + message: "#^Offset 'joinColumns' does not exist on array\\{cache\\?\\: array, cascade\\: array\\, declared\\?\\: class\\-string, fetch\\: mixed, fieldName\\: string, id\\?\\: bool, inherited\\?\\: class\\-string, indexBy\\?\\: string, \\.\\.\\.\\}\\.$#" + count: 3 + path: src/Query/ResultSetMappingBuilder.php + + - + message: "#^Parameter \\#2 \\$class of static method Doctrine\\\\ORM\\\\Utility\\\\PersisterHelper\\:\\:getTypeOfColumn\\(\\) expects Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata, Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo given\\.$#" + count: 1 + path: src/Query/ResultSetMappingBuilder.php + + - + message: "#^Call to function is_string\\(\\) with Doctrine\\\\ORM\\\\Query\\\\AST\\\\Node will always evaluate to false\\.$#" + count: 1 + path: src/Query/SqlWalker.php + + - + message: "#^Cannot assign new offset to array\\\\|string\\.$#" + count: 2 + path: src/Query/SqlWalker.php + + - + message: "#^Else branch is unreachable because ternary operator condition is always true\\.$#" + count: 1 + path: src/Query/SqlWalker.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Query\\\\SqlWalker\\:\\:__construct\\(\\) has parameter \\$queryComponents with no value type specified in iterable type array\\.$#" + count: 5 + path: src/Query/SqlWalker.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Query\\\\SqlWalker\\:\\:generateClassTableInheritanceJoins\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Query/SqlWalker.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Query\\\\SqlWalker\\:\\:generateFilterConditionSQL\\(\\) has parameter \\$targetEntity with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Query/SqlWalker.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Query\\\\SqlWalker\\:\\:getChildDiscriminatorsFromClassMetadata\\(\\) has parameter \\$rootClass with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Query/SqlWalker.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Query\\\\SqlWalker\\:\\:getMetadataForDqlAlias\\(\\) return type with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata does not specify its types\\: T$#" + count: 1 + path: src/Query/SqlWalker.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Query\\\\SqlWalker\\:\\:getQueryComponent\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 5 + path: src/Query/SqlWalker.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Query\\\\SqlWalker\\:\\:getQueryComponents\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 5 + path: src/Query/SqlWalker.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Query\\\\SqlWalker\\:\\:setQueryComponent\\(\\) has parameter \\$queryComponent with no value type specified in iterable type array\\.$#" + count: 5 + path: src/Query/SqlWalker.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Query\\\\SqlWalker\\:\\:walkConditionalPrimary\\(\\) should return string but return statement is missing\\.$#" + count: 1 + path: src/Query/SqlWalker.php + + - + message: "#^Offset 'joinColumns' does not exist on array\\{cache\\?\\: array, cascade\\: array\\, declared\\?\\: class\\-string, fetch\\: mixed, fieldName\\: string, id\\?\\: bool, inherited\\?\\: class\\-string, indexBy\\?\\: string, \\.\\.\\.\\}\\.$#" + count: 3 + path: src/Query/SqlWalker.php + + - + message: "#^Offset 'joinTable' does not exist on array\\{cache\\?\\: array, cascade\\: array\\, declared\\?\\: class\\-string, fetch\\: mixed, fieldName\\: string, id\\?\\: bool, inherited\\?\\: class\\-string, indexBy\\?\\: string, \\.\\.\\.\\}\\.$#" + count: 6 + path: src/Query/SqlWalker.php + + - + message: "#^Offset 'sourceToTargetKeyCo…' does not exist on array\\{cache\\?\\: array, cascade\\: array\\, declared\\?\\: class\\-string, fetch\\: mixed, fieldName\\: string, id\\?\\: bool, inherited\\?\\: class\\-string, indexBy\\?\\: string, \\.\\.\\.\\}\\.$#" + count: 2 + path: src/Query/SqlWalker.php + + - + message: "#^Offset 'targetToSourceKeyCo…' does not exist on array\\{cache\\?\\: array, cascade\\: array\\, declared\\?\\: class\\-string, fetch\\: mixed, fieldName\\: string, id\\?\\: bool, inherited\\?\\: class\\-string, indexBy\\?\\: string, \\.\\.\\.\\}\\.$#" + count: 3 + path: src/Query/SqlWalker.php + + - + message: "#^Parameter \\#1 \\$condTerm of method Doctrine\\\\ORM\\\\Query\\\\SqlWalker\\:\\:walkConditionalTerm\\(\\) expects Doctrine\\\\ORM\\\\Query\\\\AST\\\\ConditionalFactor\\|Doctrine\\\\ORM\\\\Query\\\\AST\\\\ConditionalPrimary\\|Doctrine\\\\ORM\\\\Query\\\\AST\\\\ConditionalTerm, Doctrine\\\\ORM\\\\Query\\\\AST\\\\Phase2OptimizableConditional given\\.$#" + count: 1 + path: src/Query/SqlWalker.php + + - + message: "#^Parameter \\#1 \\$identVariable of method Doctrine\\\\ORM\\\\Query\\\\SqlWalker\\:\\:walkEntityIdentificationVariable\\(\\) expects string, Doctrine\\\\ORM\\\\Query\\\\AST\\\\Node\\|string given\\.$#" + count: 1 + path: src/Query/SqlWalker.php + + - + message: "#^Parameter \\#2 \\$fieldName of method Doctrine\\\\ORM\\\\Query\\\\ResultSetMapping\\:\\:addIndexBy\\(\\) expects string, string\\|false given\\.$#" + count: 1 + path: src/Query/SqlWalker.php + + - + message: "#^Property Doctrine\\\\ORM\\\\Query\\\\SqlWalker\\:\\:\\$queryComponents type has no value type specified in iterable type array\\.$#" + count: 5 + path: src/Query/SqlWalker.php + + - + message: "#^Property Doctrine\\\\ORM\\\\Query\\\\SqlWalker\\:\\:\\$selectedClasses \\(array\\\\) does not accept non\\-empty\\-array\\\\.$#" + count: 1 + path: src/Query/SqlWalker.php + + - + message: "#^Property Doctrine\\\\ORM\\\\Query\\\\SqlWalker\\:\\:\\$selectedClasses with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata does not specify its types\\: T$#" + count: 1 + path: src/Query/SqlWalker.php + + - + message: "#^Result of && is always false\\.$#" + count: 1 + path: src/Query/SqlWalker.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Query\\\\TreeWalker\\:\\:__construct\\(\\) has parameter \\$queryComponents with no value type specified in iterable type array\\.$#" + count: 5 + path: src/Query/TreeWalker.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Query\\\\TreeWalker\\:\\:getQueryComponents\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 5 + path: src/Query/TreeWalker.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Query\\\\TreeWalker\\:\\:setQueryComponent\\(\\) has parameter \\$queryComponent with no value type specified in iterable type array\\.$#" + count: 5 + path: src/Query/TreeWalker.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Query\\\\TreeWalkerAdapter\\:\\:__construct\\(\\) has parameter \\$queryComponents with no value type specified in iterable type array\\.$#" + count: 5 + path: src/Query/TreeWalkerAdapter.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Query\\\\TreeWalkerAdapter\\:\\:_getQueryComponents\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 5 + path: src/Query/TreeWalkerAdapter.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Query\\\\TreeWalkerAdapter\\:\\:getExecutor\\(\\) should return Doctrine\\\\ORM\\\\Query\\\\Exec\\\\AbstractSqlExecutor but returns null\\.$#" + count: 1 + path: src/Query/TreeWalkerAdapter.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Query\\\\TreeWalkerAdapter\\:\\:getMetadataForDqlAlias\\(\\) return type with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata does not specify its types\\: T$#" + count: 1 + path: src/Query/TreeWalkerAdapter.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Query\\\\TreeWalkerAdapter\\:\\:getQueryComponents\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 5 + path: src/Query/TreeWalkerAdapter.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Query\\\\TreeWalkerAdapter\\:\\:setQueryComponent\\(\\) has parameter \\$queryComponent with no value type specified in iterable type array\\.$#" + count: 5 + path: src/Query/TreeWalkerAdapter.php + + - + message: "#^Property Doctrine\\\\ORM\\\\Query\\\\TreeWalkerAdapter\\:\\:\\$queryComponents type has no value type specified in iterable type array\\.$#" + count: 5 + path: src/Query/TreeWalkerAdapter.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Query\\\\TreeWalkerChain\\:\\:__construct\\(\\) has parameter \\$queryComponents with no value type specified in iterable type array\\.$#" + count: 5 + path: src/Query/TreeWalkerChain.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Query\\\\TreeWalkerChain\\:\\:getExecutor\\(\\) should return Doctrine\\\\ORM\\\\Query\\\\Exec\\\\AbstractSqlExecutor but returns null\\.$#" + count: 1 + path: src/Query/TreeWalkerChain.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Query\\\\TreeWalkerChain\\:\\:getQueryComponents\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 5 + path: src/Query/TreeWalkerChain.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Query\\\\TreeWalkerChain\\:\\:setQueryComponent\\(\\) has parameter \\$queryComponent with no value type specified in iterable type array\\.$#" + count: 5 + path: src/Query/TreeWalkerChain.php + + - + message: "#^Property Doctrine\\\\ORM\\\\Query\\\\TreeWalkerChain\\:\\:\\$queryComponents type has no value type specified in iterable type array\\.$#" + count: 5 + path: src/Query/TreeWalkerChain.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Query\\\\TreeWalkerChainIterator\\:\\:key\\(\\) should return int but returns int\\|string\\|null\\.$#" + count: 1 + path: src/Query/TreeWalkerChainIterator.php + + - + message: "#^Parameter \\#2 \\$value \\(string\\) of method Doctrine\\\\ORM\\\\Query\\\\TreeWalkerChainIterator\\:\\:offsetSet\\(\\) should be compatible with parameter \\$value \\(Doctrine\\\\ORM\\\\Query\\\\TreeWalker\\) of method ArrayAccess\\\\:\\:offsetSet\\(\\)$#" + count: 1 + path: src/Query/TreeWalkerChainIterator.php + + - + message: "#^Property Doctrine\\\\ORM\\\\Query\\\\TreeWalkerChainIterator\\:\\:\\$walkers \\(array\\\\>\\) does not accept array\\\\.$#" + count: 2 + path: src/Query/TreeWalkerChainIterator.php + + - + message: "#^Argument of an invalid type array\\\\|object\\|string\\>\\|object\\|string\\|false supplied for foreach, only iterables are supported\\.$#" + count: 1 + path: src/QueryBuilder.php + + - + message: "#^Method Doctrine\\\\ORM\\\\QueryBuilder\\:\\:getParameter\\(\\) should return Doctrine\\\\ORM\\\\Query\\\\Parameter\\|null but returns Doctrine\\\\ORM\\\\Query\\\\Parameter\\|false\\|null\\.$#" + count: 1 + path: src/QueryBuilder.php + + - + message: "#^PHPDoc tag @param references unknown parameter\\: \\$where$#" + count: 2 + path: src/QueryBuilder.php + + - + message: "#^Parameter \\#2 \\$dqlPart of method Doctrine\\\\ORM\\\\QueryBuilder\\:\\:add\\(\\) expects array\\<'join'\\|int, array\\\\|string\\>\\|object\\|string, non\\-empty\\-array\\ given\\.$#" + count: 2 + path: src/QueryBuilder.php + + - + message: "#^Parameter \\#3 \\$length of function substr expects int\\|null, int\\|false given\\.$#" + count: 2 + path: src/QueryBuilder.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Repository\\\\DefaultRepositoryFactory\\:\\:createRepository\\(\\) return type with generic interface Doctrine\\\\Persistence\\\\ObjectRepository does not specify its types\\: T$#" + count: 1 + path: src/Repository/DefaultRepositoryFactory.php + + - + message: "#^Property Doctrine\\\\ORM\\\\Repository\\\\DefaultRepositoryFactory\\:\\:\\$repositoryList with generic interface Doctrine\\\\Persistence\\\\ObjectRepository does not specify its types\\: T$#" + count: 1 + path: src/Repository/DefaultRepositoryFactory.php + + - + message: "#^Class Doctrine\\\\Common\\\\Cache\\\\ApcCache not found\\.$#" + count: 1 + path: src/Tools/Console/Command/ClearCache/QueryCommand.php + + - + message: "#^Class Doctrine\\\\Common\\\\Cache\\\\XcacheCache not found\\.$#" + count: 1 + path: src/Tools/Console/Command/ClearCache/QueryCommand.php + + - + message: "#^Class Doctrine\\\\Common\\\\Cache\\\\ApcCache not found\\.$#" + count: 1 + path: src/Tools/Console/Command/ClearCache/ResultCommand.php + + - + message: "#^Class Doctrine\\\\Common\\\\Cache\\\\XcacheCache not found\\.$#" + count: 1 + path: src/Tools/Console/Command/ClearCache/ResultCommand.php + + - + message: "#^Parameter \\#1 \\$filename of function file_exists expects string, string\\|false given\\.$#" + count: 1 + path: src/Tools/Console/Command/ConvertDoctrine1SchemaCommand.php + + - + message: "#^Parameter \\#1 \\$filename of function is_readable expects string, string\\|false given\\.$#" + count: 1 + path: src/Tools/Console/Command/ConvertDoctrine1SchemaCommand.php + + - + message: "#^Parameter \\#1 \\$metadata of method Doctrine\\\\ORM\\\\Tools\\\\Export\\\\Driver\\\\AbstractExporter\\:\\:setMetadata\\(\\) expects array\\, array\\ given\\.$#" + count: 1 + path: src/Tools/Console/Command/ConvertDoctrine1SchemaCommand.php + + - + message: "#^Parameter \\#2 \\$destPath of method Doctrine\\\\ORM\\\\Tools\\\\Console\\\\Command\\\\ConvertDoctrine1SchemaCommand\\:\\:convertDoctrine1Schema\\(\\) expects string, string\\|false given\\.$#" + count: 1 + path: src/Tools/Console/Command/ConvertDoctrine1SchemaCommand.php + + - + message: "#^Access to an undefined property Doctrine\\\\Persistence\\\\Mapping\\\\ClassMetadata\\:\\:\\$name\\.$#" + count: 1 + path: src/Tools/Console/Command/ConvertMappingCommand.php + + - + message: "#^Parameter \\#1 \\$filename of function file_exists expects string, string\\|false given\\.$#" + count: 1 + path: src/Tools/Console/Command/ConvertMappingCommand.php + + - + message: "#^Parameter \\#1 \\$filename of function is_writable expects string, string\\|false given\\.$#" + count: 1 + path: src/Tools/Console/Command/ConvertMappingCommand.php + + - + message: "#^Parameter \\#1 \\$metadata of method Doctrine\\\\ORM\\\\Tools\\\\Export\\\\Driver\\\\AbstractExporter\\:\\:setMetadata\\(\\) expects array\\, array\\ given\\.$#" + count: 1 + path: src/Tools/Console/Command/ConvertMappingCommand.php + + - + message: "#^Parameter \\#2 \\$destPath of method Doctrine\\\\ORM\\\\Tools\\\\Console\\\\Command\\\\ConvertMappingCommand\\:\\:getExporter\\(\\) expects string, string\\|false given\\.$#" + count: 1 + path: src/Tools/Console/Command/ConvertMappingCommand.php + + - + message: "#^Access to an undefined property Doctrine\\\\Persistence\\\\Mapping\\\\ClassMetadata\\:\\:\\$name\\.$#" + count: 1 + path: src/Tools/Console/Command/GenerateEntitiesCommand.php + + - + message: "#^Parameter \\#1 \\$filename of function file_exists expects string, string\\|false given\\.$#" + count: 1 + path: src/Tools/Console/Command/GenerateEntitiesCommand.php + + - + message: "#^Parameter \\#1 \\$filename of function is_writable expects string, string\\|false given\\.$#" + count: 1 + path: src/Tools/Console/Command/GenerateEntitiesCommand.php + + - + message: "#^Parameter \\#1 \\$metadatas of method Doctrine\\\\ORM\\\\Tools\\\\EntityGenerator\\:\\:generate\\(\\) expects array\\, array\\ given\\.$#" + count: 1 + path: src/Tools/Console/Command/GenerateEntitiesCommand.php + + - + message: "#^Parameter \\#2 \\$outputDirectory of method Doctrine\\\\ORM\\\\Tools\\\\EntityGenerator\\:\\:generate\\(\\) expects string, string\\|false given\\.$#" + count: 1 + path: src/Tools/Console/Command/GenerateEntitiesCommand.php + + - + message: "#^Access to an undefined property Doctrine\\\\Persistence\\\\Mapping\\\\ClassMetadata\\:\\:\\$name\\.$#" + count: 1 + path: src/Tools/Console/Command/GenerateProxiesCommand.php + + - + message: "#^Parameter \\#1 \\$filename of function file_exists expects string, string\\|false given\\.$#" + count: 1 + path: src/Tools/Console/Command/GenerateProxiesCommand.php + + - + message: "#^Parameter \\#1 \\$filename of function is_writable expects string, string\\|false given\\.$#" + count: 1 + path: src/Tools/Console/Command/GenerateProxiesCommand.php + + - + message: "#^Parameter \\#2 \\$proxyDir of method Doctrine\\\\ORM\\\\Proxy\\\\ProxyFactory\\:\\:generateProxyClasses\\(\\) expects string\\|null, string\\|false given\\.$#" + count: 1 + path: src/Tools/Console/Command/GenerateProxiesCommand.php + + - + message: "#^Access to an undefined property Doctrine\\\\Persistence\\\\Mapping\\\\ClassMetadata\\:\\:\\$customRepositoryClassName\\.$#" + count: 1 + path: src/Tools/Console/Command/GenerateRepositoriesCommand.php + + - + message: "#^Parameter \\#1 \\$filename of function file_exists expects string, string\\|false given\\.$#" + count: 1 + path: src/Tools/Console/Command/GenerateRepositoriesCommand.php + + - + message: "#^Parameter \\#1 \\$filename of function is_writable expects string, string\\|false given\\.$#" + count: 1 + path: src/Tools/Console/Command/GenerateRepositoriesCommand.php + + - + message: "#^Parameter \\#2 \\$outputDirectory of method Doctrine\\\\ORM\\\\Tools\\\\EntityRepositoryGenerator\\:\\:writeEntityRepositoryClass\\(\\) expects string, string\\|false given\\.$#" + count: 1 + path: src/Tools/Console/Command/GenerateRepositoriesCommand.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\Console\\\\Command\\\\MappingDescribeCommand\\:\\:formatMappings\\(\\) has parameter \\$propertyMappings with no value type specified in iterable type array\\.$#" + count: 5 + path: src/Tools/Console/Command/MappingDescribeCommand.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\Console\\\\Command\\\\MappingDescribeCommand\\:\\:formatValue\\(\\) should return string but returns string\\|false\\.$#" + count: 1 + path: src/Tools/Console/Command/MappingDescribeCommand.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\Console\\\\Command\\\\MappingDescribeCommand\\:\\:getClassMetadata\\(\\) return type with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata does not specify its types\\: T$#" + count: 1 + path: src/Tools/Console/Command/MappingDescribeCommand.php + + - + message: "#^Parameter \\#1 \\$entityListeners of method Doctrine\\\\ORM\\\\Tools\\\\Console\\\\Command\\\\MappingDescribeCommand\\:\\:formatEntityListeners\\(\\) expects array\\, array\\\\>\\> given\\.$#" + count: 1 + path: src/Tools/Console/Command/MappingDescribeCommand.php + + - + message: "#^Parameter \\#2 \\$callback of function array_filter expects \\(callable\\(class\\-string\\)\\: bool\\)\\|null, Closure\\(mixed\\)\\: \\(0\\|1\\|false\\) given\\.$#" + count: 1 + path: src/Tools/Console/Command/MappingDescribeCommand.php + + - + message: "#^Parameter \\#1 \\$helpers of class Symfony\\\\Component\\\\Console\\\\Helper\\\\HelperSet constructor expects array\\, array\\ given\\.$#" + count: 1 + path: src/Tools/Console/ConsoleRunner.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\Console\\\\MetadataFilter\\:\\:__construct\\(\\) has parameter \\$metadata with generic class ArrayIterator but does not specify its types\\: TKey, TValue$#" + count: 1 + path: src/Tools/Console/MetadataFilter.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\Console\\\\MetadataFilter\\:\\:filter\\(\\) has parameter \\$metadatas with generic interface Doctrine\\\\Persistence\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Tools/Console/MetadataFilter.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\Console\\\\MetadataFilter\\:\\:filter\\(\\) return type with generic interface Doctrine\\\\Persistence\\\\Mapping\\\\ClassMetadata does not specify its types\\: T$#" + count: 1 + path: src/Tools/Console/MetadataFilter.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\Console\\\\MetadataFilter\\:\\:getInnerIterator\\(\\) return type with generic interface Doctrine\\\\Persistence\\\\Mapping\\\\ClassMetadata does not specify its types\\: T$#" + count: 1 + path: src/Tools/Console/MetadataFilter.php + + - + message: "#^Argument of an invalid type array\\\\|false supplied for foreach, only iterables are supported\\.$#" + count: 1 + path: src/Tools/ConvertDoctrine1Schema.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\ConvertDoctrine1Schema\\:\\:convertColumn\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo but does not specify its types\\: T$#" + count: 1 + path: src/Tools/ConvertDoctrine1Schema.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\ConvertDoctrine1Schema\\:\\:convertColumns\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo but does not specify its types\\: T$#" + count: 1 + path: src/Tools/ConvertDoctrine1Schema.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\ConvertDoctrine1Schema\\:\\:convertIndexes\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo but does not specify its types\\: T$#" + count: 1 + path: src/Tools/ConvertDoctrine1Schema.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\ConvertDoctrine1Schema\\:\\:convertRelations\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo but does not specify its types\\: T$#" + count: 1 + path: src/Tools/ConvertDoctrine1Schema.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\ConvertDoctrine1Schema\\:\\:convertTableName\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo but does not specify its types\\: T$#" + count: 1 + path: src/Tools/ConvertDoctrine1Schema.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\ConvertDoctrine1Schema\\:\\:convertToClassMetadataInfo\\(\\) return type with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo does not specify its types\\: T$#" + count: 1 + path: src/Tools/ConvertDoctrine1Schema.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\ConvertDoctrine1Schema\\:\\:getMetadata\\(\\) return type with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo does not specify its types\\: T$#" + count: 1 + path: src/Tools/ConvertDoctrine1Schema.php + + - + message: "#^Parameter \\#1 \\$className of method Doctrine\\\\ORM\\\\Tools\\\\ConvertDoctrine1Schema\\:\\:convertToClassMetadataInfo\\(\\) expects class\\-string, \\(int\\|string\\) given\\.$#" + count: 1 + path: src/Tools/ConvertDoctrine1Schema.php + + - + message: "#^Parameter \\#1 \\$input of static method Symfony\\\\Component\\\\Yaml\\\\Yaml\\:\\:parse\\(\\) expects string, string\\|false given\\.$#" + count: 2 + path: src/Tools/ConvertDoctrine1Schema.php + + - + message: "#^Parameter \\#1 \\$string of function html_entity_decode expects string, string\\|false given\\.$#" + count: 1 + path: src/Tools/Debug.php + + - + message: "#^Parameter \\#1 \\$stream of function fclose expects resource, resource\\|false given\\.$#" + count: 1 + path: src/Tools/DebugUnitOfWorkListener.php + + - + message: "#^Parameter \\#1 \\$stream of function fwrite expects resource, resource\\|false given\\.$#" + count: 14 + path: src/Tools/DebugUnitOfWorkListener.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\EntityGenerator\\:\\:generate\\(\\) has parameter \\$metadatas with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo but does not specify its types\\: T$#" + count: 1 + path: src/Tools/EntityGenerator.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\EntityGenerator\\:\\:generateAssociationMappingPropertyDocBlock\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo but does not specify its types\\: T$#" + count: 1 + path: src/Tools/EntityGenerator.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\EntityGenerator\\:\\:generateDiscriminatorColumnAnnotation\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo but does not specify its types\\: T$#" + count: 1 + path: src/Tools/EntityGenerator.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\EntityGenerator\\:\\:generateDiscriminatorMapAnnotation\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo but does not specify its types\\: T$#" + count: 1 + path: src/Tools/EntityGenerator.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\EntityGenerator\\:\\:generateEmbeddableConstructor\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo but does not specify its types\\: T$#" + count: 1 + path: src/Tools/EntityGenerator.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\EntityGenerator\\:\\:generateEntityAnnotation\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo but does not specify its types\\: T$#" + count: 1 + path: src/Tools/EntityGenerator.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\EntityGenerator\\:\\:generateEntityAssociationMappingProperties\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo but does not specify its types\\: T$#" + count: 1 + path: src/Tools/EntityGenerator.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\EntityGenerator\\:\\:generateEntityBody\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo but does not specify its types\\: T$#" + count: 1 + path: src/Tools/EntityGenerator.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\EntityGenerator\\:\\:generateEntityClass\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo but does not specify its types\\: T$#" + count: 1 + path: src/Tools/EntityGenerator.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\EntityGenerator\\:\\:generateEntityClassName\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo but does not specify its types\\: T$#" + count: 1 + path: src/Tools/EntityGenerator.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\EntityGenerator\\:\\:generateEntityConstructor\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo but does not specify its types\\: T$#" + count: 1 + path: src/Tools/EntityGenerator.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\EntityGenerator\\:\\:generateEntityDocBlock\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo but does not specify its types\\: T$#" + count: 1 + path: src/Tools/EntityGenerator.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\EntityGenerator\\:\\:generateEntityEmbeddedProperties\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo but does not specify its types\\: T$#" + count: 1 + path: src/Tools/EntityGenerator.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\EntityGenerator\\:\\:generateEntityFieldMappingProperties\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo but does not specify its types\\: T$#" + count: 1 + path: src/Tools/EntityGenerator.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\EntityGenerator\\:\\:generateEntityLifecycleCallbackMethods\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo but does not specify its types\\: T$#" + count: 1 + path: src/Tools/EntityGenerator.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\EntityGenerator\\:\\:generateEntityListenerAnnotation\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo but does not specify its types\\: T$#" + count: 1 + path: src/Tools/EntityGenerator.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\EntityGenerator\\:\\:generateEntityNamespace\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo but does not specify its types\\: T$#" + count: 1 + path: src/Tools/EntityGenerator.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\EntityGenerator\\:\\:generateEntityStubMethod\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo but does not specify its types\\: T$#" + count: 1 + path: src/Tools/EntityGenerator.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\EntityGenerator\\:\\:generateEntityStubMethods\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo but does not specify its types\\: T$#" + count: 1 + path: src/Tools/EntityGenerator.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\EntityGenerator\\:\\:generateFieldMappingPropertyDocBlock\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo but does not specify its types\\: T$#" + count: 1 + path: src/Tools/EntityGenerator.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\EntityGenerator\\:\\:generateInheritanceAnnotation\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo but does not specify its types\\: T$#" + count: 1 + path: src/Tools/EntityGenerator.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\EntityGenerator\\:\\:generateLifecycleCallbackMethod\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo but does not specify its types\\: T$#" + count: 1 + path: src/Tools/EntityGenerator.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\EntityGenerator\\:\\:generateTableAnnotation\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo but does not specify its types\\: T$#" + count: 1 + path: src/Tools/EntityGenerator.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\EntityGenerator\\:\\:generateUpdatedEntityClass\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo but does not specify its types\\: T$#" + count: 1 + path: src/Tools/EntityGenerator.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\EntityGenerator\\:\\:getClassName\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo but does not specify its types\\: T$#" + count: 1 + path: src/Tools/EntityGenerator.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\EntityGenerator\\:\\:getNamespace\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo but does not specify its types\\: T$#" + count: 1 + path: src/Tools/EntityGenerator.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\EntityGenerator\\:\\:getTraits\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo but does not specify its types\\: T$#" + count: 1 + path: src/Tools/EntityGenerator.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\EntityGenerator\\:\\:getTraits\\(\\) should return array\\\\> but returns array\\\\.$#" + count: 1 + path: src/Tools/EntityGenerator.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\EntityGenerator\\:\\:hasMethod\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo but does not specify its types\\: T$#" + count: 1 + path: src/Tools/EntityGenerator.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\EntityGenerator\\:\\:hasNamespace\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo but does not specify its types\\: T$#" + count: 1 + path: src/Tools/EntityGenerator.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\EntityGenerator\\:\\:hasProperty\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo but does not specify its types\\: T$#" + count: 1 + path: src/Tools/EntityGenerator.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\EntityGenerator\\:\\:writeEntityClass\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo but does not specify its types\\: T$#" + count: 1 + path: src/Tools/EntityGenerator.php + + - + message: "#^Offset 'allocationSize' on array\\{sequenceName\\: string, allocationSize\\: string, initialValue\\: string, quoted\\?\\: mixed\\} in isset\\(\\) always exists and is not nullable\\.$#" + count: 1 + path: src/Tools/EntityGenerator.php + + - + message: "#^Offset 'initialValue' on array\\{sequenceName\\: string, allocationSize\\: string, initialValue\\: string, quoted\\?\\: mixed\\} in isset\\(\\) always exists and is not nullable\\.$#" + count: 1 + path: src/Tools/EntityGenerator.php + + - + message: "#^Offset 'name' on array\\{name\\: string, schema\\?\\: string, indexes\\?\\: array, uniqueConstraints\\?\\: array, options\\?\\: array\\, quoted\\?\\: bool\\} in isset\\(\\) always exists and is not nullable\\.$#" + count: 1 + path: src/Tools/EntityGenerator.php + + - + message: "#^Offset 'sequenceName' on array\\{sequenceName\\: string, allocationSize\\: string, initialValue\\: string, quoted\\?\\: mixed\\} in isset\\(\\) always exists and is not nullable\\.$#" + count: 1 + path: src/Tools/EntityGenerator.php + + - + message: "#^Parameter \\#1 \\$haystack of function strrpos expects string, string\\|false given\\.$#" + count: 1 + path: src/Tools/EntityGenerator.php + + - + message: "#^Parameter \\#1 \\$objectOrClass of class ReflectionClass constructor expects class\\-string\\\\|T of object, string given\\.$#" + count: 3 + path: src/Tools/EntityGenerator.php + + - + message: "#^Parameter \\#1 \\$src of method Doctrine\\\\ORM\\\\Tools\\\\EntityGenerator\\:\\:parseTokensInEntityFile\\(\\) expects string, string\\|false given\\.$#" + count: 1 + path: src/Tools/EntityGenerator.php + + - + message: "#^Parameter \\#1 \\$string of function substr expects string, string\\|false given\\.$#" + count: 1 + path: src/Tools/EntityGenerator.php + + - + message: "#^Parameter \\#3 \\$length of function substr expects int\\|null, int\\|false given\\.$#" + count: 2 + path: src/Tools/EntityGenerator.php + + - + message: "#^Property Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo\\\\:\\:\\$lifecycleCallbacks \\(array\\\\>\\) in isset\\(\\) is not nullable\\.$#" + count: 1 + path: src/Tools/EntityGenerator.php + + - + message: "#^Parameter \\#1 \\$fullClassName of method Doctrine\\\\ORM\\\\Tools\\\\EntityRepositoryGenerator\\:\\:generateClassName\\(\\) expects class\\-string, string given\\.$#" + count: 1 + path: src/Tools/EntityRepositoryGenerator.php + + - + message: "#^Parameter \\#1 \\$fullClassName of method Doctrine\\\\ORM\\\\Tools\\\\EntityRepositoryGenerator\\:\\:generateEntityRepositoryNamespace\\(\\) expects class\\-string, string given\\.$#" + count: 1 + path: src/Tools/EntityRepositoryGenerator.php + + - + message: "#^Parameter \\#1 \\$fullClassName of method Doctrine\\\\ORM\\\\Tools\\\\EntityRepositoryGenerator\\:\\:getClassNamespace\\(\\) expects class\\-string, string given\\.$#" + count: 1 + path: src/Tools/EntityRepositoryGenerator.php + + - + message: "#^Property Doctrine\\\\ORM\\\\Tools\\\\EntityRepositoryGenerator\\:\\:\\$repositoryName \\(class\\-string\\|null\\) does not accept string\\.$#" + count: 1 + path: src/Tools/EntityRepositoryGenerator.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\Event\\\\GenerateSchemaTableEventArgs\\:\\:__construct\\(\\) has parameter \\$classMetadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Tools/Event/GenerateSchemaTableEventArgs.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\Event\\\\GenerateSchemaTableEventArgs\\:\\:getClassMetadata\\(\\) return type with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata does not specify its types\\: T$#" + count: 1 + path: src/Tools/Event/GenerateSchemaTableEventArgs.php + + - + message: "#^Property Doctrine\\\\ORM\\\\Tools\\\\Event\\\\GenerateSchemaTableEventArgs\\:\\:\\$classMetadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata does not specify its types\\: T$#" + count: 1 + path: src/Tools/Event/GenerateSchemaTableEventArgs.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\Export\\\\ClassMetadataExporter\\:\\:getExporter\\(\\) should return Doctrine\\\\ORM\\\\Tools\\\\Export\\\\Driver\\\\AbstractExporter but returns object\\.$#" + count: 1 + path: src/Tools/Export/ClassMetadataExporter.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\Export\\\\Driver\\\\AbstractExporter\\:\\:_generateOutputPath\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo but does not specify its types\\: T$#" + count: 1 + path: src/Tools/Export/Driver/AbstractExporter.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\Export\\\\Driver\\\\AbstractExporter\\:\\:_getIdGeneratorTypeString\\(\\) should return string but return statement is missing\\.$#" + count: 1 + path: src/Tools/Export/Driver/AbstractExporter.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\Export\\\\Driver\\\\AbstractExporter\\:\\:exportClassMetadata\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo but does not specify its types\\: T$#" + count: 1 + path: src/Tools/Export/Driver/AbstractExporter.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\Export\\\\Driver\\\\AbstractExporter\\:\\:setMetadata\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" + count: 1 + path: src/Tools/Export/Driver/AbstractExporter.php + + - + message: "#^Property Doctrine\\\\ORM\\\\Tools\\\\Export\\\\Driver\\\\AbstractExporter\\:\\:\\$_metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata does not specify its types\\: T$#" + count: 1 + path: src/Tools/Export/Driver/AbstractExporter.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\Export\\\\Driver\\\\AnnotationExporter\\:\\:_generateOutputPath\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo but does not specify its types\\: T$#" + count: 1 + path: src/Tools/Export/Driver/AnnotationExporter.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\Export\\\\Driver\\\\AnnotationExporter\\:\\:exportClassMetadata\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo but does not specify its types\\: T$#" + count: 1 + path: src/Tools/Export/Driver/AnnotationExporter.php + + - + message: "#^If condition is always true\\.$#" + count: 1 + path: src/Tools/Export/Driver/PhpExporter.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\Export\\\\Driver\\\\PhpExporter\\:\\:exportClassMetadata\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo but does not specify its types\\: T$#" + count: 1 + path: src/Tools/Export/Driver/PhpExporter.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\Export\\\\Driver\\\\PhpExporter\\:\\:processEntityListeners\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo but does not specify its types\\: T$#" + count: 1 + path: src/Tools/Export/Driver/PhpExporter.php + + - + message: "#^Offset 'joinColumns' does not exist on array\\{cache\\?\\: array, cascade\\: array\\, declared\\?\\: class\\-string, fetch\\: mixed, fieldName\\: string, id\\?\\: bool, inherited\\?\\: class\\-string, indexBy\\?\\: string, \\.\\.\\.\\}\\.$#" + count: 1 + path: src/Tools/Export/Driver/PhpExporter.php + + - + message: "#^Offset 'orphanRemoval' does not exist on array\\{cache\\?\\: array, cascade\\: array\\, declared\\?\\: class\\-string, fetch\\: mixed, fieldName\\: string, id\\?\\: bool, inherited\\?\\: class\\-string, indexBy\\?\\: string, \\.\\.\\.\\}\\.$#" + count: 1 + path: src/Tools/Export/Driver/PhpExporter.php + + - + message: "#^Parameter \\#1 \\$policy of method Doctrine\\\\ORM\\\\Tools\\\\Export\\\\Driver\\\\AbstractExporter\\:\\:_getChangeTrackingPolicyString\\(\\) expects 1\\|2\\|3, int\\\\|int\\<1, max\\> given\\.$#" + count: 1 + path: src/Tools/Export/Driver/PhpExporter.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\Export\\\\Driver\\\\XmlExporter\\:\\:asXml\\(\\) should return string but returns string\\|false\\.$#" + count: 1 + path: src/Tools/Export/Driver/XmlExporter.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\Export\\\\Driver\\\\XmlExporter\\:\\:exportClassMetadata\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo but does not specify its types\\: T$#" + count: 1 + path: src/Tools/Export/Driver/XmlExporter.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\Export\\\\Driver\\\\XmlExporter\\:\\:exportSequenceInformation\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo but does not specify its types\\: T$#" + count: 1 + path: src/Tools/Export/Driver/XmlExporter.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\Export\\\\Driver\\\\XmlExporter\\:\\:generateEntityListenerXml\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo but does not specify its types\\: T$#" + count: 1 + path: src/Tools/Export/Driver/XmlExporter.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\Export\\\\Driver\\\\XmlExporter\\:\\:processEntityListeners\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo but does not specify its types\\: T$#" + count: 1 + path: src/Tools/Export/Driver/XmlExporter.php + + - + message: "#^Offset 'name' on array\\{name\\: string, schema\\?\\: string, indexes\\?\\: array, uniqueConstraints\\?\\: array, options\\?\\: array\\, quoted\\?\\: bool\\} in isset\\(\\) always exists and is not nullable\\.$#" + count: 1 + path: src/Tools/Export/Driver/XmlExporter.php + + - + message: "#^Parameter \\#1 \\$policy of method Doctrine\\\\ORM\\\\Tools\\\\Export\\\\Driver\\\\AbstractExporter\\:\\:_getChangeTrackingPolicyString\\(\\) expects 1\\|2\\|3, int given\\.$#" + count: 1 + path: src/Tools/Export/Driver/XmlExporter.php + + - + message: "#^Parameter \\#1 \\$source of method DOMDocument\\:\\:loadXML\\(\\) expects string, string\\|false given\\.$#" + count: 1 + path: src/Tools/Export/Driver/XmlExporter.php + + - + message: "#^Property Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo\\\\:\\:\\$lifecycleCallbacks \\(array\\\\>\\) in isset\\(\\) is not nullable\\.$#" + count: 1 + path: src/Tools/Export/Driver/XmlExporter.php + + - + message: "#^Right side of && is always true\\.$#" + count: 1 + path: src/Tools/Export/Driver/XmlExporter.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\Export\\\\Driver\\\\YamlExporter\\:\\:exportClassMetadata\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo but does not specify its types\\: T$#" + count: 1 + path: src/Tools/Export/Driver/YamlExporter.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\Export\\\\Driver\\\\YamlExporter\\:\\:processEntityListeners\\(\\) has parameter \\$metadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo but does not specify its types\\: T$#" + count: 1 + path: src/Tools/Export/Driver/YamlExporter.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\Export\\\\Driver\\\\YamlExporter\\:\\:processEntityListeners\\(\\) should return array\\{entityListeners\\: array\\\\>\\} but returns array\\\\.$#" + count: 1 + path: src/Tools/Export/Driver/YamlExporter.php + + - + message: "#^Offset 'joinColumns' does not exist on array\\{cache\\?\\: array, cascade\\: array\\, declared\\?\\: class\\-string, fetch\\: mixed, fieldName\\: string, id\\?\\: bool, inherited\\?\\: class\\-string, indexBy\\?\\: string, \\.\\.\\.\\}\\.$#" + count: 1 + path: src/Tools/Export/Driver/YamlExporter.php + + - + message: "#^Offset 'orphanRemoval' does not exist on array\\{cache\\?\\: array, cascade\\: array\\, declared\\?\\: class\\-string, fetch\\: mixed, fieldName\\: string, id\\?\\: bool, inherited\\?\\: class\\-string, indexBy\\?\\: string, \\.\\.\\.\\}\\.$#" + count: 2 + path: src/Tools/Export/Driver/YamlExporter.php - - message: "#^Call to an undefined method Doctrine\\\\Persistence\\\\Mapping\\\\ClassMetadata\\:\\:mapManyToMany\\(\\)\\.$#" + message: "#^Parameter \\#1 \\$array of method Doctrine\\\\ORM\\\\Tools\\\\Export\\\\Driver\\\\YamlExporter\\:\\:processEntityListenerConfig\\(\\) expects array\\{entityListeners\\: array\\\\>\\}, non\\-empty\\-array\\ given\\.$#" count: 1 - path: src/Mapping/Driver/AnnotationDriver.php + path: src/Tools/Export/Driver/YamlExporter.php - - message: "#^Call to an undefined method Doctrine\\\\Persistence\\\\Mapping\\\\ClassMetadata\\:\\:mapManyToOne\\(\\)\\.$#" + message: "#^Parameter \\#1 \\$policy of method Doctrine\\\\ORM\\\\Tools\\\\Export\\\\Driver\\\\AbstractExporter\\:\\:_getChangeTrackingPolicyString\\(\\) expects 1\\|2\\|3, int\\\\|int\\<2, max\\> given\\.$#" count: 1 - path: src/Mapping/Driver/AnnotationDriver.php + path: src/Tools/Export/Driver/YamlExporter.php - - message: "#^Call to an undefined method Doctrine\\\\Persistence\\\\Mapping\\\\ClassMetadata\\:\\:mapOneToMany\\(\\)\\.$#" + message: "#^Property Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo\\\\:\\:\\$lifecycleCallbacks \\(array\\\\>\\) in isset\\(\\) is not nullable\\.$#" count: 1 - path: src/Mapping/Driver/AnnotationDriver.php + path: src/Tools/Export/Driver/YamlExporter.php - - message: "#^Call to an undefined method Doctrine\\\\Persistence\\\\Mapping\\\\ClassMetadata\\:\\:mapOneToOne\\(\\)\\.$#" + message: "#^Property Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo\\\\:\\:\\$table \\(array\\\\) on left side of \\?\\? is not nullable\\.$#" count: 1 - path: src/Mapping/Driver/AnnotationDriver.php + path: src/Tools/Export/Driver/YamlExporter.php - - message: "#^Expression on left side of \\?\\? is not nullable\\.$#" - count: 1 - path: src/Mapping/Driver/AnnotationDriver.php + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\Pagination\\\\CountOutputWalker\\:\\:__construct\\(\\) has parameter \\$queryComponents with no value type specified in iterable type array\\.$#" + count: 5 + path: src/Tools/Pagination/CountOutputWalker.php - - message: "#^Expression on left side of \\?\\? is not nullable\\.$#" + message: "#^Offset 'joinColumns' does not exist on array\\{cache\\?\\: array, cascade\\: array\\, declared\\?\\: class\\-string, fetch\\: mixed, fieldName\\: string, id\\?\\: bool, inherited\\?\\: class\\-string, indexBy\\?\\: string, \\.\\.\\.\\}\\.$#" count: 1 - path: src/Mapping/Driver/AttributeDriver.php + path: src/Tools/Pagination/CountOutputWalker.php - - message: "#^Parameter \\#4 \\.\\.\\.\\$args of static method Doctrine\\\\Deprecations\\\\Deprecation\\:\\:trigger\\(\\) expects float\\|int\\|string, false given\\.$#" + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\Pagination\\\\LimitSubqueryOutputWalker\\:\\:__construct\\(\\) has parameter \\$queryComponents with no value type specified in iterable type array\\.$#" + count: 5 + path: src/Tools/Pagination/LimitSubqueryOutputWalker.php + + - + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\Pagination\\\\LimitSubqueryOutputWalker\\:\\:walkSubSelect\\(\\) has no return type specified\\.$#" count: 1 - path: src/Mapping/Driver/DatabaseDriver.php + path: src/Tools/Pagination/LimitSubqueryOutputWalker.php - - message: "#^Empty array passed to foreach\\.$#" + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\Pagination\\\\LimitSubqueryOutputWalker\\:\\:walkSubSelect\\(\\) has parameter \\$subselect with no type specified\\.$#" count: 1 - path: src/Mapping/Driver/XmlDriver.php + path: src/Tools/Pagination/LimitSubqueryOutputWalker.php - - message: "#^Offset 'version' on \\*NEVER\\* in isset\\(\\) always exists and is not nullable\\.$#" + message: "#^Offset 'joinColumns' does not exist on array\\{cache\\?\\: array, cascade\\: array\\, declared\\?\\: class\\-string, fetch\\: mixed, fieldName\\: string, id\\?\\: bool, inherited\\?\\: class\\-string, indexBy\\?\\: string, \\.\\.\\.\\}\\.$#" count: 1 - path: src/Mapping/Driver/XmlDriver.php + path: src/Tools/Pagination/LimitSubqueryOutputWalker.php - - message: "#^Call to function is_int\\(\\) with string will always evaluate to false\\.$#" + message: "#^Parameter \\#3 \\$length of function substr expects int\\|null, int\\|false given\\.$#" count: 1 - path: src/NativeQuery.php + path: src/Tools/Pagination/LimitSubqueryOutputWalker.php - - message: "#^Result of && is always false\\.$#" + message: "#^PHPDoc tag @var for variable \\$parameters contains generic interface Doctrine\\\\Common\\\\Collections\\\\Collection but does not specify its types\\: TKey, T$#" count: 1 - path: src/NativeQuery.php + path: src/Tools/Pagination/Paginator.php - - message: "#^Method Doctrine\\\\ORM\\\\Persisters\\\\Collection\\\\OneToManyPersister\\:\\:delete\\(\\) should return int\\|null but empty return statement found\\.$#" + message: "#^Parameter \\#1 \\$parameters of method Doctrine\\\\ORM\\\\AbstractQuery\\:\\:setParameters\\(\\) expects array\\|Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\, Doctrine\\\\Common\\\\Collections\\\\Collection&iterable\\ given\\.$#" count: 1 - path: src/Persisters/Collection/OneToManyPersister.php + path: src/Tools/Pagination/Paginator.php - - message: "#^Parameter \\#3 \\$hints of method Doctrine\\\\ORM\\\\Internal\\\\Hydration\\\\AbstractHydrator\\:\\:hydrateAll\\(\\) expects array\\, array\\ given\\.$#" + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\ResolveTargetEntityListener\\:\\:remapAssociation\\(\\) has parameter \\$classMetadata with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" count: 1 - path: src/Persisters/Entity/BasicEntityPersister.php + path: src/Tools/ResolveTargetEntityListener.php - - message: "#^Parameter \\#3 \\$hints of method Doctrine\\\\ORM\\\\Internal\\\\Hydration\\\\AbstractHydrator\\:\\:hydrateAll\\(\\) expects array\\, array\\ given\\.$#" - count: 4 - path: src/Persisters/Entity/BasicEntityPersister.php + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\ResolveTargetEntityListener\\:\\:remapAssociation\\(\\) has parameter \\$mapping with no value type specified in iterable type array\\.$#" + count: 5 + path: src/Tools/ResolveTargetEntityListener.php - - message: "#^Strict comparison using \\=\\=\\= between string and null will always evaluate to false\\.$#" + message: "#^Parameter \\#1 \\$className of method Doctrine\\\\Persistence\\\\Mapping\\\\AbstractClassMetadataFactory\\\\:\\:setMetadataFor\\(\\) expects class\\-string, \\(int\\|string\\) given\\.$#" count: 1 - path: src/Persisters/Entity/BasicEntityPersister.php + path: src/Tools/ResolveTargetEntityListener.php - - message: "#^Property Doctrine\\\\ORM\\\\Persisters\\\\Entity\\\\CachedPersisterContext\\:\\:\\$class \\(Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata\\) does not accept Doctrine\\\\Persistence\\\\Mapping\\\\ClassMetadata\\.$#" + message: "#^Else branch is unreachable because ternary operator condition is always true\\.$#" count: 1 - path: src/Persisters/Entity/CachedPersisterContext.php + path: src/Tools/SchemaTool.php - - message: "#^Access to an undefined property Doctrine\\\\Persistence\\\\Mapping\\\\ClassMetadata\\:\\:\\$isEmbeddedClass\\.$#" + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\SchemaTool\\:\\:addDiscriminatorColumnDefinition\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" count: 1 - path: src/Proxy/ProxyFactory.php + path: src/Tools/SchemaTool.php - - message: "#^Access to an undefined property Doctrine\\\\Persistence\\\\Mapping\\\\ClassMetadata\\:\\:\\$isMappedSuperclass\\.$#" + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\SchemaTool\\:\\:createSchema\\(\\) has parameter \\$classes with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" count: 1 - path: src/Proxy/ProxyFactory.php + path: src/Tools/SchemaTool.php - - message: "#^Call to an undefined method Doctrine\\\\Common\\\\Proxy\\\\Proxy\\:\\:__wakeup\\(\\)\\.$#" + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\SchemaTool\\:\\:dropSchema\\(\\) has parameter \\$classes with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" count: 1 - path: src/Proxy/ProxyFactory.php + path: src/Tools/SchemaTool.php - - message: "#^Call to an undefined static method Doctrine\\\\ORM\\\\Proxy\\\\ProxyFactory\\:\\:createLazyGhost\\(\\)\\.$#" + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\SchemaTool\\:\\:gatherColumn\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" count: 1 - path: src/Proxy/ProxyFactory.php + path: src/Tools/SchemaTool.php - - message: "#^Comparison operation \"\\<\" between 0\\|1\\|2\\|3\\|4 and 0 is always false\\.$#" + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\SchemaTool\\:\\:gatherColumns\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" count: 1 - path: src/Proxy/ProxyFactory.php + path: src/Tools/SchemaTool.php - - message: "#^Comparison operation \"\\>\" between 0\\|1\\|2\\|3\\|4 and 4 is always false\\.$#" + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\SchemaTool\\:\\:gatherRelationJoinColumns\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" count: 1 - path: src/Proxy/ProxyFactory.php + path: src/Tools/SchemaTool.php - - message: "#^Parameter \\#1 \\$class of method Doctrine\\\\ORM\\\\Utility\\\\IdentifierFlattener\\:\\:flattenIdentifier\\(\\) expects Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata, Doctrine\\\\Persistence\\\\Mapping\\\\ClassMetadata given\\.$#" - count: 3 - path: src/Proxy/ProxyFactory.php + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\SchemaTool\\:\\:gatherRelationJoinColumns\\(\\) has parameter \\$mapping with no value type specified in iterable type array\\.$#" + count: 5 + path: src/Tools/SchemaTool.php - - message: "#^Result of \\|\\| is always false\\.$#" + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\SchemaTool\\:\\:gatherRelationsSql\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" count: 1 - path: src/Proxy/ProxyFactory.php + path: src/Tools/SchemaTool.php - - message: "#^Parameter \\#2 \\$sqlParams of method Doctrine\\\\ORM\\\\Query\\:\\:evictResultSetCache\\(\\) expects array\\, array\\ given\\.$#" + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\SchemaTool\\:\\:getCreateSchemaSql\\(\\) has parameter \\$classes with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" count: 1 - path: src/Query.php + path: src/Tools/SchemaTool.php - - message: "#^Access to an undefined property Doctrine\\\\ORM\\\\Query\\\\AST\\\\Node\\:\\:\\$value\\.$#" + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\SchemaTool\\:\\:getDefiningClass\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" count: 1 - path: src/Query/AST/Functions/DateAddFunction.php + path: src/Tools/SchemaTool.php - - message: "#^Access to an undefined property Doctrine\\\\ORM\\\\Query\\\\AST\\\\Node\\:\\:\\$value\\.$#" + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\SchemaTool\\:\\:getDefiningClass\\(\\) return type with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata does not specify its types\\: T$#" count: 1 - path: src/Query/AST/Functions/DateSubFunction.php + path: src/Tools/SchemaTool.php - - message: "#^Method Doctrine\\\\ORM\\\\Query\\\\AST\\\\IndexBy\\:\\:dispatch\\(\\) should return string but returns null\\.$#" + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\SchemaTool\\:\\:getDropSchemaSQL\\(\\) has parameter \\$classes with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" count: 1 - path: src/Query/AST/IndexBy.php + path: src/Tools/SchemaTool.php - - message: "#^Result of method Doctrine\\\\ORM\\\\Query\\\\SqlWalker\\:\\:walkIndexBy\\(\\) \\(void\\) is used\\.$#" + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\SchemaTool\\:\\:getIndexColumns\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" count: 1 - path: src/Query/AST/IndexBy.php + path: src/Tools/SchemaTool.php - - message: "#^Call to an undefined method Doctrine\\\\ORM\\\\Query\\\\SqlWalker\\:\\:walkJoinPathExpression\\(\\)\\.$#" + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\SchemaTool\\:\\:getSchemaFromMetadata\\(\\) has parameter \\$classes with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" count: 1 - path: src/Query/AST/JoinClassPathExpression.php + path: src/Tools/SchemaTool.php - - message: "#^Call to an undefined method Doctrine\\\\ORM\\\\Query\\\\SqlWalker\\:\\:walkJoinVariableDeclaration\\(\\)\\.$#" + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\SchemaTool\\:\\:getUpdateSchemaSql\\(\\) has parameter \\$classes with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" count: 1 - path: src/Query/AST/JoinVariableDeclaration.php + path: src/Tools/SchemaTool.php - - message: "#^Call to an undefined method Doctrine\\\\ORM\\\\Query\\\\SqlWalker\\:\\:walkWhenClauseExpression\\(\\)\\.$#" + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\SchemaTool\\:\\:processingNotRequired\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" count: 1 - path: src/Query/AST/SimpleWhenClause.php + path: src/Tools/SchemaTool.php - - message: "#^Call to an undefined method Doctrine\\\\ORM\\\\Query\\\\SqlWalker\\:\\:walkWhenClauseExpression\\(\\)\\.$#" + message: "#^Negated boolean expression is always false\\.$#" count: 1 - path: src/Query/AST/WhenClause.php + path: src/Tools/SchemaTool.php - - message: "#^Property Doctrine\\\\ORM\\\\Query\\\\Exec\\\\AbstractSqlExecutor\\:\\:\\$queryCacheProfile \\(Doctrine\\\\DBAL\\\\Cache\\\\QueryCacheProfile\\) does not accept null\\.$#" + message: "#^Offset 'joinColumns' does not exist on array\\{cache\\?\\: array, cascade\\: array\\, declared\\?\\: class\\-string, fetch\\: mixed, fieldName\\: string, id\\?\\: bool, inherited\\: class\\-string, indexBy\\?\\: string, \\.\\.\\.\\}\\.$#" count: 1 - path: src/Query/Exec/AbstractSqlExecutor.php + path: src/Tools/SchemaTool.php - - message: "#^PHPDoc type array\\ of property Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Andx\\:\\:\\$allowedClasses is not covariant with PHPDoc type array\\ of overridden property Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Base\\:\\:\\$allowedClasses\\.$#" - count: 1 - path: src/Query/Expr/Andx.php + message: "#^Offset 'joinColumns' does not exist on array\\{cache\\?\\: array, cascade\\: array\\, declared\\?\\: class\\-string, fetch\\: mixed, fieldName\\: string, id\\?\\: bool, inherited\\?\\: class\\-string, indexBy\\?\\: string, \\.\\.\\.\\}\\.$#" + count: 3 + path: src/Tools/SchemaTool.php - - message: "#^PHPDoc type array\\ of property Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Orx\\:\\:\\$allowedClasses is not covariant with PHPDoc type array\\ of overridden property Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Base\\:\\:\\$allowedClasses\\.$#" + message: "#^Offset 'joinTable' does not exist on array\\{cache\\?\\: array, cascade\\: array\\, declared\\?\\: class\\-string, fetch\\: mixed, fieldName\\: string, id\\?\\: bool, inherited\\?\\: class\\-string, indexBy\\?\\: string, \\.\\.\\.\\}\\.$#" count: 1 - path: src/Query/Expr/Orx.php + path: src/Tools/SchemaTool.php - - message: "#^PHPDoc type array\\ of property Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Select\\:\\:\\$allowedClasses is not covariant with PHPDoc type array\\ of overridden property Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Base\\:\\:\\$allowedClasses\\.$#" + message: "#^Offset 'name' does not exist on array\\{name\\: string, fieldName\\: string, type\\: string, length\\?\\: int, columnDefinition\\?\\: string\\|null, enumType\\?\\: class\\-string\\\\|null, options\\?\\: array\\\\}\\|array\\{type\\: 'string', length\\: 255\\}\\.$#" count: 1 - path: src/Query/Expr/Select.php + path: src/Tools/SchemaTool.php - - message: "#^Method Doctrine\\\\ORM\\\\Query\\\\Parser\\:\\:ArithmeticFactor\\(\\) should return Doctrine\\\\ORM\\\\Query\\\\AST\\\\ArithmeticFactor but returns Doctrine\\\\ORM\\\\Query\\\\AST\\\\Node\\|string\\.$#" + message: "#^Offset 'precision' does not exist on array\\{type\\: 'decimal', fieldName\\: string, columnName\\: string, length\\?\\: int, id\\?\\: bool, nullable\\?\\: bool, notInsertable\\?\\: bool, notUpdatable\\?\\: bool, \\.\\.\\.\\}\\.$#" count: 1 - path: src/Query/Parser.php + path: src/Tools/SchemaTool.php - - message: "#^Method Doctrine\\\\ORM\\\\Query\\\\Parser\\:\\:ArithmeticTerm\\(\\) should return Doctrine\\\\ORM\\\\Query\\\\AST\\\\ArithmeticTerm but returns Doctrine\\\\ORM\\\\Query\\\\AST\\\\ArithmeticFactor\\|string\\.$#" + message: "#^Offset 'scale' does not exist on array\\{type\\: 'decimal', fieldName\\: string, columnName\\: string, length\\?\\: int, id\\?\\: bool, nullable\\?\\: bool, notInsertable\\?\\: bool, notUpdatable\\?\\: bool, \\.\\.\\.\\}\\.$#" count: 1 - path: src/Query/Parser.php + path: src/Tools/SchemaTool.php - - message: "#^Parameter \\#2 \\$stringPattern of class Doctrine\\\\ORM\\\\Query\\\\AST\\\\LikeExpression constructor expects Doctrine\\\\ORM\\\\Query\\\\AST\\\\Functions\\\\FunctionNode\\|Doctrine\\\\ORM\\\\Query\\\\AST\\\\InputParameter\\|Doctrine\\\\ORM\\\\Query\\\\AST\\\\Literal\\|Doctrine\\\\ORM\\\\Query\\\\AST\\\\PathExpression, Doctrine\\\\ORM\\\\Query\\\\AST\\\\Node given\\.$#" + message: "#^Parameter \\#1 \\$mapping of method Doctrine\\\\ORM\\\\Tools\\\\SchemaTool\\:\\:gatherColumnOptions\\(\\) expects array\\{name\\: string, fieldName\\: string, type\\: string, length\\?\\: int, columnDefinition\\?\\: string\\|null, enumType\\?\\: class\\-string\\\\|null, options\\?\\: array\\\\}\\|array\\{name\\: string, referencedColumnName\\: string, unique\\?\\: bool, quoted\\?\\: bool, fieldName\\?\\: string, onDelete\\?\\: string, columnDefinition\\?\\: string, nullable\\?\\: bool\\}\\|array\\{type\\: string, fieldName\\: string, columnName\\: string, length\\?\\: int, id\\?\\: bool, nullable\\?\\: bool, notInsertable\\?\\: bool, notUpdatable\\?\\: bool, \\.\\.\\.\\}, array\\{name\\: string, fieldName\\: string, type\\: string, length\\?\\: int, columnDefinition\\?\\: string\\|null, enumType\\?\\: class\\-string\\\\|null, options\\?\\: array\\\\}\\|array\\{type\\: 'string', length\\: 255\\} given\\.$#" count: 1 - path: src/Query/Parser.php + path: src/Tools/SchemaTool.php - - message: "#^Unreachable statement \\- code above always terminates\\.$#" - count: 3 - path: src/Query/Parser.php + message: "#^Property Doctrine\\\\ORM\\\\Tools\\\\SchemaTool\\:\\:\\$schemaManager with generic class Doctrine\\\\DBAL\\\\Schema\\\\AbstractSchemaManager does not specify its types\\: T$#" + count: 1 + path: src/Tools/SchemaTool.php - - message: "#^Offset 'columns' on array\\{name\\: string, entities\\: array, columns\\: array\\} in isset\\(\\) always exists and is not nullable\\.$#" + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\SchemaValidator\\:\\:validateClass\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo but does not specify its types\\: T$#" count: 1 - path: src/Query/ResultSetMappingBuilder.php + path: src/Tools/SchemaValidator.php - - message: "#^Offset 'entities' on array\\{name\\: string, entities\\: array, columns\\: array\\} in isset\\(\\) always exists and is not nullable\\.$#" + message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\SchemaValidator\\:\\:validatePropertiesTypes\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo but does not specify its types\\: T$#" count: 1 - path: src/Query/ResultSetMappingBuilder.php + path: src/Tools/SchemaValidator.php - - message: "#^Parameter \\#2 \\$class of static method Doctrine\\\\ORM\\\\Utility\\\\PersisterHelper\\:\\:getTypeOfColumn\\(\\) expects Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata, Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo given\\.$#" + message: "#^Offset 'joinColumns' does not exist on array\\{cache\\?\\: array, cascade\\: array\\, declared\\?\\: class\\-string, fetch\\: mixed, fieldName\\: string, id\\?\\: bool, inherited\\?\\: class\\-string, indexBy\\?\\: string, \\.\\.\\.\\}\\.$#" count: 1 - path: src/Query/ResultSetMappingBuilder.php + path: src/Tools/SchemaValidator.php - - message: "#^Call to function is_string\\(\\) with Doctrine\\\\ORM\\\\Query\\\\AST\\\\Node will always evaluate to false\\.$#" + message: "#^Offset 'joinTable' does not exist on array\\{cache\\?\\: array, cascade\\: array\\, declared\\?\\: class\\-string, fetch\\: mixed, fieldName\\: string, id\\?\\: bool, inherited\\?\\: class\\-string, indexBy\\?\\: string, \\.\\.\\.\\}\\.$#" count: 1 - path: src/Query/SqlWalker.php + path: src/Tools/SchemaValidator.php - - message: "#^Else branch is unreachable because ternary operator condition is always true\\.$#" + message: "#^Offset 'relationToSourceKey…' does not exist on array\\{cache\\?\\: array, cascade\\: array\\, declared\\?\\: class\\-string, fetch\\: mixed, fieldName\\: string, id\\?\\: bool, inherited\\?\\: class\\-string, indexBy\\?\\: string, \\.\\.\\.\\}\\.$#" count: 1 - path: src/Query/SqlWalker.php + path: src/Tools/SchemaValidator.php - - message: "#^Method Doctrine\\\\ORM\\\\Query\\\\SqlWalker\\:\\:walkConditionalPrimary\\(\\) should return string but return statement is missing\\.$#" + message: "#^Offset 'relationToTargetKey…' does not exist on array\\{cache\\?\\: array, cascade\\: array\\, declared\\?\\: class\\-string, fetch\\: mixed, fieldName\\: string, id\\?\\: bool, inherited\\?\\: class\\-string, indexBy\\?\\: string, \\.\\.\\.\\}\\.$#" count: 1 - path: src/Query/SqlWalker.php + path: src/Tools/SchemaValidator.php - - message: "#^Parameter \\#1 \\$condTerm of method Doctrine\\\\ORM\\\\Query\\\\SqlWalker\\:\\:walkConditionalTerm\\(\\) expects Doctrine\\\\ORM\\\\Query\\\\AST\\\\ConditionalFactor\\|Doctrine\\\\ORM\\\\Query\\\\AST\\\\ConditionalPrimary\\|Doctrine\\\\ORM\\\\Query\\\\AST\\\\ConditionalTerm, Doctrine\\\\ORM\\\\Query\\\\AST\\\\Phase2OptimizableConditional given\\.$#" + message: "#^Parameter \\#1 \\$pool of static method Doctrine\\\\Common\\\\Cache\\\\Psr6\\\\DoctrineProvider\\:\\:wrap\\(\\) expects Psr\\\\Cache\\\\CacheItemPoolInterface, Doctrine\\\\Common\\\\Cache\\\\ApcuCache\\|Doctrine\\\\Common\\\\Cache\\\\ArrayCache\\|Doctrine\\\\Common\\\\Cache\\\\MemcachedCache\\|Doctrine\\\\Common\\\\Cache\\\\RedisCache\\|Symfony\\\\Component\\\\Cache\\\\Adapter\\\\ApcuAdapter\\|Symfony\\\\Component\\\\Cache\\\\Adapter\\\\ArrayAdapter\\|Symfony\\\\Component\\\\Cache\\\\Adapter\\\\MemcachedAdapter\\|Symfony\\\\Component\\\\Cache\\\\Adapter\\\\RedisAdapter given\\.$#" count: 1 - path: src/Query/SqlWalker.php + path: src/Tools/Setup.php - - message: "#^Result of && is always false\\.$#" - count: 1 - path: src/Query/SqlWalker.php + message: "#^Method Doctrine\\\\ORM\\\\UnitOfWork\\:\\:computeAssociationChanges\\(\\) has parameter \\$assoc with no value type specified in iterable type array\\.$#" + count: 5 + path: src/UnitOfWork.php - - message: "#^Method Doctrine\\\\ORM\\\\Query\\\\TreeWalkerAdapter\\:\\:getExecutor\\(\\) should return Doctrine\\\\ORM\\\\Query\\\\Exec\\\\AbstractSqlExecutor but returns null\\.$#" + message: "#^Method Doctrine\\\\ORM\\\\UnitOfWork\\:\\:convertSingleFieldIdentifierToPHPValue\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" count: 1 - path: src/Query/TreeWalkerAdapter.php + path: src/UnitOfWork.php - - message: "#^Method Doctrine\\\\ORM\\\\Query\\\\TreeWalkerChain\\:\\:getExecutor\\(\\) should return Doctrine\\\\ORM\\\\Query\\\\Exec\\\\AbstractSqlExecutor but returns null\\.$#" - count: 1 - path: src/Query/TreeWalkerChain.php + message: "#^Method Doctrine\\\\ORM\\\\UnitOfWork\\:\\:doMerge\\(\\) has parameter \\$assoc with no value type specified in iterable type array\\.$#" + count: 5 + path: src/UnitOfWork.php - - message: "#^Parameter \\#2 \\$value \\(string\\) of method Doctrine\\\\ORM\\\\Query\\\\TreeWalkerChainIterator\\:\\:offsetSet\\(\\) should be compatible with parameter \\$value \\(Doctrine\\\\ORM\\\\Query\\\\TreeWalker\\) of method ArrayAccess\\\\:\\:offsetSet\\(\\)$#" + message: "#^Method Doctrine\\\\ORM\\\\UnitOfWork\\:\\:doMerge\\(\\) has parameter \\$prevManagedCopy with no type specified\\.$#" count: 1 - path: src/Query/TreeWalkerChainIterator.php + path: src/UnitOfWork.php - - message: "#^PHPDoc tag @param references unknown parameter\\: \\$where$#" - count: 2 - path: src/QueryBuilder.php + message: "#^Method Doctrine\\\\ORM\\\\UnitOfWork\\:\\:eagerLoadCollections\\(\\) has parameter \\$collections with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" + count: 1 + path: src/UnitOfWork.php - - message: "#^Parameter \\#2 \\$dqlPart of method Doctrine\\\\ORM\\\\QueryBuilder\\:\\:add\\(\\) expects array\\<'join'\\|int, array\\\\|string\\>\\|object\\|string, non\\-empty\\-array\\ given\\.$#" - count: 2 - path: src/QueryBuilder.php + message: "#^Method Doctrine\\\\ORM\\\\UnitOfWork\\:\\:getCollectionPersister\\(\\) has parameter \\$association with no value type specified in iterable type array\\.$#" + count: 5 + path: src/UnitOfWork.php - - message: "#^Class Doctrine\\\\Common\\\\Cache\\\\ApcCache not found\\.$#" + message: "#^Method Doctrine\\\\ORM\\\\UnitOfWork\\:\\:getEntityChangeSet\\(\\) return type with generic class Doctrine\\\\ORM\\\\PersistentCollection does not specify its types\\: TKey, T$#" count: 1 - path: src/Tools/Console/Command/ClearCache/QueryCommand.php + path: src/UnitOfWork.php - - message: "#^Class Doctrine\\\\Common\\\\Cache\\\\XcacheCache not found\\.$#" + message: "#^Method Doctrine\\\\ORM\\\\UnitOfWork\\:\\:hasMissingIdsWhichAreForeignKeys\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" count: 1 - path: src/Tools/Console/Command/ClearCache/QueryCommand.php + path: src/UnitOfWork.php - - message: "#^Class Doctrine\\\\Common\\\\Cache\\\\ApcCache not found\\.$#" + message: "#^Method Doctrine\\\\ORM\\\\UnitOfWork\\:\\:isCollectionScheduledForDeletion\\(\\) has parameter \\$coll with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" count: 1 - path: src/Tools/Console/Command/ClearCache/ResultCommand.php + path: src/UnitOfWork.php - - message: "#^Class Doctrine\\\\Common\\\\Cache\\\\XcacheCache not found\\.$#" + message: "#^Method Doctrine\\\\ORM\\\\UnitOfWork\\:\\:loadCollection\\(\\) has parameter \\$collection with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" count: 1 - path: src/Tools/Console/Command/ClearCache/ResultCommand.php + path: src/UnitOfWork.php - - message: "#^Parameter \\#1 \\$metadata of method Doctrine\\\\ORM\\\\Tools\\\\Export\\\\Driver\\\\AbstractExporter\\:\\:setMetadata\\(\\) expects array\\, array\\ given\\.$#" + message: "#^Method Doctrine\\\\ORM\\\\UnitOfWork\\:\\:newInstance\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" count: 1 - path: src/Tools/Console/Command/ConvertDoctrine1SchemaCommand.php + path: src/UnitOfWork.php - - message: "#^Access to an undefined property Doctrine\\\\Persistence\\\\Mapping\\\\ClassMetadata\\:\\:\\$name\\.$#" + message: "#^Method Doctrine\\\\ORM\\\\UnitOfWork\\:\\:normalizeIdentifier\\(\\) has parameter \\$targetClass with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" count: 1 - path: src/Tools/Console/Command/ConvertMappingCommand.php + path: src/UnitOfWork.php - - message: "#^Parameter \\#1 \\$metadata of method Doctrine\\\\ORM\\\\Tools\\\\Export\\\\Driver\\\\AbstractExporter\\:\\:setMetadata\\(\\) expects array\\, array\\ given\\.$#" + message: "#^Method Doctrine\\\\ORM\\\\UnitOfWork\\:\\:scheduleCollectionDeletion\\(\\) has parameter \\$coll with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" count: 1 - path: src/Tools/Console/Command/ConvertMappingCommand.php + path: src/UnitOfWork.php - - message: "#^Access to an undefined property Doctrine\\\\Persistence\\\\Mapping\\\\ClassMetadata\\:\\:\\$name\\.$#" + message: "#^Method Doctrine\\\\ORM\\\\UnitOfWork\\:\\:scheduleCollectionForBatchLoading\\(\\) has parameter \\$collection with generic class Doctrine\\\\ORM\\\\PersistentCollection but does not specify its types\\: TKey, T$#" count: 1 - path: src/Tools/Console/Command/GenerateEntitiesCommand.php + path: src/UnitOfWork.php - - message: "#^Parameter \\#1 \\$metadatas of method Doctrine\\\\ORM\\\\Tools\\\\EntityGenerator\\:\\:generate\\(\\) expects array\\, array\\ given\\.$#" + message: "#^Method Doctrine\\\\ORM\\\\UnitOfWork\\:\\:scheduleCollectionForBatchLoading\\(\\) has parameter \\$sourceClass with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" count: 1 - path: src/Tools/Console/Command/GenerateEntitiesCommand.php + path: src/UnitOfWork.php - - message: "#^Access to an undefined property Doctrine\\\\Persistence\\\\Mapping\\\\ClassMetadata\\:\\:\\$name\\.$#" - count: 1 - path: src/Tools/Console/Command/GenerateProxiesCommand.php + message: "#^Method Doctrine\\\\ORM\\\\UnitOfWork\\:\\:updateAssociationWithMergedEntity\\(\\) has parameter \\$association with no value type specified in iterable type array\\.$#" + count: 5 + path: src/UnitOfWork.php - - message: "#^Access to an undefined property Doctrine\\\\Persistence\\\\Mapping\\\\ClassMetadata\\:\\:\\$customRepositoryClassName\\.$#" + message: "#^Method Doctrine\\\\ORM\\\\UnitOfWork\\:\\:updateAssociationWithMergedEntity\\(\\) has parameter \\$managedCopy with no type specified\\.$#" count: 1 - path: src/Tools/Console/Command/GenerateRepositoriesCommand.php + path: src/UnitOfWork.php - - message: "#^Parameter \\#1 \\$entityListeners of method Doctrine\\\\ORM\\\\Tools\\\\Console\\\\Command\\\\MappingDescribeCommand\\:\\:formatEntityListeners\\(\\) expects array\\, array\\\\>\\> given\\.$#" + message: "#^Method Doctrine\\\\ORM\\\\UnitOfWork\\:\\:updateAssociationWithMergedEntity\\(\\) has parameter \\$previousManagedCopy with no type specified\\.$#" count: 1 - path: src/Tools/Console/Command/MappingDescribeCommand.php + path: src/UnitOfWork.php - - message: "#^Offset 'allocationSize' on array\\{sequenceName\\: string, allocationSize\\: string, initialValue\\: string, quoted\\?\\: mixed\\} in isset\\(\\) always exists and is not nullable\\.$#" + message: "#^Offset 'orphanRemoval' does not exist on array\\{cache\\?\\: array, cascade\\: array\\, declared\\?\\: class\\-string, fetch\\: mixed, fieldName\\: string, id\\?\\: bool, inherited\\?\\: class\\-string, indexBy\\?\\: string, \\.\\.\\.\\}\\.$#" count: 1 - path: src/Tools/EntityGenerator.php + path: src/UnitOfWork.php - - message: "#^Offset 'initialValue' on array\\{sequenceName\\: string, allocationSize\\: string, initialValue\\: string, quoted\\?\\: mixed\\} in isset\\(\\) always exists and is not nullable\\.$#" + message: "#^Offset 'targetToSourceKeyCo…' does not exist on array\\{cache\\?\\: array, cascade\\: array\\, declared\\?\\: class\\-string, fetch\\: mixed, fieldName\\: string, id\\?\\: bool, inherited\\?\\: class\\-string, indexBy\\?\\: string, \\.\\.\\.\\}\\.$#" count: 1 - path: src/Tools/EntityGenerator.php + path: src/UnitOfWork.php - - message: "#^Offset 'name' on array\\{name\\: string, schema\\?\\: string, indexes\\?\\: array, uniqueConstraints\\?\\: array, options\\?\\: array\\, quoted\\?\\: bool\\} in isset\\(\\) always exists and is not nullable\\.$#" - count: 1 - path: src/Tools/EntityGenerator.php + message: "#^Parameter \\#1 \\$className of method Doctrine\\\\ORM\\\\EntityManagerInterface\\:\\:getClassMetadata\\(\\) expects string, class\\-string\\|false given\\.$#" + count: 2 + path: src/UnitOfWork.php - - message: "#^Offset 'sequenceName' on array\\{sequenceName\\: string, allocationSize\\: string, initialValue\\: string, quoted\\?\\: mixed\\} in isset\\(\\) always exists and is not nullable\\.$#" - count: 1 - path: src/Tools/EntityGenerator.php + message: "#^Parameter \\#2 \\$length of function array_chunk expects int\\<1, max\\>, int given\\.$#" + count: 2 + path: src/UnitOfWork.php - - message: "#^Property Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo\\\\:\\:\\$lifecycleCallbacks \\(array\\\\>\\) in isset\\(\\) is not nullable\\.$#" + message: "#^Parameter \\#3 \\$changeSet of class Doctrine\\\\ORM\\\\Event\\\\PreUpdateEventArgs constructor is passed by reference, so it expects variables only$#" count: 1 - path: src/Tools/EntityGenerator.php + path: src/UnitOfWork.php - - message: "#^Method Doctrine\\\\ORM\\\\Tools\\\\Export\\\\Driver\\\\AbstractExporter\\:\\:_getIdGeneratorTypeString\\(\\) should return string but return statement is missing\\.$#" + message: "#^Parameter \\#3 \\$collection of class Doctrine\\\\ORM\\\\PersistentCollection constructor expects Doctrine\\\\Common\\\\Collections\\\\Collection\\<\\(int\\|string\\), mixed\\>&Doctrine\\\\Common\\\\Collections\\\\Selectable\\<\\(int\\|string\\), mixed\\>, Doctrine\\\\Common\\\\Collections\\\\Collection given\\.$#" count: 1 - path: src/Tools/Export/Driver/AbstractExporter.php + path: src/UnitOfWork.php - - message: "#^If condition is always true\\.$#" + message: "#^Parameter \\#5 \\$invoke of method Doctrine\\\\ORM\\\\Event\\\\ListenersInvoker\\:\\:invoke\\(\\) expects int\\<0, 7\\>, int\\\\|int\\<1, max\\> given\\.$#" count: 1 - path: src/Tools/Export/Driver/PhpExporter.php + path: src/UnitOfWork.php - - message: "#^Offset 'name' on array\\{name\\: string, schema\\?\\: string, indexes\\?\\: array, uniqueConstraints\\?\\: array, options\\?\\: array\\, quoted\\?\\: bool\\} in isset\\(\\) always exists and is not nullable\\.$#" + message: "#^Property Doctrine\\\\ORM\\\\UnitOfWork\\:\\:\\$entityChangeSets \\(array\\\\>\\) does not accept non\\-empty\\-array\\\\>\\.$#" count: 1 - path: src/Tools/Export/Driver/XmlExporter.php + path: src/UnitOfWork.php - - message: "#^Parameter \\#1 \\$policy of method Doctrine\\\\ORM\\\\Tools\\\\Export\\\\Driver\\\\AbstractExporter\\:\\:_getChangeTrackingPolicyString\\(\\) expects 1\\|2\\|3, int given\\.$#" + message: "#^Property Doctrine\\\\ORM\\\\UnitOfWork\\:\\:\\$nonCascadedNewDetectedEntities type has no value type specified in iterable type array\\.$#" + count: 5 + path: src/UnitOfWork.php + + - + message: "#^Access to an undefined property Doctrine\\\\Persistence\\\\Mapping\\\\ClassMetadata\\:\\:\\$name\\.$#" count: 1 - path: src/Tools/Export/Driver/XmlExporter.php + path: src/Utility/HierarchyDiscriminatorResolver.php - - message: "#^Property Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo\\\\:\\:\\$lifecycleCallbacks \\(array\\\\>\\) in isset\\(\\) is not nullable\\.$#" + message: "#^Access to an undefined property Doctrine\\\\Persistence\\\\Mapping\\\\ClassMetadata\\:\\:\\$subClasses\\.$#" count: 1 - path: src/Tools/Export/Driver/XmlExporter.php + path: src/Utility/HierarchyDiscriminatorResolver.php - - message: "#^Right side of && is always true\\.$#" + message: "#^Method Doctrine\\\\ORM\\\\Utility\\\\HierarchyDiscriminatorResolver\\:\\:resolveDiscriminatorsForClass\\(\\) has parameter \\$rootClassMetadata with generic interface Doctrine\\\\Persistence\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" count: 1 - path: src/Tools/Export/Driver/XmlExporter.php + path: src/Utility/HierarchyDiscriminatorResolver.php - - message: "#^Property Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo\\\\:\\:\\$lifecycleCallbacks \\(array\\\\>\\) in isset\\(\\) is not nullable\\.$#" + message: "#^Method Doctrine\\\\ORM\\\\Utility\\\\IdentifierFlattener\\:\\:__construct\\(\\) has parameter \\$metadataFactory with generic interface Doctrine\\\\Persistence\\\\Mapping\\\\ClassMetadataFactory but does not specify its types\\: T$#" count: 1 - path: src/Tools/Export/Driver/YamlExporter.php + path: src/Utility/IdentifierFlattener.php - - message: "#^Property Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadataInfo\\\\:\\:\\$table \\(array\\\\) on left side of \\?\\? is not nullable\\.$#" + message: "#^Method Doctrine\\\\ORM\\\\Utility\\\\IdentifierFlattener\\:\\:flattenIdentifier\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" count: 1 - path: src/Tools/Export/Driver/YamlExporter.php + path: src/Utility/IdentifierFlattener.php - - message: "#^Else branch is unreachable because ternary operator condition is always true\\.$#" + message: "#^Offset 'joinColumns' does not exist on array\\{cache\\?\\: array, cascade\\: array\\, declared\\?\\: class\\-string, fetch\\: mixed, fieldName\\: string, id\\?\\: bool, inherited\\?\\: class\\-string, indexBy\\?\\: string, \\.\\.\\.\\}\\.$#" count: 1 - path: src/Tools/SchemaTool.php + path: src/Utility/IdentifierFlattener.php - - message: "#^Negated boolean expression is always false\\.$#" + message: "#^Property Doctrine\\\\ORM\\\\Utility\\\\IdentifierFlattener\\:\\:\\$metadataFactory with generic interface Doctrine\\\\Persistence\\\\Mapping\\\\ClassMetadataFactory does not specify its types\\: T$#" count: 1 - path: src/Tools/SchemaTool.php + path: src/Utility/IdentifierFlattener.php - - message: "#^Parameter \\#3 \\$changeSet of class Doctrine\\\\ORM\\\\Event\\\\PreUpdateEventArgs constructor is passed by reference, so it expects variables only$#" + message: "#^Method Doctrine\\\\ORM\\\\Utility\\\\PersisterHelper\\:\\:getTypeOfColumn\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" count: 1 - path: src/UnitOfWork.php + path: src/Utility/PersisterHelper.php - - message: "#^Access to an undefined property Doctrine\\\\Persistence\\\\Mapping\\\\ClassMetadata\\:\\:\\$name\\.$#" + message: "#^Method Doctrine\\\\ORM\\\\Utility\\\\PersisterHelper\\:\\:getTypeOfField\\(\\) has parameter \\$class with generic class Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata but does not specify its types\\: T$#" count: 1 - path: src/Utility/HierarchyDiscriminatorResolver.php + path: src/Utility/PersisterHelper.php - - message: "#^Access to an undefined property Doctrine\\\\Persistence\\\\Mapping\\\\ClassMetadata\\:\\:\\$subClasses\\.$#" + message: "#^Offset 'joinTable' does not exist on array\\{cache\\?\\: array, cascade\\: array\\, declared\\?\\: class\\-string, fetch\\: mixed, fieldName\\: string, id\\?\\: bool, inherited\\?\\: class\\-string, indexBy\\?\\: string, \\.\\.\\.\\}\\.$#" count: 1 - path: src/Utility/HierarchyDiscriminatorResolver.php + path: src/Utility/PersisterHelper.php diff --git a/phpstan-dbal2.neon b/phpstan-dbal2.neon index b6ad21dc1ee..b42e7217234 100644 --- a/phpstan-dbal2.neon +++ b/phpstan-dbal2.neon @@ -66,6 +66,19 @@ parameters: message: '~deprecated class Doctrine\\DBAL\\Tools\\Console\\Command\\ImportCommand\:~' path: src/Tools/Console/ConsoleRunner.php + - + message: '#^Method Doctrine\\ORM\\AbstractQuery\:\:getHydrationCacheId\(\) should return array\{string, string\} but returns array\\.$#' + path: src/AbstractQuery.php + + - + message: '#^Method Doctrine\\ORM\\Internal\\Hydration\\AbstractHydrator\:\:\w+\(\) has parameter \$stmt with no value type specified in iterable type Doctrine\\DBAL\\Driver\\ResultStatement\.$#' + path: src/Internal/Hydration/AbstractHydrator.php + + - + message: '#^Parameter \#1 \$key of method Psr\\Cache\\CacheItemPoolInterface\:\:deleteItem\(\) expects string, string\|false given\.$#' + path: src/Query + + # Symfony cache supports passing a key prefix to the clear method. - '/^Method Psr\\Cache\\CacheItemPoolInterface\:\:clear\(\) invoked with 1 parameter, 0 required\.$/' diff --git a/phpstan-params.neon b/phpstan-params.neon index 8f0a4cc2333..588d4116b18 100644 --- a/phpstan-params.neon +++ b/phpstan-params.neon @@ -1,5 +1,5 @@ parameters: - level: 5 + level: 7 paths: - src - tests/StaticAnalysis diff --git a/phpstan-persistence2.neon b/phpstan-persistence2.neon index 9cf17979fbe..c62b47e1683 100644 --- a/phpstan-persistence2.neon +++ b/phpstan-persistence2.neon @@ -82,3 +82,21 @@ parameters: - message: '~deprecated class Doctrine\\Common\\Persistence\\PersistentObject\:~' path: src/EntityManager.php + + - + message: '#Cannot access offset \S+ on .*ClassMetadata.*#' + paths: + - src/Mapping/Driver/XmlDriver.php + - src/Mapping/Driver/YamlDriver.php + + - + message: '#^Parameter \#1 \$orderings of method Doctrine\\Common\\Collections\\Criteria\:\:orderBy\(\) expects array\, array\ given\.$#' + path: src/PersistentCollection.php + + - + message: '#^Parameter \#5 \.\.\.\$args of static method Doctrine\\Deprecations\\Deprecation\:\:trigger\(\) expects float\|int\|string, string\|false given\.$#' + path: src/Mapping/ClassMetadataFactory.php + + - + message: '#^Parameter \#1 \$classNames of method Doctrine\\ORM\\Mapping\\ClassMetadataInfo\\:\:setParentClasses\(\) expects array\, array\ given\.$#' + path: src/Mapping/ClassMetadataFactory.php