mirror of
https://github.com/rectorphp/rector.git
synced 2024-07-31 22:00:23 +00:00
reliable path
This commit is contained in:
parent
731eb8bf86
commit
ebe192cacc
@ -39,7 +39,7 @@ php;
|
||||
continue;
|
||||
}
|
||||
|
||||
$filePath = ltrim($fileInfo->getPathname(), '.');
|
||||
$filePath = '/vendor/' . Strings::after($realPath, 'vendor/');
|
||||
$preloadFileContent .= "require_once __DIR__ . '" . $filePath . "';" . PHP_EOL;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user