Skip to content

Commit a6d9e2d

Browse files
Merge branch '10.5' into 11.1
2 parents ba2a943 + ee21897 commit a6d9e2d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Logging/EventLogger.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ public function trace(Event $event): void
4242

4343
$flags = FILE_APPEND;
4444

45-
if (PHP_OS_FAMILY !== 'Windows' || $this->path !== 'php://stdout') {
45+
if (!(PHP_OS_FAMILY === 'Windows' || PHP_OS_FAMILY === 'Darwin') ||
46+
$this->path !== 'php://stdout') {
4647
$flags |= LOCK_EX;
4748
}
4849

0 commit comments

Comments
 (0)