From 4b459d083c6e73fcd1dfc5545aacde1af32c57e0 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Sun, 12 Dec 2021 20:12:53 +0100 Subject: [PATCH] Flush phar contents --- tools/phar.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/phar.php b/tools/phar.php index 9a0bcbea8..8813cc481 100644 --- a/tools/phar.php +++ b/tools/phar.php @@ -238,6 +238,7 @@ class Installer self::$lock = \fopen($madeline_phar, 'w'); \flock(self::$lock, LOCK_EX); \fwrite(self::$lock, $phar); + \fflush(self::$lock); unset($phar); self::reportComposer($local_release, $remote_release);