Skip to content

[DependencyInjection] Fix dumping containers with null-referenced services #52597

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
Nov 15, 2023

Conversation

nicolas-grekas
Copy link
Member

Q A
Branch? 7.0
Bug fix? yes
New feature? no
Deprecations? no
Issues Fix #52596
License MIT

@stof
Copy link
Member

stof commented Nov 15, 2023

Why not adding a use statement with the other use statements in the file prolog instead of doing a dynamic constant access ? Wouldn't it be better for optimizations ?

@nicolas-grekas
Copy link
Member Author

Updated :)

@nicolas-grekas nicolas-grekas changed the title [DependencyInjection] Fix dumping containers with null-references services [DependencyInjection] Fix dumping containers with null-referenced services Nov 15, 2023
@nicolas-grekas nicolas-grekas merged commit 8a1a7dc into symfony:7.0 Nov 15, 2023
@nicolas-grekas nicolas-grekas deleted the di-fixup branch November 15, 2023 15:41
@fabpot fabpot mentioned this pull request Nov 15, 2023
nicolas-grekas added a commit that referenced this pull request Nov 29, 2023
…erenced services (nicolas-grekas)

This PR was merged into the 6.3 branch.

Discussion
----------

[DependencyInjection] Fix dumping containers with null-referenced services

| Q             | A
| ------------- | ---
| Branch?       | 6.3
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Issues        | Fix #52596
| License       | MIT

Backporting #52597 to 6.3 /cc `@connorhu`

Commits
-------

45a5994 [DependencyInjection] Fix dumping containers with null-referenced services
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.

3 participants