Revert "Fixed an issue when a phar file is used in "files" option in composer.json"
This reverts commitpull/6455/merge41e91f3064
. The commit41e91f3
in current codebase generates absolute path in autoload_static.php for phar file. Also according to http://php.net/manual/en/phar.using.intro.php, the `phar://` prefix is not needed.
parent
771ea8bffe
commit
1f4882a3e6
|
@ -534,10 +534,6 @@ EOF;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (preg_match('/\.phar$/', $path)) {
|
|
||||||
$baseDir = "'phar://' . " . $baseDir;
|
|
||||||
}
|
|
||||||
|
|
||||||
return $baseDir . (($path !== false) ? var_export($path, true) : "");
|
return $baseDir . (($path !== false) ? var_export($path, true) : "");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue