mirror of
https://github.com/rectorphp/rector.git
synced 2025-03-14 04:19:44 +01:00
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…
x
Reference in New Issue
Block a user