Fatal error after calling setLogger
https://github.com/alchemy-fr/BinaryDriver/blob/e0615cdff315e6b4b05ada67906df6262a020d22/src/Alchemy/BinaryDriver/ProcessRunner.php#L43
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
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!