Skip to content

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