Skip to content
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

[DI] Skip unknown method calls for factories in check types pass #34562

Conversation

fancyweb
Copy link
Contributor

Q A
Branch? 4.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets #34559
License MIT
Doc PR -

Ref #30885 and #30889.

@ro0NL
Copy link
Contributor

ro0NL commented Nov 24, 2019

For us this now gives the following error:

Invalid definition for service ".errored..service_locator.a6hFUa8.App\Entity\Some": 
"App\Entity\Some::__construct()" requires 3 arguments, 0 passed.

which is excluded from PSR loading in services.yaml

@nicolas-grekas nicolas-grekas added this to the 4.4 milestone Nov 24, 2019
@nicolas-grekas nicolas-grekas force-pushed the di-fix-check-types-declaration-factory-case branch from 60a8bf1 to 592bff8 Compare November 28, 2019 12:12
@nicolas-grekas
Copy link
Member

Thank you @fancyweb.

nicolas-grekas added a commit that referenced this pull request Nov 28, 2019
…s pass (fancyweb)

This PR was merged into the 4.4 branch.

Discussion
----------

[DI] Skip unknown method calls for factories in check types pass

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | #34559
| License       | MIT
| Doc PR        | -

Ref #30885 and #30889.

Commits
-------

592bff8 [DI] Skip unknown method calls for factories in check types pass
@nicolas-grekas nicolas-grekas merged commit 592bff8 into symfony:4.4 Nov 28, 2019
This was referenced Dec 1, 2019
@fancyweb fancyweb deleted the di-fix-check-types-declaration-factory-case branch December 6, 2019 15:09
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.

None yet

4 participants