fix(LocalInstaller): prepare for future work
This commit is contained in:
parent
77e3f3d23f
commit
4826be297c
15
src/LocalInstaller.php
Normal file
15
src/LocalInstaller.php
Normal file
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* SPDX-License-Identifier: EUPL-1.2
|
||||
* Authors: see /README.md
|
||||
*/
|
||||
|
||||
namespace Seacms\ComposerInstaller;
|
||||
|
||||
use Composer\Installer\LibraryInstaller;
|
||||
|
||||
class LocalInstaller extends LibraryInstaller
|
||||
{
|
||||
|
||||
}
|
@ -12,6 +12,7 @@ use Composer\Config;
|
||||
use Composer\Json\JsonFile;
|
||||
use Composer\IO\IOInterface;
|
||||
use Seacms\ComposerInstaller\Handler;
|
||||
use Seacms\ComposerInstaller\LocalInstaller;
|
||||
use Seacms\ComposerInstaller\NotFoundFileException;
|
||||
use TopFloor\ComposerCleanupVcsDirs\Plugin as ParentPlugin;
|
||||
|
||||
@ -43,7 +44,8 @@ class Plugin extends ParentPlugin
|
||||
$this->io = $io;
|
||||
$this->handler = new Handler($composer, $io);
|
||||
try {
|
||||
$this->updateConfig($this->getConfigJsonFile());
|
||||
// list('config' => $config,'path' => $path) = $this->getConfigJsonFile();
|
||||
// $composer->getInstallationManager()->addInstaller(new LocalInstaller($io,$composer));
|
||||
} catch (NotFoundFileException $ex){
|
||||
// do nothing
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user