update pathname for phars

This commit is contained in:
TomasVotruba 2020-07-21 23:49:56 +02:00
parent c5d341716f
commit 961febdb76

View File

@ -94,7 +94,7 @@ final class RectorConfigsResolver
{
$containerBuilder = new ContainerBuilder();
$phpFileLoader = new PhpFileLoader($containerBuilder, new FileLocator());
$phpFileLoader->load($configFileInfo->getRealPath());
$phpFileLoader->load($configFileInfo->getPathname());
if (! $containerBuilder->hasParameter(Option::SETS)) {
return [];