mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-20 11:51:32 +02:00
Use fully-qualified name for native functions (#1887)
This commit is contained in:
@@ -64,7 +64,7 @@ class RotatingFileHandlerTest extends TestCase
|
||||
throw new InvalidArgumentException("$directory must be a directory");
|
||||
}
|
||||
|
||||
if (substr($directory, strlen($directory) - 1, 1) !== '/') {
|
||||
if (substr($directory, \strlen($directory) - 1, 1) !== '/') {
|
||||
$directory .= '/';
|
||||
}
|
||||
|
||||
@@ -169,7 +169,7 @@ class RotatingFileHandlerTest extends TestCase
|
||||
|
||||
private function createDeep($file)
|
||||
{
|
||||
mkdir(dirname($file), 0777, true);
|
||||
mkdir(\dirname($file), 0777, true);
|
||||
touch($file);
|
||||
|
||||
return $file;
|
||||
|
Reference in New Issue
Block a user