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

[DependencyInjection][CheckTypeDeclarationsPass] Handle unresolved parameters pointing to environment variables #37227

Merged
merged 1 commit into from Jun 12, 2020

Conversation

fancyweb
Copy link
Contributor

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

Follow up to #37193

Unresolved parameters pointing to environment variables can be added to definitions after ResolveParameterPlaceHoldersPass execution. It is the case in the initial reported bug (RegisterListenersPass is executed after ResolveParameterPlaceHoldersPass). In this case, the parameter value is an env placeholder, so we need to try to resolve it.

@fabpot
Copy link
Member

fabpot commented Jun 12, 2020

Looks like this breaks the tests.

@fancyweb fancyweb force-pushed the di-container-lint-late-param-env branch from ae185b8 to dac3c8f Compare June 12, 2020 07:37
@fancyweb
Copy link
Contributor Author

Looks like I just needed to rebase after 2d781dd.

@fabpot
Copy link
Member

fabpot commented Jun 12, 2020

Thank you @fancyweb.

@fabpot fabpot merged commit fd51aeb into symfony:4.4 Jun 12, 2020
@fancyweb fancyweb deleted the di-container-lint-late-param-env branch June 12, 2020 08:02
This was referenced Jun 12, 2020
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

5 participants