Skip to content

Commit d7f1ab6

Browse files
Fixed path to composer autoload.php for released versions
1 parent cbfd339 commit d7f1ab6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/php-stub-generator

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ if (!ini_get('date.timezone')) {
2323
ini_set('date.timezone', 'UTC');
2424
}
2525

26-
foreach ([__DIR__ . '/../../autoload.php', __DIR__ . '/../vendor/autoload.php', __DIR__ . '/vendor/autoload.php'] as $file) {
26+
foreach ([__DIR__ . '/../../../autoload.php', __DIR__ . '/../vendor/autoload.php'] as $file) {
2727
if (file_exists($file)) {
2828
define('PHP_STUB_GENERATOR_COMPOSER_INSTALL', $file);
2929
break;

0 commit comments

Comments
 (0)