Skip to content

Commit b808dd8

Browse files
fix(doctrine): raise doctrine-common floor to alpha.2 for the orm/odm bridges
The orm/odm filters (ExistsFilter, DateFilter) use NameConverterAwareTrait, which api-platform/doctrine-common first shipped in v5.0.0-alpha.2 (#8351). The bridges still declared "^5.0@alpha", which permits alpha.1; under --prefer-lowest Composer installs alpha.1 and the PHP 8.5 lowest jobs fatal with "Trait not found". Raise the floor to the real released version that provides the trait.
1 parent dd00d0f commit b808dd8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/Doctrine/Odm/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
],
2626
"require": {
2727
"php": ">=8.2",
28-
"api-platform/doctrine-common": "^5.0@alpha",
28+
"api-platform/doctrine-common": "^5.0.0-alpha.2",
2929
"api-platform/metadata": "^5.0@alpha",
3030
"api-platform/serializer": "^5.0@alpha",
3131
"api-platform/state": "^5.0@alpha",

src/Doctrine/Orm/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
],
2525
"require": {
2626
"php": ">=8.2",
27-
"api-platform/doctrine-common": "^5.0@alpha",
27+
"api-platform/doctrine-common": "^5.0.0-alpha.2",
2828
"api-platform/metadata": "^5.0@alpha",
2929
"api-platform/serializer": "^5.0@alpha",
3030
"api-platform/state": "^5.0@alpha",

0 commit comments

Comments
 (0)