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

As spotted in #62599 (comment), build-time array parameters are removed but still referenced since #23143.

This fixes it by telling RemoveBuildParametersPass to not remove them, and also by telling PhpDumper to throw when a build-time parameter is accessed. Internally, the code bypasses the method by using $this->parameters directly.

@carsonbot carsonbot added this to the 6.4 milestone Dec 23, 2025
@nicolas-grekas nicolas-grekas merged commit b1b5e01 into symfony:6.4 Dec 23, 2025
3 of 12 checks passed
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.

2 participants