Skip to content

Commit

Permalink
Fixed path to composer autoload.php for released versions
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximilianKresse committed Aug 23, 2017
1 parent cbfd339 commit d7f1ab6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/php-stub-generator
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d7f1ab6

Please sign in to comment.