Skip to content

Commit c4e8221

Browse files
committed
[CI] Silence errors when remove file/dir on test tearDown()
1 parent b251b0a commit c4e8221

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Command/LintCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ protected function tearDown()
120120
{
121121
foreach ($this->files as $file) {
122122
if (file_exists($file)) {
123-
unlink($file);
123+
@unlink($file);
124124
}
125125
}
126126
}

0 commit comments

Comments
 (0)