Closed ThibaultPelloquin closed 1 year ago
laminas/laminas-crypt:^3.10
is included in the laminas/laminas-crypt:^3.4
range.
Are you running composer update --ignore-platform-reqs
, perhaps? Because laminas/laminas-crypt:3.4.0
does NOT support php:8.1.*
:
Closing here: root cause is not a link with laminas/laminas-crypt
, since a dependency upgrade would on your end would already show that :-)
Please re-open after making sure you are on the latest dependencies.
Bug Report
Installing on Symfony 6.2 project with PHP 8.1
Summary
Get this Exception :
PHP Fatal error: Declaration of Laminas......::has($name) must be compatible with Psr\Container\ContainerInterface::has(string $id): bool in /path/info line int
Same as described here: https://github.com/laminas/laminas-di/issues/78
Expected behavior
Solution: replace laminas/laminas-crypt:^3.4 by laminas/laminas-crypt:^3.10 where bug has been fixed.