Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

GeneratedConfigTest cannot regenerate snapshot files #61139

Open
@KevinVanSonsbeek

Description

@KevinVanSonsbeek

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

  1. Checkout the symfony repository.
  2. Open the GeneratedConfigTest.
  3. Uncomment lines to regenerate a snapshot file (should be lines 87 up to, including line 89)
  4. Run the test

A bunch of the snapshot configs are now gone.

  1. Re-comment the above mentioned lines
  2. 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

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


      [8]ページ先頭

      ©2009-2025 Movatter.jp