webp-convert icon indicating copy to clipboard operation
webp-convert copied to clipboard

Suppressed PHP warnings for rename and unlink operations

Open kowsar89 opened this issue 1 year ago • 0 comments

In our project, we occasionally encounter warnings when the unlink/rename operations fail. This issue arises infrequently when another PHP process unlinks the file between the execution of file_exists() and unlink(). As a result, the unlink() operation fails, generating a warning. This PR addresses the issue by suppressing all warnings associated with both unlink() and rename() functions.

kowsar89 avatar Apr 05 '23 06:04 kowsar89