diff --git a/daux.phar b/daux.phar index 952b8cf..a97398d 100755 Binary files a/daux.phar and b/daux.phar differ diff --git a/libs/Compiler.php b/libs/Compiler.php index c44bf59..443fde0 100644 --- a/libs/Compiler.php +++ b/libs/Compiler.php @@ -54,12 +54,12 @@ class Compiler ->ignoreVCS(true) ->exclude('Tests') ->in(__DIR__ . '/../vendor/guzzlehttp/guzzle/src/') - ->in(__DIR__ . '/../vendor/guzzlehttp/ringphp/src/') - ->in(__DIR__ . '/../vendor/guzzlehttp/streams/src/') + ->in(__DIR__ . '/../vendor/guzzlehttp/promises/src/') + ->in(__DIR__ . '/../vendor/guzzlehttp/psr7/src/') ->in(__DIR__ . '/../vendor/league/commonmark/src/') ->in(__DIR__ . '/../vendor/league/plates/src/') ->in(__DIR__ . '/../vendor/myclabs/deep-copy') - ->in(__DIR__ . '/../vendor/react/promise/src/') + ->in(__DIR__ . '/../vendor/psr/http-message/src/') ->in(__DIR__ . '/../vendor/symfony/console') ->in(__DIR__ . '/../vendor/symfony/polyfill-mbstring') ->in(__DIR__ . '/../vendor/webuni/commonmark-table-extension/src/'); @@ -105,7 +105,11 @@ class Compiler $this->addFile($phar, new \SplFileInfo(__DIR__ . '/../vendor/composer/autoload_files.php')); $this->addFile($phar, new \SplFileInfo(__DIR__ . '/../vendor/composer/autoload_namespaces.php')); $this->addFile($phar, new \SplFileInfo(__DIR__ . '/../vendor/composer/autoload_real.php')); - $this->addFile($phar, new \SplFileInfo(__DIR__ . '/../vendor/composer/autoload_static.php')); + $staticAutoload = new \SplFileInfo(__DIR__ . '/../vendor/composer/autoload_static.php'); + if ($staticAutoload->isFile()) { + $this->addFile($phar, $staticAutoload); + } + $this->addFile($phar, new \SplFileInfo(__DIR__ . '/../vendor/composer/ClassLoader.php')); $content = file_get_contents(__DIR__ . '/../vendor/composer/autoload_psr4.php');