Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

Symfony version(s) affected

8.0.7

Description

On each change in the codebase, the reference.php updates it self and it is very anoying to add it on each commit, how to fix that?

image

How to reproduce

Make a random changes on the codebase

Possible Solution

No response

Additional Context

This is the change each time:

// Default: null

You must be logged in to vote

Replies: 5 comments · 3 replies

Comment options

I would recommend to add it in your gitignore file, iirc its made only for IDE autocomplete

You must be logged in to vote
0 replies
Comment options

Good to note that the symfony team themselves say it's better to commit it (cf New in Symfony 7.4: Better PHP Configuration).

But i agree with @94noni, in the end it's better to .gitignore it, it is generated automatically anyway.

You must be logged in to vote
0 replies
Comment options

Please provide a reproducer for your bug.

You must be logged in to vote
0 replies
Comment options

@derrabus sorry but as I don't know the source of the problem I can not create anye example, it is very random and the project does not have any external dependencies, I just have some Entities, Repositories etc.

You must be logged in to vote
2 replies
@derrabus
Comment options

Without being able to reproduce the problem, nobody will be able to help you or work on a fix. I'm moving the issue to support for now because as a bug report it's not actionable. If you can manage to provide a reproducer, please open a new issue.

@dpinheiro
Comment options

Having the same issue here, can try to help providing a reproducer

Comment options

The latest patch releases are 8.0.7. Does updating help?

You must be logged in to vote
1 reply
@sovetski
Comment options

No I just updated to 8.0.7 but the problem still there

image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
🙏
Q&A
Labels
None yet
6 participants
Converted from issue

This discussion was converted from issue #63626 on March 12, 2026 12:35.

Morty Proxy This is a proxified and sanitized view of the page, visit original site.