mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-26 03:22:37 +02:00
[ticket/11103] Remove error suppression in test case helpers
PHPBB3-11103
This commit is contained in:
@@ -185,11 +185,11 @@ class phpbb_test_case_helpers
|
|||||||
{
|
{
|
||||||
if (is_dir($file))
|
if (is_dir($file))
|
||||||
{
|
{
|
||||||
@rmdir($file);
|
rmdir($file);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@unlink($file);
|
unlink($file);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -215,11 +215,11 @@ class phpbb_test_case_helpers
|
|||||||
{
|
{
|
||||||
$this->empty_dir($path . $file);
|
$this->empty_dir($path . $file);
|
||||||
|
|
||||||
@rmdir($path . $file);
|
rmdir($path . $file);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@unlink($path . $file);
|
unlink($path . $file);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user