Add ValueResolverInterface check for EntityValueResolver - #2254
Merged
Conversation
ostrolucky
approved these changes
Jul 11, 2026
derrabus
added a commit
to derrabus/DoctrineBundle
that referenced
this pull request
Jul 22, 2026
* 3.3.x: (48 commits) Fix dark theme time bar colors in the profiler Add ValueResolverInterface check for EntityValueResolver (doctrine#2254) Display whether a query ran on a primary or replica in the profiler Add missing dependency Wire the Console EntityValueResolver as a service Fix doctrine:database:create failing without server_version for some connections Fix doctrine:database:create failing without server_version for some connections Add functional regression test for EntityValueResolver on primary-key routes (doctrine#2230) Bump actions/checkout from 6 to 7 Bump the doctrine group with 6 updates Add missing dependency Apply latest coding standards Downgrade event-dispatcher Avoid reporting error from unrelated call Bump codecov/codecov-action from 6 to 7 Add SECURITY.md to link to reporting policy and email. Fix coding standard: use aliased class name in RequiresMethod attribute Remove empty registerCommands override remove form related services if the Form component is not installed Remove mention of lazy entity listeners ...
derrabus
added a commit
to derrabus/DoctrineBundle
that referenced
this pull request
Jul 22, 2026
* 3.3.x: (49 commits) Revert EventDispatcher downgrade (doctrine#2256) Fix dark theme time bar colors in the profiler Add ValueResolverInterface check for EntityValueResolver (doctrine#2254) Display whether a query ran on a primary or replica in the profiler Add missing dependency Wire the Console EntityValueResolver as a service Fix doctrine:database:create failing without server_version for some connections Fix doctrine:database:create failing without server_version for some connections Add functional regression test for EntityValueResolver on primary-key routes (doctrine#2230) Bump actions/checkout from 6 to 7 Bump the doctrine group with 6 updates Add missing dependency Apply latest coding standards Downgrade event-dispatcher Avoid reporting error from unrelated call Bump codecov/codecov-action from 6 to 7 Add SECURITY.md to link to reporting policy and email. Fix coding standard: use aliased class name in RequiresMethod attribute Remove empty registerCommands override remove form related services if the Form component is not installed ...
derrabus
added a commit
to derrabus/DoctrineBundle
that referenced
this pull request
Jul 22, 2026
* 3.3.x: (49 commits) Revert EventDispatcher downgrade (doctrine#2256) Fix dark theme time bar colors in the profiler Add ValueResolverInterface check for EntityValueResolver (doctrine#2254) Display whether a query ran on a primary or replica in the profiler Add missing dependency Wire the Console EntityValueResolver as a service Fix doctrine:database:create failing without server_version for some connections Fix doctrine:database:create failing without server_version for some connections Add functional regression test for EntityValueResolver on primary-key routes (doctrine#2230) Bump actions/checkout from 6 to 7 Bump the doctrine group with 6 updates Add missing dependency Apply latest coding standards Downgrade event-dispatcher Avoid reporting error from unrelated call Bump codecov/codecov-action from 6 to 7 Add SECURITY.md to link to reporting policy and email. Fix coding standard: use aliased class name in RequiresMethod attribute Remove empty registerCommands override remove form related services if the Form component is not installed ...
derrabus
added a commit
to derrabus/DoctrineBundle
that referenced
this pull request
Jul 22, 2026
* 3.3.x: (49 commits) Revert EventDispatcher downgrade (doctrine#2256) Fix dark theme time bar colors in the profiler Add ValueResolverInterface check for EntityValueResolver (doctrine#2254) Display whether a query ran on a primary or replica in the profiler Add missing dependency Wire the Console EntityValueResolver as a service Fix doctrine:database:create failing without server_version for some connections Fix doctrine:database:create failing without server_version for some connections Add functional regression test for EntityValueResolver on primary-key routes (doctrine#2230) Bump actions/checkout from 6 to 7 Bump the doctrine group with 6 updates Add missing dependency Apply latest coding standards Downgrade event-dispatcher Avoid reporting error from unrelated call Bump codecov/codecov-action from 6 to 7 Add SECURITY.md to link to reporting policy and email. Fix coding standard: use aliased class name in RequiresMethod attribute Remove empty registerCommands override remove form related services if the Form component is not installed ...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
If somebody has just a requirement to doctrine-bundle but its application is still on Symfony 7.4 or 8.0 it can still happening that it install 8.1 bridge and ends in an error like:
To avoid this it need check for both the class and its interface, which comes from different packages which may not be installed in the version expected.
Related to: #2193