From d8ec65461ef058887f0e0709903e58e5b0692ba4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Sun, 30 Nov 2025 21:30:17 +0100 Subject: [PATCH] fixed error messages related to datafixtures in prod --- composer.lock | 395 +++++++++++++++++++------------------------ config/reference.php | 56 +----- config/services.yaml | 20 ++- 3 files changed, 196 insertions(+), 275 deletions(-) diff --git a/composer.lock b/composer.lock index 4ee20816..bb07d531 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "32a2a07bf006ee140ea1a8b6e1aabee6", + "content-hash": "624cf08821477aa7b8f6efc0d4300087", "packages": [ { "name": "amphp/amp", @@ -968,16 +968,16 @@ }, { "name": "api-platform/doctrine-common", - "version": "v4.2.6", + "version": "v4.2.7", "source": { "type": "git", "url": "https://github.com/api-platform/doctrine-common.git", - "reference": "84d9335ca30fbf0b20a83416bb54abe8ca4854b6" + "reference": "76ce957843cd050ccd9119915d2cbf9eb5f5ac5c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/api-platform/doctrine-common/zipball/84d9335ca30fbf0b20a83416bb54abe8ca4854b6", - "reference": "84d9335ca30fbf0b20a83416bb54abe8ca4854b6", + "url": "https://api.github.com/repos/api-platform/doctrine-common/zipball/76ce957843cd050ccd9119915d2cbf9eb5f5ac5c", + "reference": "76ce957843cd050ccd9119915d2cbf9eb5f5ac5c", "shasum": "" }, "require": { @@ -996,7 +996,7 @@ "doctrine/orm": "^2.17 || ^3.0", "phpspec/prophecy-phpunit": "^2.2", "phpunit/phpunit": "11.5.x-dev", - "symfony/type-info": "^7.3" + "symfony/type-info": "^7.3 || ^8.0" }, "suggest": { "api-platform/graphql": "For GraphQl mercure subscriptions.", @@ -1013,7 +1013,7 @@ "name": "api-platform/api-platform" }, "symfony": { - "require": "^6.4 || ^7.0" + "require": "^6.4 || ^7.0 || ^8.0" }, "branch-alias": { "dev-3.4": "3.4.x-dev", @@ -1052,22 +1052,22 @@ "rest" ], "support": { - "source": "https://github.com/api-platform/doctrine-common/tree/v4.2.6" + "source": "https://github.com/api-platform/doctrine-common/tree/v4.2.7" }, - "time": "2025-11-13T15:51:59+00:00" + "time": "2025-11-30T12:55:42+00:00" }, { "name": "api-platform/doctrine-orm", - "version": "v4.2.6", + "version": "v4.2.7", "source": { "type": "git", "url": "https://github.com/api-platform/doctrine-orm.git", - "reference": "2ed31aa0b21e2bb5a7c35309d04268cdeb46a1ee" + "reference": "74c91e76bc2e26592f80b3f872f3f97903cc3055" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/api-platform/doctrine-orm/zipball/2ed31aa0b21e2bb5a7c35309d04268cdeb46a1ee", - "reference": "2ed31aa0b21e2bb5a7c35309d04268cdeb46a1ee", + "url": "https://api.github.com/repos/api-platform/doctrine-orm/zipball/74c91e76bc2e26592f80b3f872f3f97903cc3055", + "reference": "74c91e76bc2e26592f80b3f872f3f97903cc3055", "shasum": "" }, "require": { @@ -1075,23 +1075,23 @@ "api-platform/metadata": "^4.2", "api-platform/state": "^4.2.4", "doctrine/orm": "^2.17 || ^3.0", - "php": ">=8.2", - "symfony/type-info": "^7.3" + "php": ">=8.2" }, "require-dev": { - "doctrine/doctrine-bundle": "^2.11", + "doctrine/doctrine-bundle": "^2.11 || ^3.1", "phpspec/prophecy-phpunit": "^2.2", "phpunit/phpunit": "11.5.x-dev", "ramsey/uuid": "^4.7", "ramsey/uuid-doctrine": "^2.0", - "symfony/cache": "^6.4 || ^7.0", - "symfony/framework-bundle": "^6.4 || ^7.0", - "symfony/property-access": "^6.4 || ^7.0", - "symfony/property-info": "^6.4 || ^7.1", - "symfony/serializer": "^6.4 || ^7.0", - "symfony/uid": "^6.4 || ^7.0", - "symfony/validator": "^6.4.11 || ^7.0", - "symfony/yaml": "^6.4 || ^7.0" + "symfony/cache": "^6.4 || ^7.0 || ^8.0", + "symfony/framework-bundle": "^6.4 || ^7.0 || ^8.0", + "symfony/property-access": "^6.4 || ^7.0 || ^8.0", + "symfony/property-info": "^6.4 || ^7.1 || ^8.0", + "symfony/serializer": "^6.4 || ^7.0 || ^8.0", + "symfony/type-info": "^7.3 || ^8.0", + "symfony/uid": "^6.4 || ^7.0 || ^8.0", + "symfony/validator": "^6.4.11 || ^7.0 || ^8.0", + "symfony/yaml": "^6.4 || ^7.0 || ^8.0" }, "type": "library", "extra": { @@ -1100,7 +1100,7 @@ "name": "api-platform/api-platform" }, "symfony": { - "require": "^6.4 || ^7.0" + "require": "^6.4 || ^7.0 || ^8.0" }, "branch-alias": { "dev-3.4": "3.4.x-dev", @@ -1139,22 +1139,22 @@ "rest" ], "support": { - "source": "https://github.com/api-platform/doctrine-orm/tree/v4.2.6" + "source": "https://github.com/api-platform/doctrine-orm/tree/v4.2.7" }, - "time": "2025-11-13T16:02:47+00:00" + "time": "2025-11-30T12:55:42+00:00" }, { "name": "api-platform/documentation", - "version": "v4.2.6", + "version": "v4.2.7", "source": { "type": "git", "url": "https://github.com/api-platform/documentation.git", - "reference": "5181186d9d0da3a2aaa449747af55bee1759969b" + "reference": "8910f2a0aa7910ed807f128510553b24152e5ea5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/api-platform/documentation/zipball/5181186d9d0da3a2aaa449747af55bee1759969b", - "reference": "5181186d9d0da3a2aaa449747af55bee1759969b", + "url": "https://api.github.com/repos/api-platform/documentation/zipball/8910f2a0aa7910ed807f128510553b24152e5ea5", + "reference": "8910f2a0aa7910ed807f128510553b24152e5ea5", "shasum": "" }, "require": { @@ -1171,7 +1171,7 @@ "name": "api-platform/api-platform" }, "symfony": { - "require": "^6.4 || ^7.0" + "require": "^6.4 || ^7.0 || ^8.0" }, "branch-alias": { "dev-3.4": "3.4.x-dev", @@ -1202,37 +1202,37 @@ ], "description": "API Platform documentation controller.", "support": { - "source": "https://github.com/api-platform/documentation/tree/v4.2.6" + "source": "https://github.com/api-platform/documentation/tree/v4.2.7" }, - "time": "2025-10-31T16:12:05+00:00" + "time": "2025-11-30T12:55:42+00:00" }, { "name": "api-platform/http-cache", - "version": "v4.2.6", + "version": "v4.2.7", "source": { "type": "git", "url": "https://github.com/api-platform/http-cache.git", - "reference": "05000f1faf8e3b970665b9edd1d1816d2e6b0958" + "reference": "4bb2eab81407f493f54f51be7aa1918f362c14b5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/api-platform/http-cache/zipball/05000f1faf8e3b970665b9edd1d1816d2e6b0958", - "reference": "05000f1faf8e3b970665b9edd1d1816d2e6b0958", + "url": "https://api.github.com/repos/api-platform/http-cache/zipball/4bb2eab81407f493f54f51be7aa1918f362c14b5", + "reference": "4bb2eab81407f493f54f51be7aa1918f362c14b5", "shasum": "" }, "require": { "api-platform/metadata": "^4.2", "api-platform/state": "^4.2.4", "php": ">=8.2", - "symfony/http-foundation": "^6.4.14 || ^7.0" + "symfony/http-foundation": "^6.4.14 || ^7.0 || ^8.0" }, "require-dev": { - "guzzlehttp/guzzle": "^6.0 || ^7.0", + "guzzlehttp/guzzle": "^6.0 || ^7.0 || ^8.0", "phpspec/prophecy-phpunit": "^2.2", "phpunit/phpunit": "11.5.x-dev", - "symfony/dependency-injection": "^6.4 || ^7.0", - "symfony/http-client": "^6.4 || ^7.0", - "symfony/type-info": "^7.3" + "symfony/dependency-injection": "^6.4 || ^7.0 || ^8.0", + "symfony/http-client": "^6.4 || ^7.0 || ^8.0", + "symfony/type-info": "^7.3 || ^8.0" }, "type": "library", "extra": { @@ -1241,7 +1241,7 @@ "name": "api-platform/api-platform" }, "symfony": { - "require": "^6.4 || ^7.0" + "require": "^6.4 || ^7.0 || ^8.0" }, "branch-alias": { "dev-3.4": "3.4.x-dev", @@ -1282,22 +1282,22 @@ "rest" ], "support": { - "source": "https://github.com/api-platform/http-cache/tree/v4.2.6" + "source": "https://github.com/api-platform/http-cache/tree/v4.2.7" }, - "time": "2025-11-13T16:02:47+00:00" + "time": "2025-11-30T12:55:42+00:00" }, { "name": "api-platform/hydra", - "version": "v4.2.6", + "version": "v4.2.7", "source": { "type": "git", "url": "https://github.com/api-platform/hydra.git", - "reference": "59672d9b2bd2c9ddc679f32c60459c17b0a803c3" + "reference": "ce704a53789ac279e0f7aafac48a8b1005df36e3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/api-platform/hydra/zipball/59672d9b2bd2c9ddc679f32c60459c17b0a803c3", - "reference": "59672d9b2bd2c9ddc679f32c60459c17b0a803c3", + "url": "https://api.github.com/repos/api-platform/hydra/zipball/ce704a53789ac279e0f7aafac48a8b1005df36e3", + "reference": "ce704a53789ac279e0f7aafac48a8b1005df36e3", "shasum": "" }, "require": { @@ -1308,8 +1308,8 @@ "api-platform/serializer": "^4.2.4", "api-platform/state": "^4.2.4", "php": ">=8.2", - "symfony/type-info": "^7.3", - "symfony/web-link": "^6.4 || ^7.1" + "symfony/type-info": "^7.3 || ^8.0", + "symfony/web-link": "^6.4 || ^7.1 || ^8.0" }, "require-dev": { "api-platform/doctrine-common": "^4.2", @@ -1326,7 +1326,7 @@ "name": "api-platform/api-platform" }, "symfony": { - "require": "^6.4 || ^7.0" + "require": "^6.4 || ^7.0 || ^8.0" }, "branch-alias": { "dev-3.4": "3.4.x-dev", @@ -1369,22 +1369,22 @@ "rest" ], "support": { - "source": "https://github.com/api-platform/hydra/tree/v4.2.6" + "source": "https://github.com/api-platform/hydra/tree/v4.2.7" }, - "time": "2025-11-13T15:51:59+00:00" + "time": "2025-11-30T12:55:42+00:00" }, { "name": "api-platform/json-api", - "version": "v4.2.6", + "version": "v4.2.7", "source": { "type": "git", "url": "https://github.com/api-platform/json-api.git", - "reference": "eaef5f0bde86b37b40969762d2534243f929fea8" + "reference": "f7a0680c1183795c46bc2e55a69acb94735cfbe9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/api-platform/json-api/zipball/eaef5f0bde86b37b40969762d2534243f929fea8", - "reference": "eaef5f0bde86b37b40969762d2534243f929fea8", + "url": "https://api.github.com/repos/api-platform/json-api/zipball/f7a0680c1183795c46bc2e55a69acb94735cfbe9", + "reference": "f7a0680c1183795c46bc2e55a69acb94735cfbe9", "shasum": "" }, "require": { @@ -1394,15 +1394,15 @@ "api-platform/serializer": "^4.2.4", "api-platform/state": "^4.2.4", "php": ">=8.2", - "symfony/error-handler": "^6.4 || ^7.0", - "symfony/http-foundation": "^6.4.14 || ^7.0", - "symfony/type-info": "^7.3" + "symfony/error-handler": "^6.4 || ^7.0 || ^8.0", + "symfony/http-foundation": "^6.4.14 || ^7.0 || ^8.0", + "symfony/type-info": "^7.3 || ^8.0" }, "require-dev": { "phpspec/prophecy": "^1.19", "phpspec/prophecy-phpunit": "^2.2", "phpunit/phpunit": "11.5.x-dev", - "symfony/type-info": "^7.3" + "symfony/type-info": "^7.3 || ^8.0" }, "type": "library", "extra": { @@ -1411,7 +1411,7 @@ "name": "api-platform/api-platform" }, "symfony": { - "require": "^6.4 || ^7.0" + "require": "^6.4 || ^7.0 || ^8.0" }, "branch-alias": { "dev-3.4": "3.4.x-dev", @@ -1451,32 +1451,32 @@ "rest" ], "support": { - "source": "https://github.com/api-platform/json-api/tree/v4.2.6" + "source": "https://github.com/api-platform/json-api/tree/v4.2.7" }, - "time": "2025-11-13T16:02:47+00:00" + "time": "2025-11-30T12:55:42+00:00" }, { "name": "api-platform/json-schema", - "version": "v4.2.6", + "version": "v4.2.7", "source": { "type": "git", "url": "https://github.com/api-platform/json-schema.git", - "reference": "fe68500b06d4a3d1f022119a7a9b99b904c5882e" + "reference": "b95eec54ae0353fc068a77fe481c7f4e2e983f33" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/api-platform/json-schema/zipball/fe68500b06d4a3d1f022119a7a9b99b904c5882e", - "reference": "fe68500b06d4a3d1f022119a7a9b99b904c5882e", + "url": "https://api.github.com/repos/api-platform/json-schema/zipball/b95eec54ae0353fc068a77fe481c7f4e2e983f33", + "reference": "b95eec54ae0353fc068a77fe481c7f4e2e983f33", "shasum": "" }, "require": { "api-platform/metadata": "^4.2", "php": ">=8.2", - "symfony/console": "^6.4 || ^7.0", - "symfony/property-info": "^6.4 || ^7.1", - "symfony/serializer": "^6.4 || ^7.0", - "symfony/type-info": "^7.3", - "symfony/uid": "^6.4 || ^7.0" + "symfony/console": "^6.4 || ^7.0 || ^8.0", + "symfony/property-info": "^6.4 || ^7.1 || ^8.0", + "symfony/serializer": "^6.4 || ^7.0 || ^8.0", + "symfony/type-info": "^7.3 || ^8.0", + "symfony/uid": "^6.4 || ^7.0 || ^8.0" }, "require-dev": { "phpspec/prophecy-phpunit": "^2.2", @@ -1489,7 +1489,7 @@ "name": "api-platform/api-platform" }, "symfony": { - "require": "^6.4 || ^7.0" + "require": "^6.4 || ^7.0 || ^8.0" }, "branch-alias": { "dev-3.4": "3.4.x-dev", @@ -1532,22 +1532,22 @@ "swagger" ], "support": { - "source": "https://github.com/api-platform/json-schema/tree/v4.2.6" + "source": "https://github.com/api-platform/json-schema/tree/v4.2.7" }, - "time": "2025-11-07T11:21:39+00:00" + "time": "2025-11-30T12:55:42+00:00" }, { "name": "api-platform/jsonld", - "version": "v4.2.6", + "version": "v4.2.7", "source": { "type": "git", "url": "https://github.com/api-platform/jsonld.git", - "reference": "083e9fcdb0b81dbf1045e489e6d6149b4ee11e54" + "reference": "c8896d5a3ddf67ac8aa74bb54199b13153fa39c3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/api-platform/jsonld/zipball/083e9fcdb0b81dbf1045e489e6d6149b4ee11e54", - "reference": "083e9fcdb0b81dbf1045e489e6d6149b4ee11e54", + "url": "https://api.github.com/repos/api-platform/jsonld/zipball/c8896d5a3ddf67ac8aa74bb54199b13153fa39c3", + "reference": "c8896d5a3ddf67ac8aa74bb54199b13153fa39c3", "shasum": "" }, "require": { @@ -1558,7 +1558,7 @@ }, "require-dev": { "phpunit/phpunit": "11.5.x-dev", - "symfony/type-info": "^7.3" + "symfony/type-info": "^7.3 || ^8.0" }, "type": "library", "extra": { @@ -1567,7 +1567,7 @@ "name": "api-platform/api-platform" }, "symfony": { - "require": "^6.4 || ^7.0" + "require": "^6.4 || ^7.0 || ^8.0" }, "branch-alias": { "dev-3.4": "3.4.x-dev", @@ -1612,22 +1612,22 @@ "rest" ], "support": { - "source": "https://github.com/api-platform/jsonld/tree/v4.2.6" + "source": "https://github.com/api-platform/jsonld/tree/v4.2.7" }, - "time": "2025-11-13T15:51:59+00:00" + "time": "2025-11-30T12:55:42+00:00" }, { "name": "api-platform/metadata", - "version": "v4.2.6", + "version": "v4.2.7", "source": { "type": "git", "url": "https://github.com/api-platform/metadata.git", - "reference": "e785a782e033e2a080bd7d545916f0623c6a8546" + "reference": "68e5edff897d4f3bf95ccf1eed464d6e3900a8b2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/api-platform/metadata/zipball/e785a782e033e2a080bd7d545916f0623c6a8546", - "reference": "e785a782e033e2a080bd7d545916f0623c6a8546", + "url": "https://api.github.com/repos/api-platform/metadata/zipball/68e5edff897d4f3bf95ccf1eed464d6e3900a8b2", + "reference": "68e5edff897d4f3bf95ccf1eed464d6e3900a8b2", "shasum": "" }, "require": { @@ -1635,9 +1635,9 @@ "php": ">=8.2", "psr/cache": "^1.0 || ^2.0 || ^3.0", "psr/log": "^1.0 || ^2.0 || ^3.0", - "symfony/property-info": "^6.4 || ^7.1", - "symfony/string": "^6.4 || ^7.0", - "symfony/type-info": "^7.3" + "symfony/property-info": "^6.4 || ^7.1 || ^8.0", + "symfony/string": "^6.4 || ^7.0 || ^8.0", + "symfony/type-info": "^7.3 || ^8.0" }, "require-dev": { "api-platform/json-schema": "^4.2", @@ -1646,11 +1646,11 @@ "phpspec/prophecy-phpunit": "^2.2", "phpstan/phpdoc-parser": "^1.29 || ^2.0", "phpunit/phpunit": "11.5.x-dev", - "symfony/config": "^6.4 || ^7.0", - "symfony/routing": "^6.4 || ^7.0", - "symfony/var-dumper": "^6.4 || ^7.0", - "symfony/web-link": "^6.4 || ^7.1", - "symfony/yaml": "^6.4 || ^7.0" + "symfony/config": "^6.4 || ^7.0 || ^8.0", + "symfony/routing": "^6.4 || ^7.0 || ^8.0", + "symfony/var-dumper": "^6.4 || ^7.0 || ^8.0", + "symfony/web-link": "^6.4 || ^7.1 || ^8.0", + "symfony/yaml": "^6.4 || ^7.0 || ^8.0" }, "suggest": { "phpstan/phpdoc-parser": "For PHP documentation support.", @@ -1664,7 +1664,7 @@ "name": "api-platform/api-platform" }, "symfony": { - "require": "^6.4 || ^7.0" + "require": "^6.4 || ^7.0 || ^8.0" }, "branch-alias": { "dev-3.4": "3.4.x-dev", @@ -1710,22 +1710,22 @@ "swagger" ], "support": { - "source": "https://github.com/api-platform/metadata/tree/v4.2.6" + "source": "https://github.com/api-platform/metadata/tree/v4.2.7" }, - "time": "2025-11-17T17:31:39+00:00" + "time": "2025-11-30T13:04:03+00:00" }, { "name": "api-platform/openapi", - "version": "v4.2.6", + "version": "v4.2.7", "source": { "type": "git", "url": "https://github.com/api-platform/openapi.git", - "reference": "48b0b697619d9cab6b2c6bce59b1fd42f12c4d16" + "reference": "ea49d6d7170f8ecc1c239e7769708628183096b8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/api-platform/openapi/zipball/48b0b697619d9cab6b2c6bce59b1fd42f12c4d16", - "reference": "48b0b697619d9cab6b2c6bce59b1fd42f12c4d16", + "url": "https://api.github.com/repos/api-platform/openapi/zipball/ea49d6d7170f8ecc1c239e7769708628183096b8", + "reference": "ea49d6d7170f8ecc1c239e7769708628183096b8", "shasum": "" }, "require": { @@ -1733,11 +1733,11 @@ "api-platform/metadata": "^4.2", "api-platform/state": "^4.2.4", "php": ">=8.2", - "symfony/console": "^6.4 || ^7.0", - "symfony/filesystem": "^6.4 || ^7.0", - "symfony/property-access": "^6.4 || ^7.0", - "symfony/serializer": "^6.4 || ^7.0", - "symfony/type-info": "^7.3" + "symfony/console": "^6.4 || ^7.0 || ^8.0", + "symfony/filesystem": "^6.4 || ^7.0 || ^8.0", + "symfony/property-access": "^6.4 || ^7.0 || ^8.0", + "symfony/serializer": "^6.4 || ^7.0 || ^8.0", + "symfony/type-info": "^7.3 || ^8.0" }, "require-dev": { "api-platform/doctrine-common": "^4.2", @@ -1745,7 +1745,7 @@ "api-platform/doctrine-orm": "^4.2", "phpspec/prophecy-phpunit": "^2.2", "phpunit/phpunit": "11.5.x-dev", - "symfony/type-info": "^7.3" + "symfony/type-info": "^7.3 || ^8.0" }, "type": "library", "extra": { @@ -1754,7 +1754,7 @@ "name": "api-platform/api-platform" }, "symfony": { - "require": "^6.4 || ^7.0" + "require": "^6.4 || ^7.0 || ^8.0" }, "branch-alias": { "dev-3.4": "3.4.x-dev", @@ -1800,32 +1800,32 @@ "swagger" ], "support": { - "source": "https://github.com/api-platform/openapi/tree/v4.2.6" + "source": "https://github.com/api-platform/openapi/tree/v4.2.7" }, - "time": "2025-11-13T15:51:59+00:00" + "time": "2025-11-30T12:55:42+00:00" }, { "name": "api-platform/serializer", - "version": "v4.2.6", + "version": "v4.2.7", "source": { "type": "git", "url": "https://github.com/api-platform/serializer.git", - "reference": "90939274d2cf90c40bdab8d4b6243d18d2e71434" + "reference": "c3ea805273d5646a0eabb0161850b4e382bb96ef" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/api-platform/serializer/zipball/90939274d2cf90c40bdab8d4b6243d18d2e71434", - "reference": "90939274d2cf90c40bdab8d4b6243d18d2e71434", + "url": "https://api.github.com/repos/api-platform/serializer/zipball/c3ea805273d5646a0eabb0161850b4e382bb96ef", + "reference": "c3ea805273d5646a0eabb0161850b4e382bb96ef", "shasum": "" }, "require": { "api-platform/metadata": "^4.2", "api-platform/state": "^4.2.4", "php": ">=8.2", - "symfony/property-access": "^6.4 || ^7.0", - "symfony/property-info": "^6.4 || ^7.1", - "symfony/serializer": "^6.4 || ^7.0", - "symfony/validator": "^6.4.11 || ^7.0" + "symfony/property-access": "^6.4 || ^7.0 || ^8.0", + "symfony/property-info": "^6.4 || ^7.1 || ^8.0", + "symfony/serializer": "^6.4 || ^7.0 || ^8.0", + "symfony/validator": "^6.4.11 || ^7.0 || ^8.0" }, "require-dev": { "api-platform/doctrine-common": "^4.2", @@ -1837,9 +1837,9 @@ "phpspec/prophecy-phpunit": "^2.2", "phpunit/phpunit": "11.5.x-dev", "symfony/mercure-bundle": "*", - "symfony/type-info": "^7.3", - "symfony/var-dumper": "^6.4 || ^7.0", - "symfony/yaml": "^6.4 || ^7.0" + "symfony/type-info": "^7.3 || ^8.0", + "symfony/var-dumper": "^6.4 || ^7.0 || ^8.0", + "symfony/yaml": "^6.4 || ^7.0 || ^8.0" }, "suggest": { "api-platform/doctrine-odm": "To support Doctrine MongoDB ODM state options.", @@ -1852,7 +1852,7 @@ "name": "api-platform/api-platform" }, "symfony": { - "require": "^6.4 || ^7.0" + "require": "^6.4 || ^7.0 || ^8.0" }, "branch-alias": { "dev-3.4": "3.4.x-dev", @@ -1893,40 +1893,41 @@ "serializer" ], "support": { - "source": "https://github.com/api-platform/serializer/tree/v4.2.6" + "source": "https://github.com/api-platform/serializer/tree/v4.2.7" }, - "time": "2025-11-13T16:02:47+00:00" + "time": "2025-11-30T12:55:42+00:00" }, { "name": "api-platform/state", - "version": "v4.2.6", + "version": "v4.2.7", "source": { "type": "git", "url": "https://github.com/api-platform/state.git", - "reference": "21a97e0ef1f906f49221480ae187e906120b8dc5" + "reference": "b46ec9e09dd6be3e44461d18097025cf449d23b6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/api-platform/state/zipball/21a97e0ef1f906f49221480ae187e906120b8dc5", - "reference": "21a97e0ef1f906f49221480ae187e906120b8dc5", + "url": "https://api.github.com/repos/api-platform/state/zipball/b46ec9e09dd6be3e44461d18097025cf449d23b6", + "reference": "b46ec9e09dd6be3e44461d18097025cf449d23b6", "shasum": "" }, "require": { "api-platform/metadata": "^4.2.3", "php": ">=8.2", "psr/container": "^1.0 || ^2.0", - "symfony/http-kernel": "^6.4 || ^7.0", - "symfony/serializer": "^6.4 || ^7.0", + "symfony/deprecation-contracts": "^3.1", + "symfony/http-kernel": "^6.4 || ^7.0 || ^8.0", + "symfony/serializer": "^6.4 || ^7.0 || ^8.0", "symfony/translation-contracts": "^3.0" }, "require-dev": { "api-platform/serializer": "^4.2.4", "api-platform/validator": "^4.2.4", "phpunit/phpunit": "11.5.x-dev", - "symfony/http-foundation": "^6.4.14 || ^7.0", - "symfony/object-mapper": "^7.3", - "symfony/type-info": "^7.3 || 7.4.x-dev", - "symfony/web-link": "^6.4 || ^7.1", + "symfony/http-foundation": "^6.4.14 || ^7.0 || ^8.0", + "symfony/object-mapper": "^7.4 || ^8.0", + "symfony/type-info": "^7.4 || ^8.0", + "symfony/web-link": "^6.4 || ^7.1 || ^8.0", "willdurand/negotiation": "^3.1" }, "suggest": { @@ -1943,7 +1944,7 @@ "name": "api-platform/api-platform" }, "symfony": { - "require": "^6.4 || ^7.0" + "require": "^6.4 || ^7.0 || ^8.0" }, "branch-alias": { "dev-3.4": "3.4.x-dev", @@ -1989,22 +1990,22 @@ "swagger" ], "support": { - "source": "https://github.com/api-platform/state/tree/v4.2.6" + "source": "https://github.com/api-platform/state/tree/v4.2.7" }, - "time": "2025-11-17T17:31:39+00:00" + "time": "2025-11-30T13:03:35+00:00" }, { "name": "api-platform/symfony", - "version": "v4.2.6", + "version": "v4.2.7", "source": { "type": "git", "url": "https://github.com/api-platform/symfony.git", - "reference": "60f80b128b564c276ccfde5ee795566409cc8c94" + "reference": "1e16952c5cccbd7dd65936a4cefb66a10c72c26f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/api-platform/symfony/zipball/60f80b128b564c276ccfde5ee795566409cc8c94", - "reference": "60f80b128b564c276ccfde5ee795566409cc8c94", + "url": "https://api.github.com/repos/api-platform/symfony/zipball/1e16952c5cccbd7dd65936a4cefb66a10c72c26f", + "reference": "1e16952c5cccbd7dd65936a4cefb66a10c72c26f", "shasum": "" }, "require": { @@ -2019,12 +2020,12 @@ "api-platform/state": "^4.2.4", "api-platform/validator": "^4.2.3", "php": ">=8.2", - "symfony/asset": "^6.4 || ^7.0", - "symfony/finder": "^6.4 || ^7.0", - "symfony/property-access": "^6.4 || ^7.0", + "symfony/asset": "^6.4 || ^7.0 || ^8.0", + "symfony/finder": "^6.4 || ^7.0 || ^8.0", + "symfony/property-access": "^6.4 || ^7.0 || ^8.0", "symfony/property-info": "^6.4 || ^7.1", - "symfony/security-core": "^6.4 || ^7.0", - "symfony/serializer": "^6.4 || ^7.0", + "symfony/security-core": "^6.4 || ^7.0 || ^8.0", + "symfony/serializer": "^6.4 || ^7.0 || ^8.0", "willdurand/negotiation": "^3.1" }, "require-dev": { @@ -2035,13 +2036,13 @@ "api-platform/graphql": "^4.2.3", "phpspec/prophecy-phpunit": "^2.2", "phpunit/phpunit": "11.5.x-dev", - "symfony/expression-language": "^6.4 || ^7.0", - "symfony/intl": "^6.4 || ^7.0", + "symfony/expression-language": "^6.4 || ^7.0 || ^8.0", + "symfony/intl": "^6.4 || ^7.0 || ^8.0", "symfony/mercure-bundle": "*", - "symfony/object-mapper": "^7.0", - "symfony/routing": "^6.4 || ^7.0", - "symfony/type-info": "^7.3", - "symfony/validator": "^6.4.11 || ^7.0", + "symfony/object-mapper": "^7.0 || ^8.0", + "symfony/routing": "^6.4 || ^7.0 || ^8.0", + "symfony/type-info": "^7.3 || ^8.0", + "symfony/validator": "^6.4.11 || ^7.0 || ^8.0", "webonyx/graphql-php": "^15.0" }, "suggest": { @@ -2071,7 +2072,7 @@ "name": "api-platform/api-platform" }, "symfony": { - "require": "^6.4 || ^7.0" + "require": "^6.4 || ^7.0 || ^8.0" }, "branch-alias": { "dev-main": "4.3.x-dev" @@ -2115,32 +2116,32 @@ "symfony" ], "support": { - "source": "https://github.com/api-platform/symfony/tree/v4.2.6" + "source": "https://github.com/api-platform/symfony/tree/v4.2.7" }, - "time": "2025-11-17T17:31:39+00:00" + "time": "2025-11-30T13:03:06+00:00" }, { "name": "api-platform/validator", - "version": "v4.2.6", + "version": "v4.2.7", "source": { "type": "git", "url": "https://github.com/api-platform/validator.git", - "reference": "bdeaa42a40cbac7cecb677566e940c3d75b7001a" + "reference": "a29ba03fa64f4db7522aa19d40c4fe8500b3f160" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/api-platform/validator/zipball/bdeaa42a40cbac7cecb677566e940c3d75b7001a", - "reference": "bdeaa42a40cbac7cecb677566e940c3d75b7001a", + "url": "https://api.github.com/repos/api-platform/validator/zipball/a29ba03fa64f4db7522aa19d40c4fe8500b3f160", + "reference": "a29ba03fa64f4db7522aa19d40c4fe8500b3f160", "shasum": "" }, "require": { "api-platform/metadata": "^4.2", "php": ">=8.2", - "symfony/http-kernel": "^6.4 || ^7.1", - "symfony/serializer": "^6.4 || ^7.1", - "symfony/type-info": "^7.3", - "symfony/validator": "^6.4.11 || ^7.1", - "symfony/web-link": "^6.4 || ^7.1" + "symfony/http-kernel": "^6.4 || ^7.1 || ^8.0", + "symfony/serializer": "^6.4 || ^7.1 || ^8.0", + "symfony/type-info": "^7.3 || ^8.0", + "symfony/validator": "^6.4.11 || ^7.1 || ^8.0", + "symfony/web-link": "^6.4 || ^7.1 || ^8.0" }, "require-dev": { "phpspec/prophecy-phpunit": "^2.2", @@ -2153,7 +2154,7 @@ "name": "api-platform/api-platform" }, "symfony": { - "require": "^6.4 || ^7.0" + "require": "^6.4 || ^7.0 || ^8.0" }, "branch-alias": { "dev-3.4": "3.4.x-dev", @@ -2191,9 +2192,9 @@ "validator" ], "support": { - "source": "https://github.com/api-platform/validator/tree/v4.2.6" + "source": "https://github.com/api-platform/validator/tree/v4.2.7" }, - "time": "2025-11-13T16:02:47+00:00" + "time": "2025-11-30T12:55:42+00:00" }, { "name": "beberlei/assert", @@ -9352,58 +9353,6 @@ }, "time": "2024-11-20T21:13:56+00:00" }, - { - "name": "runtime/frankenphp-symfony", - "version": "0.2.0", - "source": { - "type": "git", - "url": "https://github.com/php-runtime/frankenphp-symfony.git", - "reference": "56822c3631d9522a3136a4c33082d006bdfe4bad" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-runtime/frankenphp-symfony/zipball/56822c3631d9522a3136a4c33082d006bdfe4bad", - "reference": "56822c3631d9522a3136a4c33082d006bdfe4bad", - "shasum": "" - }, - "require": { - "php": ">=8.1", - "symfony/dependency-injection": "^5.4 || ^6.0 || ^7.0", - "symfony/http-kernel": "^5.4 || ^6.0 || ^7.0", - "symfony/runtime": "^5.4 || ^6.0 || ^7.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Runtime\\FrankenPhpSymfony\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Kévin Dunglas", - "email": "kevin@dunglas.dev" - } - ], - "description": "FrankenPHP runtime for Symfony", - "support": { - "issues": "https://github.com/php-runtime/frankenphp-symfony/issues", - "source": "https://github.com/php-runtime/frankenphp-symfony/tree/0.2.0" - }, - "funding": [ - { - "url": "https://github.com/nyholm", - "type": "github" - } - ], - "time": "2023-12-12T12:06:11+00:00" - }, { "name": "s9e/regexp-builder", "version": "1.4.6", diff --git a/config/reference.php b/config/reference.php index 6ea52419..3fe3d205 100644 --- a/config/reference.php +++ b/config/reference.php @@ -128,7 +128,7 @@ namespace Symfony\Component\DependencyInjection\Loader\Configurator; * http_method_override?: bool, // Set true to enable support for the '_method' request parameter to determine the intended HTTP method on POST requests. // Default: false * allowed_http_method_override?: list|null, * trust_x_sendfile_type_header?: scalar|null, // Set true to enable support for xsendfile in binary file responses. // Default: "%env(bool:default::SYMFONY_TRUST_X_SENDFILE_TYPE_HEADER)%" - * ide?: scalar|null, // Default: "%env(default::SYMFONY_IDE)%" + * ide?: scalar|null, // Default: null * test?: bool, * default_locale?: scalar|null, // Default: "en" * set_locale_from_accept_language?: bool, // Whether to use the Accept-Language HTTP header to set the Request locale (only when the "_locale" request attribute is not passed). // Default: false @@ -285,7 +285,7 @@ namespace Symfony\Component\DependencyInjection\Loader\Configurator; * paths?: array, * excluded_patterns?: list, * exclude_dotfiles?: bool, // If true, any files starting with "." will be excluded from the asset mapper. // Default: true - * server?: bool, // If true, a "dev server" will return the assets from the public directory (true in "debug" mode only by default). // Default: true + * server?: bool, // If true, a "dev server" will return the assets from the public directory (true in "debug" mode only by default). // Default: false * public_prefix?: scalar|null, // The public path where the assets will be written to (and served from when "server" is true). // Default: "/assets/" * missing_import_mode?: "strict"|"warn"|"ignore", // Behavior if an asset cannot be found when imported from JavaScript or CSS files - e.g. "import './non-existent.js'". "strict" means an exception is thrown, "warn" means a warning is logged, "ignore" means the import is left as-is. // Default: "warn" * extensions?: array, @@ -405,7 +405,7 @@ namespace Symfony\Component\DependencyInjection\Loader\Configurator; * }, * php_errors?: array{ // PHP errors handling configuration * log?: mixed, // Use the application logger instead of the PHP logger for logging PHP errors. // Default: true - * throw?: bool, // Throw PHP errors as \ErrorException instances. // Default: true + * throw?: bool, // Throw PHP errors as \ErrorException instances. // Default: false * }, * exceptions?: array, @@ -1541,18 +1533,6 @@ namespace Symfony\Component\DependencyInjection\Loader\Configurator; * }, * }>, * } - * @psalm-type DebugConfig = array{ - * max_items?: int, // Max number of displayed items past the first level, -1 means no limit. // Default: 2500 - * min_depth?: int, // Minimum tree depth to clone all the items, 1 is default. // Default: 1 - * max_string_length?: int, // Max length of displayed strings, -1 means no limit. // Default: -1 - * dump_destination?: scalar|null, // A stream URL where dumps should be written to. // Default: null - * theme?: "dark"|"light", // Changes the color of the dump() output when rendered directly on the templating. "dark" (default) or "light". // Default: "dark" - * } - * @psalm-type MakerConfig = array{ - * root_namespace?: scalar|null, // Default: "App" - * generate_final_classes?: bool, // Default: true - * generate_final_entities?: bool, // Default: false - * } * @psalm-type WebpackEncoreConfig = array{ * output_path: scalar|null, // The path where Encore is building the assets - i.e. Encore.setOutputPath() * crossorigin?: false|"anonymous"|"use-credentials", // crossorigin value when Encore.enableIntegrityHashes() is used, can be false (default), anonymous or use-credentials // Default: false @@ -2372,13 +2352,6 @@ namespace Symfony\Component\DependencyInjection\Loader\Configurator; * invalidate_on_env_change?: bool, // Default: true * }, * } - * @psalm-type JbtronicsTranslationEditorConfig = array{ - * translations_path?: scalar|null, // Default: "%translator.default_path%" - * format?: scalar|null, // Default: "xlf" - * xliff_version?: scalar|null, // Default: "2.0" - * use_intl_icu_format?: bool, // Default: false - * writer_options?: list, - * } * @psalm-type ApiPlatformConfig = array{ * title?: scalar|null, // The title of the API. // Default: "" * description?: scalar|null, // The description of the API. // Default: "" @@ -2529,7 +2502,7 @@ namespace Symfony\Component\DependencyInjection\Loader\Configurator; * validation_error_resource_class?: scalar|null, // The class used to represent validation errors in the OpenAPI documentation. // Default: null * }, * maker?: bool|array{ - * enabled?: bool, // Default: true + * enabled?: bool, // Default: false * }, * exception_to_status?: array, * formats?: array * }, * } - * @psalm-type DamaDoctrineTestConfig = array{ - * enable_static_connection?: mixed, // Default: true - * enable_static_meta_data_cache?: bool, // Default: true - * enable_static_query_cache?: bool, // Default: true - * connection_keys?: list, - * } * @psalm-type ConfigType = array{ * imports?: ImportsConfig, * parameters?: ParametersConfig, @@ -2678,10 +2645,7 @@ namespace Symfony\Component\DependencyInjection\Loader\Configurator; * doctrine_migrations?: DoctrineMigrationsConfig, * security?: SecurityConfig, * twig?: TwigConfig, - * web_profiler?: WebProfilerConfig, * monolog?: MonologConfig, - * debug?: DebugConfig, - * maker?: MakerConfig, * webpack_encore?: WebpackEncoreConfig, * datatables?: DatatablesConfig, * liip_imagine?: LiipImagineConfig, @@ -2700,7 +2664,6 @@ namespace Symfony\Component\DependencyInjection\Loader\Configurator; * knpu_oauth2_client?: KnpuOauth2ClientConfig, * nelmio_cors?: NelmioCorsConfig, * jbtronics_settings?: JbtronicsSettingsConfig, - * jbtronics_translation_editor?: JbtronicsTranslationEditorConfig, * api_platform?: ApiPlatformConfig, * }, * "when@docker"?: array{ @@ -2772,13 +2735,10 @@ namespace Symfony\Component\DependencyInjection\Loader\Configurator; * doctrine_migrations?: DoctrineMigrationsConfig, * security?: SecurityConfig, * twig?: TwigConfig, - * web_profiler?: WebProfilerConfig, * monolog?: MonologConfig, - * debug?: DebugConfig, * webpack_encore?: WebpackEncoreConfig, * datatables?: DatatablesConfig, * liip_imagine?: LiipImagineConfig, - * dama_doctrine_test?: DamaDoctrineTestConfig, * twig_extra?: TwigExtraConfig, * gregwar_captcha?: GregwarCaptchaConfig, * florianv_swap?: FlorianvSwapConfig, diff --git a/config/services.yaml b/config/services.yaml index 57dddc66..f117b372 100644 --- a/config/services.yaml +++ b/config/services.yaml @@ -32,6 +32,9 @@ services: # this creates a service per class whose id is the fully-qualified class name App\: resource: '../src/' + exclude: + - '../src/DataFixtures/' + - '../src/Doctrine/Purger/' # controllers are imported separately to make sure services can be injected # as action arguments even if you don't extend any base controller class @@ -230,10 +233,6 @@ services: arguments: $enforce_index_php: '%env(bool:NO_URL_REWRITE_AVAILABLE)%' - App\Doctrine\Purger\ResetAutoIncrementPurgerFactory: - tags: - - { name: 'doctrine.fixtures.purger_factory', alias: 'reset_autoincrement_purger' } - App\Repository\PartRepository: arguments: $translator: '@translator' @@ -277,6 +276,14 @@ services: when@test: services: + + App\Doctrine\Purger\: + resource: '../src/Doctrine/Purger/' + + App\Doctrine\Purger\ResetAutoIncrementPurgerFactory: + tags: + - { name: 'doctrine.fixtures.purger_factory', alias: 'reset_autoincrement_purger' } + # Decorate the doctrine fixtures load command to use our custom purger by default doctrine.fixtures_load_command.custom: decorates: doctrine.fixtures_load_command @@ -285,3 +292,8 @@ when@test: - '@doctrine.fixtures.loader' - '@doctrine' - { default: '@App\Doctrine\Purger\DoNotUsePurgerFactory' } + +when@dev: + services: + App\DataFixtures\: + resource: '../src/DataFixtures/'