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
Error during composer update: In Problem.php line 143: [ArgumentCountError] 4 arguments are required, 3 given #11359
Comments
That line contains:
The docs say that 3 args is ok, so I guess it may be because the format string refers to more than two params, and only two are given. I can't seem to add a
|
Ah well, that's an unlucky case of something used a percent sign in a branch name AND it caused a resolution conflict.. Anyway should be fixed by b8f82b2 but here is the result with the fix in case it helps you:
|
Thanks Jordi, I'll be your edge case! The upstream package concerned is about to release an updated version anyway, so I won't have to use my patched repo any more. |
I'm running composer 2.5.4 on PHP 8.2.3. Composer crashes at the end of
composer update
with this error.My
composer.json
:Output of
composer diagnose
:When I run this command:
I get the following output:
And I expected this to happen:
It not to crash.
The text was updated successfully, but these errors were encountered: