Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.6k
Description
Symfony version(s) affected
7.2
Description
Through#57614 multiple uses of theuniqid
have been removed.
This seems to however have broken the generating of "snapshot files" from within theGeneratedConfigTest
When uncommenting the lines on a version prior to the PR the files are regenerated without problems. Uncommenting on a version after the PR was merged however only deletes the snapshot files, and does not generate new ones.
How to reproduce
- Checkout the symfony repository.
- Open the GeneratedConfigTest.
- Uncomment lines to regenerate a snapshot file (should be lines 87 up to, including line 89)
- Run the test
A bunch of the snapshot configs are now gone.
- Re-comment the above mentioned lines
- Re-run the test
The test should now fail with the "The system cannot find the file" exception messages.
Possible Solution
Revert the changes from#57614 in the GeneratedConfigTest
It was removed as part of#57588, so just reverting the changes would not be preferable. And another fix should be implemented.
Additional Context
OS: Windows 11
PHP version: 8.3