Public bug reported:

php-klogger FTBFS with the following error:

phpunit --bootstrap src/Logger.php
PHP Fatal error:  Declaration of Katzgrau\KLogger\Logger::log($level, $message, 
array $context = []) must be compatible with 
Psr\Log\AbstractLogger::log($level, Stringable|string $message, array $context 
= []): void in /<<PKGBUILDDIR>>/src/Logger.php on line 211
make[1]: *** [debian/rules:14: override_dh_auto_test] Error 255
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:5: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

This happens due to lack of compliance with psr/log 3, which is now in
-proposed.

Note that a fix here should also include changes to composer.json to
ensure the final binary package depends on the correct version of php-
psr-log.

** Affects: php-klogger (Ubuntu)
     Importance: Undecided
     Assignee: Athos Ribeiro (athos-ribeiro)
         Status: New


** Tags: ftbfs update-excuse

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1967796

Title:
  FTBFS - must be compatible with Psr\Log\AbstractLogger

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php-klogger/+bug/1967796/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to