From b465d304e2249ab17494368c9b2909a21fc065b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Niedzielski?= Date: Fri, 15 May 2026 10:19:08 +0200 Subject: [PATCH 1/4] Removed ibexa/polyfill-php82 dependency --- composer.json | 1 - 1 file changed, 1 deletion(-) diff --git a/composer.json b/composer.json index 0735792b..f52ea114 100644 --- a/composer.json +++ b/composer.json @@ -30,7 +30,6 @@ "ext-xmlwriter": "*", "api-platform/core": "~4.1.18", "ibexa/core": "~5.0.x-dev", - "ibexa/polyfill-php82": "^1.0", "ibexa/templated-uri-bundle": "^4.0", "lexik/jwt-authentication-bundle": "^2.8", "symfony/config": "^7.4", From 520a41c3a74b346ff9295d16833608f5cc7a1d72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Niedzielski?= Date: Fri, 15 May 2026 11:52:59 +0200 Subject: [PATCH 2/4] Removed ibexa/polyfill-php82 dependency --- .../Server/Input/Parser/ContentType/Query/ContentTypeQuery.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lib/Server/Input/Parser/ContentType/Query/ContentTypeQuery.php b/src/lib/Server/Input/Parser/ContentType/Query/ContentTypeQuery.php index f59a88a9..e6233756 100644 --- a/src/lib/Server/Input/Parser/ContentType/Query/ContentTypeQuery.php +++ b/src/lib/Server/Input/Parser/ContentType/Query/ContentTypeQuery.php @@ -14,7 +14,6 @@ use Ibexa\Contracts\Rest\Input\Parser\Query\Criterion\CriterionProcessorInterface; use Ibexa\Contracts\Rest\Input\Parser\Query\SortClause\SortClauseProcessorInterface; use Ibexa\Contracts\Rest\Input\ParsingDispatcher; -use function Ibexa\PolyfillPhp82\iterator_to_array; use Ibexa\Rest\Input\BaseParser; /** From d0822b47fd444ab6fac959fa31d618851865fe1d Mon Sep 17 00:00:00 2001 From: Sztig Date: Mon, 11 May 2026 17:20:23 +0200 Subject: [PATCH 3/4] [PHPStan] fixed return typing --- src/contracts/Output/VisitorAdapterNormalizer.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/contracts/Output/VisitorAdapterNormalizer.php b/src/contracts/Output/VisitorAdapterNormalizer.php index 17cb0d7a..f8b7f9a8 100644 --- a/src/contracts/Output/VisitorAdapterNormalizer.php +++ b/src/contracts/Output/VisitorAdapterNormalizer.php @@ -34,6 +34,8 @@ public function __construct( /** * @param array $context * + * @return array|bool|string|int|float|null|\ArrayObject + * * @throws \Symfony\Component\Serializer\Exception\ExceptionInterface */ public function normalize(mixed $object, ?string $format = null, array $context = []): array|bool|string|int|float|null|\ArrayObject From 6236c3bbc949728f49dc2eaa73e023c113a37d83 Mon Sep 17 00:00:00 2001 From: Sztig Date: Mon, 11 May 2026 17:29:49 +0200 Subject: [PATCH 4/4] fix-cs --- src/contracts/Output/VisitorAdapterNormalizer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/contracts/Output/VisitorAdapterNormalizer.php b/src/contracts/Output/VisitorAdapterNormalizer.php index f8b7f9a8..8fc0440b 100644 --- a/src/contracts/Output/VisitorAdapterNormalizer.php +++ b/src/contracts/Output/VisitorAdapterNormalizer.php @@ -34,7 +34,7 @@ public function __construct( /** * @param array $context * - * @return array|bool|string|int|float|null|\ArrayObject + * @return array|bool|string|int|float|\ArrayObject|null * * @throws \Symfony\Component\Serializer\Exception\ExceptionInterface */