Skip to content

Conversation

@Curryed
Copy link
Contributor

@Curryed Curryed commented Nov 16, 2021

Description

This is just an improvement since every command should have a return code.

I've run into a problem while using Drupal Paranoia and Composer 2 with PlatformSh.
Composer 2 has been dowloaded and installed using Composer 1. This led to dependencies not having the correct version usually defined by composer.lock. I ended up with symfony/console:5.3.10, and it's Command::execute() signature does not match the one in DrupalParanoiaCommand::execute().

I have solved the issue with PlatformSh, but I think having a return code is more consistent any other UNIX command, and also a return code 0 is equivalent to what it's done right now.

@jkribeiro jkribeiro merged commit 1d6b6b8 into drupal-composer:1.x Dec 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants