Skip to content

Update doctrine/orm to 3.7 and doctrine/dbal to 4.5 - #1681

Open
abedo wants to merge 3 commits into
symfony:mainfrom
abedo:update-doctrine-orm-3.7
Open

abedo wants to merge 3 commits into
symfony:mainfrom
abedo:update-doctrine-orm-3.7

Conversation

@abedo

@abedo abedo commented Oct 30, 2026 •

Copy link
Copy Markdown

Updates doctrine/orm to 3.7 and adapts the code.

SortDirection comes from symfony/polyfill-php86 on PHP < 8.6, which the ORM already requires.

Tests and PHPStan pass, and there are no Doctrine deprecations left.

wojkazboozt and others added 3 commits October 30, 2026 19:37
doctrine/orm 3.7 requires doctrine/dbal ^4.5 for the schema tooling
(doctrine:schema:validate failed on dbal 4.4). doctrine/collections is
upgraded to 3.1 as a dependency.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
doctrine/orm 3.7 deprecates string directions in #[ORM\OrderBy].

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants