From d7f1ab6f973d5c4ce07b57b0000984cd02c4ed1c Mon Sep 17 00:00:00 2001 From: Bob4ever Date: Wed, 23 Aug 2017 16:05:06 +0200 Subject: [PATCH] Fixed path to composer autoload.php for released versions --- bin/php-stub-generator | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/php-stub-generator b/bin/php-stub-generator index 75132c8..04e3bca 100644 --- a/bin/php-stub-generator +++ b/bin/php-stub-generator @@ -23,7 +23,7 @@ if (!ini_get('date.timezone')) { ini_set('date.timezone', 'UTC'); } -foreach ([__DIR__ . '/../../autoload.php', __DIR__ . '/../vendor/autoload.php', __DIR__ . '/vendor/autoload.php'] as $file) { +foreach ([__DIR__ . '/../../../autoload.php', __DIR__ . '/../vendor/autoload.php'] as $file) { if (file_exists($file)) { define('PHP_STUB_GENERATOR_COMPOSER_INSTALL', $file); break;