Add vendor-bin to $possibleAutoloadPaths

This commit is contained in:
Gabriel Caruso 2018-01-14 11:16:40 -02:00
parent d0968b2400
commit 7e0f300265
1 changed files with 2 additions and 2 deletions

View File

@ -1,12 +1,12 @@
<?php declare(strict_types=1);
$possibleAutoloadPaths = [
// load from nearest vendor
getcwd() . '/vendor/autoload.php',
// repository
__DIR__ . '/../vendor/autoload.php',
// composer require
__DIR__ . '/../../../../vendor/autoload.php',
// load from nearest vendor
getcwd() . '/vendor/autoload.php',
];
foreach ($possibleAutoloadPaths as $possibleAutoloadPath) {