From be6a9653c1efe163ac8d4c0ea7b576afaf685055 Mon Sep 17 00:00:00 2001 From: Gerhard Seidel Date: Mon, 19 Apr 2021 23:01:50 +0800 Subject: [PATCH] Add platform check file to phar --- src/Phar/Compiler.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Phar/Compiler.php b/src/Phar/Compiler.php index 6ffb0a0..a7ebbc7 100644 --- a/src/Phar/Compiler.php +++ b/src/Phar/Compiler.php @@ -111,6 +111,7 @@ public function compile($pharFile = 'docs.phar') $this->addFile($phar, new \SplFileInfo(__DIR__.'/../../vendor/composer/autoload_files.php')); $this->addFile($phar, new \SplFileInfo(__DIR__.'/../../vendor/composer/autoload_real.php')); $this->addFile($phar, new \SplFileInfo(__DIR__.'/../../vendor/composer/autoload_static.php')); + $this->addFile($phar, new \SplFileInfo(__DIR__.'/../../vendor/composer/platform_check.php')); if (file_exists(__DIR__.'/../../vendor/composer/include_paths.php')) { $this->addFile($phar, new \SplFileInfo(__DIR__.'/../../vendor/composer/include_paths.php')); }