Skip to content

Commit

Permalink
Merge branch '10.5' into 11.1
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed May 6, 2024
2 parents ba2a943 + ee21897 commit a6d9e2d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Logging/EventLogger.php
Original file line number Diff line number Diff line change
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 a6d9e2d

Please sign in to comment.