Skip to content

[DependencyInjection] Fix wrong exception when service is synthetic #33625

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 27, 2019
Merged

Conversation

k0d3r1s
Copy link
Contributor

@k0d3r1s k0d3r1s commented Sep 18, 2019

Q A
Branch? 3.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets #32874
License MIT

This fixes wrongfully thrown exception when service is defined as synthetic and some arguments are binded in _defaults

Copy link
Member

@nicolas-grekas nicolas-grekas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM thank, just a note on the test case.

@nicolas-grekas nicolas-grekas changed the title [DependencyInjection] Fix wrong exception when service is synthetic #32874 [DependencyInjection] Fix wrong exception when service is synthetic Sep 21, 2019
@nicolas-grekas
Copy link
Member

Thank you @k0d3r1s.

nicolas-grekas added a commit that referenced this pull request Sep 27, 2019
…synthetic (k0d3r1s)

This PR was squashed before being merged into the 3.4 branch (closes #33625).

Discussion
----------

[DependencyInjection] Fix wrong exception when service is synthetic

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | #32874
| License       | MIT

This fixes wrongfully thrown exception when service is defined as synthetic and some arguments are binded in _defaults

Commits
-------

152dec9 [DependencyInjection] Fix wrong exception when service is synthetic
@nicolas-grekas nicolas-grekas merged commit 152dec9 into symfony:3.4 Sep 27, 2019
This was referenced Oct 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants