From 25ace1cfe0eb30846744e19170b6e32cba05ae68 Mon Sep 17 00:00:00 2001 From: Tomasz Kryszan Date: Thu, 19 Oct 2023 10:04:43 +0200 Subject: [PATCH] [PHPStan] Fixed errors --- phpstan-baseline.neon | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 4180ef7d07..096e27786d 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -15157,12 +15157,12 @@ parameters: - message: "#^Cannot access offset int\\|string on Ibexa\\\\Contracts\\\\Core\\\\Persistence\\\\Content\\\\Field\\.$#" - count: 3 + count: 1 path: src/lib/Persistence/Legacy/Content/FieldHandler.php - message: "#^Cannot access offset string on Ibexa\\\\Contracts\\\\Core\\\\Persistence\\\\Content\\\\Field\\.$#" - count: 4 + count: 2 path: src/lib/Persistence/Legacy/Content/FieldHandler.php - @@ -20400,11 +20400,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 @@ -58395,11 +58390,6 @@ parameters: count: 3 path: tests/lib/Repository/Service/Mock/ContentTest.php - - - message: "#^Cannot access offset mixed on Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\Content\\\\Field\\.$#" - count: 1 - path: tests/lib/Repository/Service/Mock/ContentTest.php - - message: "#^Cannot access offset string on Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\Content\\\\Field\\.$#" count: 1