Skip to content

Commit

Permalink
Ignore warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
mnapoli committed Jan 31, 2024
1 parent ca4ac8a commit 23f8174
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Event/Http/Psr7Bridge.php
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,8 @@ public static function cleanupUploadedFiles(): void
if ($tmpFiles !== false) {
foreach ($tmpFiles as $file) {
if (is_file($file)) {
unlink($file);
// Silence warnings, we don't want to crash the whole runtime
@unlink($file);
}
}
}
Expand Down

0 comments on commit 23f8174

Please sign in to comment.