Skip to content

Commit f4805c0

Browse files
committed
Merge branch '3.4' into 4.4
* 3.4: [CI] Silence errors when remove file/dir on test tearDown()
2 parents 6113602 + 9ae9181 commit f4805c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/Command/LintCommandTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,11 +129,11 @@ protected function tearDown(): void
129129
{
130130
foreach ($this->files as $file) {
131131
if (file_exists($file)) {
132-
unlink($file);
132+
@unlink($file);
133133
}
134134
}
135135

136-
rmdir(sys_get_temp_dir().'/framework-yml-lint-test');
136+
@rmdir(sys_get_temp_dir().'/framework-yml-lint-test');
137137
}
138138
}
139139

0 commit comments

Comments
 (0)