Skip to content

Commit cd634ef

Browse files
Remove overriding native composer commands
That doesn't work since Composer v2.1.6 and this commit anyway: composer/composer@9727adf
1 parent 676f7e2 commit cd634ef

File tree

4 files changed

+0
-171
lines changed

4 files changed

+0
-171
lines changed

src/Command/RemoveCommand.php

Lines changed: 0 additions & 36 deletions
This file was deleted.

src/Command/RequireCommand.php

Lines changed: 0 additions & 90 deletions
This file was deleted.

src/Command/UpdateCommand.php

Lines changed: 0 additions & 41 deletions
This file was deleted.

src/Flex.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,6 @@ class_exists(__NAMESPACE__.str_replace('/', '\\', substr($file, \strlen(__DIR__)
248248
}
249249

250250
if (isset(self::$aliasResolveCommands[$command])) {
251-
// early resolve for BC with Composer 1.0
252251
if ($input->hasArgument('packages')) {
253252
$input->setArgument('packages', $resolver->resolve($input->getArgument('packages'), self::$aliasResolveCommands[$command]));
254253
}
@@ -279,9 +278,6 @@ class_exists(__NAMESPACE__.str_replace('/', '\\', substr($file, \strlen(__DIR__)
279278
$this->populateRepoCacheDir();
280279
}
281280

282-
$app->add(new Command\RequireCommand($resolver, \Closure::fromCallable([$this, 'updateComposerLock'])));
283-
$app->add(new Command\UpdateCommand($resolver));
284-
$app->add(new Command\RemoveCommand($resolver));
285281
$app->add(new Command\UnpackCommand($resolver));
286282
$app->add(new Command\RecipesCommand($this, $this->lock, $rfs));
287283
$app->add(new Command\InstallRecipesCommand($this, $this->options->get('root-dir'), $this->options->get('runtime')['dotenv_path'] ?? '.env'));

0 commit comments

Comments
 (0)