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
I have the next error after migration from the yandex-checkout-sdk-php on PHP 8:
Declaration of YooKassa\Common\LoggerWrapper::emergency($message, array $context = []) must be compatible with Psr\Log\LoggerInterface::emergency(Stringable|string $message, array $context = []): void
I think it happens because the yandex-checkout-sdk-php used an older version of the psr/log package.
But psr/log 3 is not compatible with this package because of void return type declaration. It was implemented in PHP 7.1 so psr/log 3 can not be allowed for the package with support of PHP 5.3
I have the next error after migration from the
yandex-checkout-sdk-php
on PHP 8:I think it happens because the
yandex-checkout-sdk-php
used an older version of thepsr/log
package.https://github.com/yoomoney/yandex-checkout-sdk-php/blob/master/composer.json#L10
https://github.com/yoomoney/yookassa-sdk-php/blob/master/composer.json#L20
Maybe it will be better to return back to
"psr/log": "^1.0"
to save PHP 5.3 as a minimal version?The text was updated successfully, but these errors were encountered: