1
0
Fork 0

Minor tweaks, refs #5162

pull/5202/merge
Jordi Boggiano 2016-04-11 14:47:03 +01:00
parent da9b43dcc8
commit b9ce06f46b
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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)