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')); }