Skip to content

Conversation

@nicolas-grekas
Copy link
Member

Q A
Branch? 6.4
Bug fix? yes
New feature? no
Deprecations? no
Issues -
License MIT

Fixes this PHP warning when preloading a container that uses a lazy-closure:

Can't preload unlinked class Symfony\Component\DependencyInjection\Argument\LazyClosure@anonymous: Unknown parent Symfony\Component\DependencyInjection\Argument\LazyClosure

@OskarStark OskarStark changed the title [DependencyInjection] Fix preloading LazyClosure [DependencyInjection] Fix preloading LazyClosure Nov 19, 2025
@fabpot
Copy link
Member

fabpot commented Nov 20, 2025

Thank you @nicolas-grekas.

@fabpot fabpot merged commit 1c7f39e into symfony:6.4 Nov 20, 2025
10 of 11 checks passed
This was referenced Nov 21, 2025
@nicolas-grekas nicolas-grekas deleted the di-lc branch December 7, 2025 10:48
This was referenced Dec 7, 2025
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.

5 participants