Minor tweaks, refs #5162
parent
da9b43dcc8
commit
b9ce06f46b
|
@ -18,7 +18,7 @@ use Composer\Installer\InstallationManager;
|
|||
use Composer\IO\IOInterface;
|
||||
use Composer\Package\AliasPackage;
|
||||
use Composer\Package\PackageInterface;
|
||||
use Composer\Repository\WritableRepositoryInterface;
|
||||
use Composer\Repository\InstalledRepositoryInterface;
|
||||
use Composer\Util\Filesystem;
|
||||
use Composer\Script\ScriptEvents;
|
||||
|
||||
|
@ -85,7 +85,7 @@ class AutoloadGenerator
|
|||
$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) {
|
||||
// Force scanPsr0Packages when classmap is authoritative
|
||||
|
|
|
@ -305,7 +305,7 @@ TAGSPUBKEY
|
|||
* @param string $localFilename
|
||||
* @param string $newFilename
|
||||
* @param string $backupTarget
|
||||
* @return \Exception|null
|
||||
* @return \UnexpectedValueException|\PharException|null
|
||||
* @throws \Exception
|
||||
*/
|
||||
protected function setLocalPhar($localFilename, $newFilename, $backupTarget = null)
|
||||
|
|
Loading…
Reference in New Issue