You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A new bug appeared with the recent update of psr/log v3. The ProcessRunnerInterface from psr/log version 3 provides a setLogger function that returns a void. PHP 8.0.12 now enforce that you declare the right return type when implementing interfaces.
As it currently return a ProcessRunner, I end up with this error when using it : Declaration of Alchemy\BinaryDriver\ProcessRunner::setLogger(Psr\Log\LoggerInterface $logger) must be compatible with Psr\Log\LoggerAwareInterface::setLogger(Psr\Log\LoggerInterface $logger): void
Either return a void to comply to the interface, either get back to psr/log version 1 that doesn't provide any return type
The text was updated successfully, but these errors were encountered:
I have similar issue, I would like to use this package with psr/log: ^3.0 . Would that be possible to upgrade?
Version 5.2.0 requires psr/log: ^1.0.
Thank You!
BinaryDriver/src/Alchemy/BinaryDriver/ProcessRunner.php
Line 43 in e0615cd
A new bug appeared with the recent update of psr/log v3. The ProcessRunnerInterface from psr/log version 3 provides a setLogger function that returns a
void
. PHP 8.0.12 now enforce that you declare the right return type when implementing interfaces.As it currently return a ProcessRunner, I end up with this error when using it :
Declaration of Alchemy\BinaryDriver\ProcessRunner::setLogger(Psr\Log\LoggerInterface $logger) must be compatible with Psr\Log\LoggerAwareInterface::setLogger(Psr\Log\LoggerInterface $logger): void
Either return a void to comply to the interface, either get back to psr/log version 1 that doesn't provide any return type
The text was updated successfully, but these errors were encountered: