Update AutoloadGenerator.php
This should fix an issue with this commit:
87a42c2f01
This commit is causing a parse error in autoload_namespaces.php:
return array(
'zsql' => 'phar://' . '$vendorDir . '/jbboehr/zsql/build/zsql.phar',
A similar problem happens when using autoload.files as well.
pull/1856/head
parent
a7e88f7a80
commit
caad88c047
|
@ -320,7 +320,7 @@ EOF;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (preg_match('/\.phar$/', $path)){
|
if (preg_match('/\.phar$/', $path)){
|
||||||
$baseDir = "'phar://' . '" . $baseDir;
|
$baseDir = "'phar://' . " . $baseDir;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $baseDir.var_export($path, true);
|
return $baseDir.var_export($path, true);
|
||||||
|
|
Loading…
Reference in New Issue