Skip to content

Commit

Permalink
Merge branch '11.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed May 6, 2024
2 parents 486935e + a6d9e2d commit 5a836f5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Logging/EventLogger.php
Expand Up @@ -42,7 +42,8 @@ public function trace(Event $event): void

$flags = FILE_APPEND;

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

Expand Down

0 comments on commit 5a836f5

Please sign in to comment.