You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bug symfony#50437 [Filesystem] Follow symlinks when dumping files (ausi)
This PR was squashed before being merged into the 5.4 branch.
Discussion
----------
[Filesystem] Follow symlinks when dumping files
| Q | A
| ------------- | ---
| Branch? | 5.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Tickets | -
| License | MIT
| Doc PR | -
Currently, if `Filesystem::dumpFile()` is called on a symlink, the link gets replaced with a new file.
This is unexpected I think because both `Filesystem::appendToFile()` as well as `file_put_contents()` follow the symlink instead.
This PR changes `dumpFile()` to behave the same way.
Commits
-------
4aa8b46 [Filesystem] Follow symlinks when dumping files
0 commit comments