diff --git a/phpstan-baseline-7.4.neon b/phpstan-baseline-7.4.neon index 9b8ecc1c33..c7ebba1c58 100644 --- a/phpstan-baseline-7.4.neon +++ b/phpstan-baseline-7.4.neon @@ -25,11 +25,6 @@ parameters: count: 1 path: src/bundle/Core/Command/ResizeOriginalImagesCommand.php - - - message: "#^Parameter \\#2 \\$parameters of function call_user_func_array expects array\\, array\\\\> given\\.$#" - count: 1 - path: src/bundle/Core/DependencyInjection/Compiler/ConsoleCacheWarmupPass.php - - message: "#^Method Ibexa\\\\Bundle\\\\Core\\\\DependencyInjection\\\\Compiler\\\\InjectEntityManagerMappingsPass\\:\\:getEntityMapForConfigurationService\\(\\) should return array but returns array\\|false\\.$#" count: 1 diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 4df9ba14c0..0efbb3cec3 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -16880,11 +16880,6 @@ parameters: count: 1 path: src/lib/Persistence/Legacy/Content/ObjectState/Handler.php - - - message: "#^Parameter \\#1 \\$stateId of method Ibexa\\\\Core\\\\Persistence\\\\Legacy\\\\Content\\\\ObjectState\\\\Gateway\\:\\:updateObjectStatePriority\\(\\) expects int, int\\|string given\\.$#" - count: 1 - path: src/lib/Persistence/Legacy/Content/ObjectState/Handler.php - - message: "#^Cannot access offset int on iterable\\\\.$#" count: 4 @@ -17481,7 +17476,7 @@ parameters: path: src/lib/Persistence/Legacy/Content/Type/MemoryCachingHandler.php - - message: "#^Method Ibexa\\\\Core\\\\Persistence\\\\Legacy\\\\Content\\\\Type\\\\MemoryCachingHandler\\:\\:loadContentTypeList\\(\\) should return array\\ but returns array\\\\.$#" + message: "#^Method Ibexa\\\\Core\\\\Persistence\\\\Legacy\\\\Content\\\\Type\\\\MemoryCachingHandler\\:\\:loadContentTypeList\\(\\) should return array\\ but returns array\\\\.$#" count: 1 path: src/lib/Persistence/Legacy/Content/Type/MemoryCachingHandler.php @@ -17511,7 +17506,7 @@ parameters: path: src/lib/Persistence/Legacy/Content/Type/MemoryCachingHandler.php - - message: "#^Method Ibexa\\\\Core\\\\Persistence\\\\Legacy\\\\Content\\\\Type\\\\MemoryCachingHandler\\:\\:loadGroups\\(\\) should return array\\ but returns array\\\\.$#" + message: "#^Method Ibexa\\\\Core\\\\Persistence\\\\Legacy\\\\Content\\\\Type\\\\MemoryCachingHandler\\:\\:loadGroups\\(\\) should return array\\ but returns array\\\\.$#" count: 1 path: src/lib/Persistence/Legacy/Content/Type/MemoryCachingHandler.php @@ -18946,7 +18941,7 @@ parameters: path: src/lib/Persistence/Legacy/User/Handler.php - - message: "#^Cannot access offset mixed on non\\-empty\\-array\\\\|Ibexa\\\\Contracts\\\\Core\\\\Persistence\\\\User\\\\RoleAssignment\\.$#" + message: "#^Cannot access offset mixed on non\\-empty\\-array\\|Ibexa\\\\Contracts\\\\Core\\\\Persistence\\\\User\\\\RoleAssignment\\.$#" count: 1 path: src/lib/Persistence/Legacy/User/Mapper.php @@ -20596,7 +20591,7 @@ parameters: path: src/lib/Repository/RoleService.php - - message: "#^Method Ibexa\\\\Core\\\\Repository\\\\RoleService\\:\\:validateRoleCreateStruct\\(\\) should return iterable\\\\>\\> but returns array\\\\>\\>\\.$#" + message: "#^Method Ibexa\\\\Core\\\\Repository\\\\RoleService\\:\\:validateRoleCreateStruct\\(\\) should return iterable\\\\>\\> but returns array\\\\>\\>\\.$#" count: 1 path: src/lib/Repository/RoleService.php @@ -21210,11 +21205,6 @@ parameters: count: 1 path: src/lib/Repository/Values/Content/Content.php - - - message: "#^Property Ibexa\\\\Core\\\\Repository\\\\Values\\\\Content\\\\Content\\:\\:\\$fieldDefinitionTranslationMap \\(array\\\\>\\) does not accept array\\\\>\\.$#" - count: 1 - path: src/lib/Repository/Values/Content/Content.php - - message: "#^Property Ibexa\\\\Core\\\\Repository\\\\Values\\\\Content\\\\Content\\:\\:\\$fieldDefinitionTranslationMap has unknown class eZ\\\\Publish\\\\API\\\\Repository\\\\Values\\\\Content\\\\Field as its type\\.$#" count: 1 @@ -54640,11 +54630,6 @@ parameters: count: 1 path: tests/lib/Persistence/Legacy/Content/UrlAlias/UrlAliasHandlerTest.php - - - message: "#^Parameter \\#1 \\$url of method Ibexa\\\\Core\\\\Persistence\\\\Legacy\\\\Content\\\\UrlAlias\\\\Handler\\:\\:lookup\\(\\) expects string, int\\|string given\\.$#" - count: 1 - path: tests/lib/Persistence/Legacy/Content/UrlAlias/UrlAliasHandlerTest.php - - message: "#^Parameter \\#3 \\$ruleFiles of class Ibexa\\\\Core\\\\Persistence\\\\TransformationProcessor\\\\DefinitionBased constructor expects array, array\\\\|false given\\.$#" count: 1