Skip to content

config/reference.php changes with cache:clear #62630

@bobvandevijver

Description

@bobvandevijver

Symfony version(s) affected

7.4.0

Description

The generated file config/reference.php changes based on the environment your cache:clear runs with. While the earlier ordering issue has been fixed with #62436, the contents of the reference still change. One of the examples:

Image

How to reproduce

symfony new reference_repro --version="7.4.x" --webapp
cd reference_repro
composer req symfony/framework-bundle:7.4.x-dev
git commit -a -m 'framework 7.4.x-dev'
bin/console cache:clear -e prod
git diff

Possible Solution

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions