Minor tweaks, refs #5162
parent
da9b43dcc8
commit
b9ce06f46b
|
@ -18,7 +18,7 @@ use Composer\Installer\InstallationManager;
|
||||||
use Composer\IO\IOInterface;
|
use Composer\IO\IOInterface;
|
||||||
use Composer\Package\AliasPackage;
|
use Composer\Package\AliasPackage;
|
||||||
use Composer\Package\PackageInterface;
|
use Composer\Package\PackageInterface;
|
||||||
use Composer\Repository\WritableRepositoryInterface;
|
use Composer\Repository\InstalledRepositoryInterface;
|
||||||
use Composer\Util\Filesystem;
|
use Composer\Util\Filesystem;
|
||||||
use Composer\Script\ScriptEvents;
|
use Composer\Script\ScriptEvents;
|
||||||
|
|
||||||
|
@ -85,7 +85,7 @@ class AutoloadGenerator
|
||||||
$this->runScripts = (boolean) $runScripts;
|
$this->runScripts = (boolean) $runScripts;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function dump(Config $config, WritableRepositoryInterface $localRepo, PackageInterface $mainPackage, InstallationManager $installationManager, $targetDir, $scanPsr0Packages = false, $suffix = '')
|
public function dump(Config $config, InstalledRepositoryInterface $localRepo, PackageInterface $mainPackage, InstallationManager $installationManager, $targetDir, $scanPsr0Packages = false, $suffix = '')
|
||||||
{
|
{
|
||||||
if ($this->classMapAuthoritative) {
|
if ($this->classMapAuthoritative) {
|
||||||
// Force scanPsr0Packages when classmap is authoritative
|
// Force scanPsr0Packages when classmap is authoritative
|
||||||
|
|
|
@ -305,7 +305,7 @@ TAGSPUBKEY
|
||||||
* @param string $localFilename
|
* @param string $localFilename
|
||||||
* @param string $newFilename
|
* @param string $newFilename
|
||||||
* @param string $backupTarget
|
* @param string $backupTarget
|
||||||
* @return \Exception|null
|
* @return \UnexpectedValueException|\PharException|null
|
||||||
* @throws \Exception
|
* @throws \Exception
|
||||||
*/
|
*/
|
||||||
protected function setLocalPhar($localFilename, $newFilename, $backupTarget = null)
|
protected function setLocalPhar($localFilename, $newFilename, $backupTarget = null)
|
||||||
|
|
Loading…
Reference in New Issue