8000
Filesystem remove() function not throwing exception #38650
Labels
Uh oh!
There was an error while loading. Please reload this page.
Symfony version(s) affected: 4.4.15
Description
remove method should throw an exception when fails to remove the file due to permissions problem.
How to reproduce
composer require symfony/filesystem
Possible Solution
https://github.com/UBERPHP/symfony/commit/81cbacb03043224e12149b88cdd4dd759f6a7e4b
However, I'm not really sure about behaviour here, especially
&& file_exists($file)
inremove
method.Additional context
Correct me if I'm wrong about this behaviour. I also have some failures in e.g.
testRemoveSymlink
method by using centos 8 vagrant boxThe text was updated successfully, but these errors were encountered: