From edce93520543035c9ebfbaec69884af9f719e6cb Mon Sep 17 00:00:00 2001 From: konradoboza Date: Mon, 20 May 2024 09:48:29 +0200 Subject: [PATCH] regenerated phpstan baseline --- phpstan-baseline.neon | 230 ------------------------------------------ 1 file changed, 230 deletions(-) diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 44c87cf843..dac35a7ca1 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -230,11 +230,6 @@ parameters: count: 1 path: src/bundle/Core/Command/RegenerateUrlAliasesCommand.php - - - message: "#^Cannot access offset int on iterable\\\\.$#" - count: 1 - path: src/bundle/Core/Command/RegenerateUrlAliasesCommand.php - - message: "#^Method Ibexa\\\\Bundle\\\\Core\\\\Command\\\\RegenerateUrlAliasesCommand\\:\\:configure\\(\\) has no return type specified\\.$#" count: 1 @@ -245,11 +240,6 @@ parameters: count: 1 path: src/bundle/Core/Command/RegenerateUrlAliasesCommand.php - - - message: "#^Method Ibexa\\\\Bundle\\\\Core\\\\Command\\\\RegenerateUrlAliasesCommand\\:\\:processLocations\\(\\) has no return type specified\\.$#" - count: 1 - path: src/bundle/Core/Command/RegenerateUrlAliasesCommand.php - - message: "#^Parameter \\#2 \\$array of function array_map expects array, iterable\\ given\\.$#" count: 1 @@ -11940,11 +11930,6 @@ parameters: count: 1 path: src/lib/MVC/Symfony/Routing/Generator/RouteReferenceGeneratorInterface.php - - - message: "#^Cannot access offset 0 on iterable\\\\.$#" - count: 1 - path: src/lib/MVC/Symfony/Routing/Generator/UrlAliasGenerator.php - - message: "#^Method Ibexa\\\\Core\\\\MVC\\\\Symfony\\\\Routing\\\\Generator\\\\UrlAliasGenerator\\:\\:__construct\\(\\) has parameter \\$unsafeCharMap with no value type specified in iterable type array\\.$#" count: 1 @@ -11960,11 +11945,6 @@ parameters: count: 1 path: src/lib/MVC/Symfony/Routing/Generator/UrlAliasGenerator.php - - - message: "#^Method Ibexa\\\\Core\\\\MVC\\\\Symfony\\\\Routing\\\\Generator\\\\UrlAliasGenerator\\:\\:getPathPrefixByRootLocationId\\(\\) has parameter \\$languages with no value type specified in iterable type array\\.$#" - count: 1 - path: src/lib/MVC/Symfony/Routing/Generator/UrlAliasGenerator.php - - message: "#^Method Ibexa\\\\Core\\\\MVC\\\\Symfony\\\\Routing\\\\Generator\\\\UrlAliasGenerator\\:\\:loadLocation\\(\\) should return Ibexa\\\\Core\\\\Repository\\\\Values\\\\Content\\\\Location but returns Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\Content\\\\Location\\.$#" count: 1 @@ -17000,11 +16980,6 @@ parameters: count: 1 path: src/lib/Persistence/Legacy/Content/ObjectState/Handler.php - - - message: "#^Cannot access offset int on iterable\\\\.$#" - count: 4 - path: src/lib/Persistence/Legacy/Content/ObjectState/Mapper.php - - message: "#^Method Ibexa\\\\Core\\\\Persistence\\\\Legacy\\\\Content\\\\ObjectState\\\\Mapper\\:\\:createObjectStateFromData\\(\\) has parameter \\$data with no value type specified in iterable type array\\.$#" count: 1 @@ -19770,16 +19745,6 @@ parameters: count: 2 path: src/lib/Repository/ContentService.php - - - message: "#^Cannot access offset int on iterable\\\\.$#" - count: 1 - path: src/lib/Repository/ContentService.php - - - - message: "#^Cannot access offset string on iterable\\\\.$#" - count: 1 - path: src/lib/Repository/ContentService.php - - message: "#^Cannot access property \\$defaultValue on Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\ContentType\\\\FieldDefinition\\|null\\.$#" count: 2 @@ -20120,11 +20085,6 @@ parameters: count: 1 path: src/lib/Repository/Mapper/ContentDomainMapper.php - - - message: "#^Cannot access offset mixed on iterable\\\\.$#" - count: 1 - path: src/lib/Repository/Mapper/ContentDomainMapper.php - - message: "#^Cannot call method error\\(\\) on Psr\\\\Log\\\\LoggerInterface\\|null\\.$#" count: 1 @@ -23010,16 +22970,6 @@ parameters: count: 1 path: src/lib/Token/RandomBytesGenerator.php - - - message: "#^Cannot access offset string on iterable\\\\.$#" - count: 3 - path: src/lib/Variation/VariationHandlerRegistry.php - - - - message: "#^Method Ibexa\\\\Core\\\\Variation\\\\VariationHandlerRegistry\\:\\:__construct\\(\\) has parameter \\$variationHandlers with no value type specified in iterable type iterable\\.$#" - count: 1 - path: src/lib/Variation/VariationHandlerRegistry.php - - message: "#^Method Ibexa\\\\Tests\\\\Bundle\\\\Core\\\\ApiLoader\\\\CacheFactoryTest\\:\\:providerGetService\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 @@ -27200,66 +27150,6 @@ parameters: count: 1 path: tests/integration/Core/Repository/ContentServiceTest.php - - - message: "#^Cannot access offset 0 on iterable\\\\.$#" - count: 1 - path: tests/integration/Core/Repository/ContentServiceTest.php - - - - message: "#^Cannot access offset 0 on iterable\\\\.$#" - count: 5 - path: tests/integration/Core/Repository/ContentServiceTest.php - - - - message: "#^Cannot access offset 0 on iterable\\\\.$#" - count: 12 - path: tests/integration/Core/Repository/ContentServiceTest.php - - - - message: "#^Cannot access offset 0 on iterable\\\\.$#" - count: 11 - path: tests/integration/Core/Repository/ContentServiceTest.php - - - - message: "#^Cannot access offset 1 on iterable\\\\.$#" - count: 4 - path: tests/integration/Core/Repository/ContentServiceTest.php - - - - message: "#^Cannot access offset 1 on iterable\\\\.$#" - count: 3 - path: tests/integration/Core/Repository/ContentServiceTest.php - - - - message: "#^Cannot access offset 2 on iterable\\\\.$#" - count: 1 - path: tests/integration/Core/Repository/ContentServiceTest.php - - - - message: "#^Cannot access offset 3 on iterable\\\\.$#" - count: 1 - path: tests/integration/Core/Repository/ContentServiceTest.php - - - - message: "#^Cannot access offset 4 on iterable\\\\.$#" - count: 1 - path: tests/integration/Core/Repository/ContentServiceTest.php - - - - message: "#^Cannot access offset 5 on iterable\\\\.$#" - count: 2 - path: tests/integration/Core/Repository/ContentServiceTest.php - - - - message: "#^Cannot access offset mixed on iterable\\\\.$#" - count: 1 - path: tests/integration/Core/Repository/ContentServiceTest.php - - - - message: "#^Cannot access offset mixed on iterable\\\\.$#" - count: 1 - path: tests/integration/Core/Repository/ContentServiceTest.php - - message: "#^Cannot access property \\$sortField on Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\Content\\\\Location\\|null\\.$#" count: 1 @@ -28045,11 +27935,6 @@ parameters: count: 1 path: tests/integration/Core/Repository/ContentServiceTest.php - - - message: "#^Method Ibexa\\\\Tests\\\\Integration\\\\Core\\\\Repository\\\\ContentServiceTest\\:\\:testPublishVersionNotCreatingUnlimitedArchives\\(\\) has no return type specified\\.$#" - count: 1 - path: tests/integration/Core/Repository/ContentServiceTest.php - - message: "#^Method Ibexa\\\\Tests\\\\Integration\\\\Core\\\\Repository\\\\ContentServiceTest\\:\\:testPublishVersionSetsExpectedContentInfo\\(\\) has no return type specified\\.$#" count: 1 @@ -34015,16 +33900,6 @@ parameters: count: 1 path: tests/integration/Core/Repository/LanguageServiceMaximumSupportedLanguagesTest.php - - - message: "#^Cannot access offset 'eng\\-NZ' on iterable\\\\.$#" - count: 1 - path: tests/integration/Core/Repository/LanguageServiceTest.php - - - - message: "#^Cannot access offset mixed on iterable\\\\.$#" - count: 1 - path: tests/integration/Core/Repository/LanguageServiceTest.php - - message: "#^Method Ibexa\\\\Tests\\\\Integration\\\\Core\\\\Repository\\\\LanguageServiceTest\\:\\:loadLanguagesReturnsAnEmptyArrayByDefault\\(\\) has no return type specified\\.$#" count: 1 @@ -34185,11 +34060,6 @@ parameters: count: 1 path: tests/integration/Core/Repository/Limitation/PermissionResolver/LocationLimitationIntegrationTest.php - - - message: "#^Cannot access offset 0 on iterable\\\\.$#" - count: 1 - path: tests/integration/Core/Repository/LocationServiceAuthorizationTest.php - - message: "#^Method Ibexa\\\\Tests\\\\Integration\\\\Core\\\\Repository\\\\LocationServiceAuthorizationTest\\:\\:testCopySubtreeThrowsUnauthorizedException\\(\\) has no return type specified\\.$#" count: 1 @@ -34270,21 +34140,6 @@ parameters: count: 1 path: tests/integration/Core/Repository/LocationServiceTest.php - - - message: "#^Cannot access offset 1 on iterable\\\\.$#" - count: 1 - path: tests/integration/Core/Repository/LocationServiceTest.php - - - - message: "#^Cannot access offset 5 on iterable\\\\.$#" - count: 2 - path: tests/integration/Core/Repository/LocationServiceTest.php - - - - message: "#^Cannot access offset int\\|false on iterable\\\\.$#" - count: 1 - path: tests/integration/Core/Repository/LocationServiceTest.php - - message: "#^Cannot access property \\$id on Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\Content\\\\Location\\|null\\.$#" count: 11 @@ -34670,16 +34525,6 @@ parameters: count: 1 path: tests/integration/Core/Repository/LocationServiceTest.php - - - message: "#^Parameter \\#1 \\$array of function array_column expects array, iterable\\ given\\.$#" - count: 1 - path: tests/integration/Core/Repository/LocationServiceTest.php - - - - message: "#^Parameter \\#1 \\$array of function array_column expects array, iterable\\ given\\.$#" - count: 1 - path: tests/integration/Core/Repository/LocationServiceTest.php - - message: "#^Parameter \\#1 \\$expectedLocations of method Ibexa\\\\Tests\\\\Integration\\\\Core\\\\Repository\\\\LocationServiceTest\\:\\:assertContentHasExpectedLocations\\(\\) expects array\\, array\\ given\\.$#" count: 1 @@ -35235,11 +35080,6 @@ parameters: count: 3 path: tests/integration/Core/Repository/PermissionResolverTest.php - - - message: "#^Cannot access offset 1 on iterable\\\\.$#" - count: 3 - path: tests/integration/Core/Repository/PermissionResolverTest.php - - message: "#^Cannot access property \\$text on Ibexa\\\\Contracts\\\\Core\\\\FieldType\\\\Value\\|null\\.$#" count: 2 @@ -35465,11 +35305,6 @@ parameters: count: 1 path: tests/integration/Core/Repository/Regression/EZP21798Test.php - - - message: "#^Cannot access offset 0 on iterable\\\\.$#" - count: 2 - path: tests/integration/Core/Repository/Regression/EZP21906SearchOneContentMultipleLocationsTest.php - - message: "#^Method Ibexa\\\\Tests\\\\Integration\\\\Core\\\\Repository\\\\Regression\\\\EZP21906SearchOneContentMultipleLocationsTest\\:\\:searchContentQueryProvider\\(\\) has no return type specified\\.$#" count: 1 @@ -35765,16 +35600,6 @@ parameters: count: 1 path: tests/integration/Core/Repository/RepositoryTest.php - - - message: "#^Cannot access offset 0 on iterable\\\\.$#" - count: 1 - path: tests/integration/Core/Repository/RoleServiceAuthorizationTest.php - - - - message: "#^Cannot access offset 0 on iterable\\\\.$#" - count: 1 - path: tests/integration/Core/Repository/RoleServiceAuthorizationTest.php - - message: "#^Method Ibexa\\\\Tests\\\\Integration\\\\Core\\\\Repository\\\\RoleServiceAuthorizationTest\\:\\:testAssignRoleToUserGroupThrowsUnauthorizedException\\(\\) has no return type specified\\.$#" count: 1 @@ -35885,21 +35710,6 @@ parameters: count: 1 path: tests/integration/Core/Repository/RoleServiceTest.php - - - message: "#^Cannot access offset 0 on iterable\\\\.$#" - count: 4 - path: tests/integration/Core/Repository/RoleServiceTest.php - - - - message: "#^Cannot access offset 0 on iterable\\\\.$#" - count: 4 - path: tests/integration/Core/Repository/RoleServiceTest.php - - - - message: "#^Cannot access offset 0 on iterable\\\\.$#" - count: 2 - path: tests/integration/Core/Repository/RoleServiceTest.php - - message: "#^Cannot access property \\$limitation on Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\User\\\\RoleAssignment\\|false\\.$#" count: 1 @@ -36070,11 +35880,6 @@ parameters: count: 1 path: tests/integration/Core/Repository/RoleServiceTest.php - - - message: "#^Method Ibexa\\\\Tests\\\\Integration\\\\Core\\\\Repository\\\\RoleServiceTest\\:\\:testGetRoleAssignments\\(\\) should return array\\ but returns array\\\\|\\(ArrayAccess&iterable\\\\)\\.$#" - count: 1 - path: tests/integration/Core/Repository/RoleServiceTest.php - - message: "#^Method Ibexa\\\\Tests\\\\Integration\\\\Core\\\\Repository\\\\RoleServiceTest\\:\\:testGetRoleAssignmentsContainExpectedLimitation\\(\\) has no return type specified\\.$#" count: 1 @@ -38355,11 +38160,6 @@ parameters: count: 1 path: tests/integration/Core/Repository/TokenServiceTest.php - - - message: "#^Cannot access offset 0 on iterable\\\\.$#" - count: 1 - path: tests/integration/Core/Repository/TrashServiceAuthorizationTest.php - - message: "#^Method Ibexa\\\\Tests\\\\Integration\\\\Core\\\\Repository\\\\TrashServiceAuthorizationTest\\:\\:testDeleteTrashItemThrowsUnauthorizedException\\(\\) has no return type specified\\.$#" count: 1 @@ -38590,11 +38390,6 @@ parameters: count: 1 path: tests/integration/Core/Repository/URLAliasService/CustomUrlAliasForMultilingualContentTest.php - - - message: "#^Cannot access offset 0 on iterable\\\\.$#" - count: 1 - path: tests/integration/Core/Repository/URLAliasService/UrlAliasLookupTest.php - - message: "#^Cannot access property \\$id on Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\Content\\\\Location\\|null\\.$#" count: 1 @@ -38630,11 +38425,6 @@ parameters: count: 1 path: tests/integration/Core/Repository/URLAliasServiceAuthorizationTest.php - - - message: "#^Cannot access offset 0 on iterable\\\\.$#" - count: 1 - path: tests/integration/Core/Repository/URLAliasServiceTest.php - - message: "#^Cannot call method fetchAll\\(\\) on Doctrine\\\\DBAL\\\\ForwardCompatibility\\\\Result\\|int\\|string\\.$#" count: 3 @@ -39355,11 +39145,6 @@ parameters: count: 1 path: tests/integration/Core/Repository/UserServiceAuthorizationTest.php - - - message: "#^Cannot access offset 0 on iterable\\\\.$#" - count: 2 - path: tests/integration/Core/Repository/UserServiceTest.php - - message: "#^Cannot call method add\\(\\) on DateTimeImmutable\\|false\\|null\\.$#" count: 3 @@ -57385,16 +57170,6 @@ parameters: count: 5 path: tests/lib/Repository/Mapper/ContentLocationMapper/DecoratedLocationServiceTest.php - - - message: "#^Cannot access offset 0 on iterable\\\\.$#" - count: 1 - path: tests/lib/Repository/Mapper/ContentLocationMapper/DecoratedLocationServiceTest.php - - - - message: "#^Cannot access offset 1 on iterable\\\\.$#" - count: 1 - path: tests/lib/Repository/Mapper/ContentLocationMapper/DecoratedLocationServiceTest.php - - message: "#^Cannot access property \\$locations on iterable\\\\.$#" count: 2 @@ -59455,11 +59230,6 @@ parameters: count: 1 path: tests/lib/Repository/Service/Mock/SearchTest.php - - - message: "#^Cannot access offset 0 on iterable\\\\.$#" - count: 3 - path: tests/lib/Repository/Service/Mock/UrlAliasTest.php - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\Repository\\\\Service\\\\Mock\\\\UrlAliasTest\\:\\:getPartlyMockedURLAliasServiceService\\(\\) has parameter \\$prioritizedLanguages with no value type specified in iterable type array\\.$#" count: 1