Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature #17877 [DependencyInjection] Improving autowiring error messa…
…ges (weaverryan) This PR was merged into the 3.1-dev branch. Discussion ---------- [DependencyInjection] Improving autowiring error messages | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | none | License | MIT | Doc PR | not needed This does not change any behavior, but changes error messages to be more descriptive. **Before** > Unable to autowire argument of type "Doctrine\ORM\EntityManager" > for the service "my_cool_service". **After** > Unable to autowire argument of type "Doctrine\ORM\EntityManager" > for the service "my_cool_service". Multiple services exist for this class > (doctrine.orm.default_entity_manager, doctrine_orm.other_entity_manager). Commits ------- 6fe97f9 [DependencyInjection] Improving autowiring error messages to say *why* something cannot be autowired
- Loading branch information
Showing
2 changed files
with
40 additions
and
9 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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