-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Composer 2.3.2 crash on vendor-expose or any recipe-plugin commands (e.g. update-recipe) #18
Comments
So it appears composer tightened the method signature for getComposer to add types From the composer release notes here: https://github.com/composer/composer/releases/tag/2.3.0
|
Thanks for raising this @tim-mediasuite. This was specifically caused by the addition of typehints to the
It would be interesting to know the intention of this, and whether that abstract method declaration is still required - we can have discussions and investigation into that pending composer's response to composer/composer#10679. |
IMO the fix would be #19 - these methods are not needed as far as I can tell as they are always present on Composer\Command\BaseCommand which the trait-using classes are extending from. |
Please try it in a real project though, I did not. |
Composer 2.3.2 was released yesterday. Ever since composer vendor-expose fails:
Downgrading to Composer 2.2.10 works. This is with vendor-plugin 1.5.2
This is on a scratch SS site with a small composer.json:
The text was updated successfully, but these errors were encountered: