mirror of https://github.com/rectorphp/rector.git
Add vendor-bin to $possibleAutoloadPaths
This commit is contained in:
parent
d0968b2400
commit
7e0f300265
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue