CS fixes
parent
ef1f8a605f
commit
ef637c8f1a
|
@ -312,6 +312,7 @@ EOF;
|
||||||
// path starts with vendor dir
|
// path starts with vendor dir
|
||||||
return $vendorPath . substr($path, strlen($relVendorPath));
|
return $vendorPath . substr($path, strlen($relVendorPath));
|
||||||
}
|
}
|
||||||
|
|
||||||
return strtr(getcwd(), '\\', '/').'/'.$path;
|
return strtr(getcwd(), '\\', '/').'/'.$path;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -407,6 +408,7 @@ REGISTER_AUTOLOAD;
|
||||||
$file .= <<<METHOD_FOOTER
|
$file .= <<<METHOD_FOOTER
|
||||||
\$loader->register();
|
\$loader->register();
|
||||||
$filesCode
|
$filesCode
|
||||||
|
|
||||||
return \$loader;
|
return \$loader;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,6 @@
|
||||||
namespace Composer\Command;
|
namespace Composer\Command;
|
||||||
|
|
||||||
use Symfony\Component\Console\Input\InputInterface;
|
use Symfony\Component\Console\Input\InputInterface;
|
||||||
use Symfony\Component\Console\Input\InputArgument;
|
|
||||||
use Symfony\Component\Console\Input\InputOption;
|
use Symfony\Component\Console\Input\InputOption;
|
||||||
use Symfony\Component\Console\Output\OutputInterface;
|
use Symfony\Component\Console\Output\OutputInterface;
|
||||||
use Composer\Downloader\VcsDownloader;
|
use Composer\Downloader\VcsDownloader;
|
||||||
|
|
|
@ -56,7 +56,7 @@ class InstallationManager
|
||||||
public function disableCustomInstallers()
|
public function disableCustomInstallers()
|
||||||
{
|
{
|
||||||
foreach ($this->installers as $i => $installer) {
|
foreach ($this->installers as $i => $installer) {
|
||||||
if ( ! $installer instanceof InstallerInstaller) {
|
if (!$installer instanceof InstallerInstaller) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue