composer 2.2.6-2ubuntu4 on jammy unusable - PHP Fatal error

Bug #1966332 reported by Lê Chương
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
composer (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

composer on 2.2.6-2ubuntu4 on jammy unusable, run any command will result in

PHP Fatal error: Declaration of Composer\IO\BaseIO::emergency(Stringable|string $message, array $context = []): void must be compatible with Psr\Log\LoggerInterface::emergency($message, array $context = []) in /usr/share/php/Composer/IO/BaseIO.php on line 163

Fatal error: Declaration of Composer\IO\BaseIO::emergency(Stringable|string $message, array $context = []): void must be compatible with Psr\Log\LoggerInterface::emergency($message, array $context = []) in /usr/share/php/Composer/IO/BaseIO.php on line 163

Could we use a different version ? 2.2.9 seem good here, https://github.com/composer/composer/releases

Tags: jammy
Changed in composer (Ubuntu):
status: New → Confirmed
tags: added: jammy
Revision history for this message
Lê Chương (ko-co-ten-1992) wrote :

Composer issue have been resolve, now I can run composer normally.

Changed in composer (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.