1
0
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:
Christoph Dreis
2024-06-28 10:45:25 +02:00
committed by GitHub
parent 4e03d25f6d
commit 3ba77d1d39
90 changed files with 246 additions and 245 deletions

View File

@@ -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;