From c2c1352edc3c88cd1ac06caf3c142d60d76115ae Mon Sep 17 00:00:00 2001 From: silverbackdan Date: Thu, 18 Jul 2024 09:25:27 +0100 Subject: [PATCH] Minimum requirements 7.1 --- composer.json | 42 +++++++++---------- .../Api/CollectionApiEventListener.php | 2 +- 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/composer.json b/composer.json index a7064be4..68f805b5 100644 --- a/composer.json +++ b/composer.json @@ -18,7 +18,7 @@ } ], "require": { - "php": ">=8.1", + "php": ">=8.3", "ext-exif": "*", "ext-fileinfo": "*", "ext-json": "*", @@ -42,20 +42,20 @@ "ramsey/collection": "^1.2", "ramsey/uuid": "^4.5", "ramsey/uuid-doctrine": "^1.6", - "symfony/asset": "^7.0", - "symfony/console": "^7.0", - "symfony/event-dispatcher": "^7.0", - "symfony/expression-language": "^7.0", - "symfony/form": "^7.0", - "symfony/framework-bundle": "^7.0", - "symfony/mailer": "^7.0", - "symfony/property-access": "^7.0", - "symfony/property-info": "^7.0", + "symfony/asset": "^7.1", + "symfony/console": "^7.1", + "symfony/event-dispatcher": "^7.1", + "symfony/expression-language": "^7.1", + "symfony/form": "^7.1", + "symfony/framework-bundle": "^7.1", + "symfony/mailer": "^7.1", + "symfony/property-access": "^7.1", + "symfony/property-info": "^7.1", "symfony/proxy-manager-bridge": "^6.4", - "symfony/security-bundle": "^7.0", - "symfony/serializer": "^7.0", - "symfony/twig-bundle": "^7.0", - "symfony/validator": "^7.0", + "symfony/security-bundle": "^7.1", + "symfony/serializer": "^7.1", + "symfony/twig-bundle": "^7.1", + "symfony/validator": "^7.1", "twig/cssinliner-extra": "^3.0.3", "twig/extra-bundle": "^3.0.3", "twig/inky-extra": "^3.0.3", @@ -86,16 +86,16 @@ "symfony/browser-kit": "^6.4", "symfony/css-selector": "^6.4", "symfony/debug": "^4", - "symfony/dotenv": "^7.0", - "symfony/http-client": "^7.0", + "symfony/dotenv": "^7.1", + "symfony/http-client": "^7.1", "symfony/maker-bundle": "^1.0", "symfony/mercure": "^0.6.2", "symfony/mercure-bundle": "^0.3.5", - "symfony/messenger": "^7.0", + "symfony/messenger": "^7.1", "symfony/monolog-bundle": "^3.8", - "symfony/phpunit-bridge": "^7.0", - "symfony/stopwatch": "^7.0", - "symfony/web-profiler-bundle": "^7.0" + "symfony/phpunit-bridge": "^7.1", + "symfony/stopwatch": "^7.1", + "symfony/web-profiler-bundle": "^7.1" }, "replace": { "namshi/jose": "^7.2" @@ -127,7 +127,7 @@ "symfony": { "allow-contrib": false, "root-dir": "tests/Functional/app", - "require": "^7.0" + "require": "^7.1" } }, "scripts": { diff --git a/src/EventListener/Api/CollectionApiEventListener.php b/src/EventListener/Api/CollectionApiEventListener.php index a5c9dc19..854676e5 100644 --- a/src/EventListener/Api/CollectionApiEventListener.php +++ b/src/EventListener/Api/CollectionApiEventListener.php @@ -20,8 +20,8 @@ use ApiPlatform\Metadata\HttpOperation; use ApiPlatform\Metadata\Operation; use ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface; -use ApiPlatform\State\SerializerContextBuilderInterface; use ApiPlatform\State\ProviderInterface; +use ApiPlatform\State\SerializerContextBuilderInterface; use ApiPlatform\State\UriVariablesResolverTrait; use ApiPlatform\State\Util\RequestParser; use ApiPlatform\Util\AttributesExtractor;