From 6116213a9964e5290cd78ea87bcdd89d4bee9584 Mon Sep 17 00:00:00 2001 From: Joel Wurtz Date: Tue, 23 Apr 2024 12:05:38 +0200 Subject: [PATCH] fix(composer): remove self update command from composer when added --- src/Import/Remote/Composer.php | 1 - src/Import/Remote/ComposerApplication.php | 27 +++++++++++++++++++++++ 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 src/Import/Remote/ComposerApplication.php diff --git a/src/Import/Remote/Composer.php b/src/Import/Remote/Composer.php index feefd77c..9bf48845 100644 --- a/src/Import/Remote/Composer.php +++ b/src/Import/Remote/Composer.php @@ -9,7 +9,6 @@ use Castor\Import\Exception\RemoteNotAllowed; use Castor\Import\Mount; use Castor\Kernel; -use Composer\Console\Application as ComposerApplication; use Psr\Log\LoggerInterface; use Psr\Log\NullLogger; use Symfony\Component\Console\Helper\ProgressIndicator; diff --git a/src/Import/Remote/ComposerApplication.php b/src/Import/Remote/ComposerApplication.php new file mode 100644 index 00000000..79e55bc3 --- /dev/null +++ b/src/Import/Remote/ComposerApplication.php @@ -0,0 +1,27 @@ +