Skip to content

Commit

Permalink
[CI] Silence errors when remove file/dir on test tearDown()
Browse files Browse the repository at this point in the history
  • Loading branch information
Nyholm committed Oct 14, 2020
1 parent 482fcb6 commit 9ae9181
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/Command/LintCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,11 @@ protected function tearDown()
{
foreach ($this->files as $file) {
if (file_exists($file)) {
unlink($file);
@unlink($file);
}
}

rmdir(sys_get_temp_dir().'/framework-yml-lint-test');
@rmdir(sys_get_temp_dir().'/framework-yml-lint-test');
}
}

Expand Down

0 comments on commit 9ae9181

Please sign in to comment.