Skip to content

Commit 5a836f5

Browse files
Merge branch '11.1'
2 parents 486935e + a6d9e2d commit 5a836f5

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)