laminas-servicemanager: Version 3.11 conflicts with ext-psr
When psr extension is loaded
Fatal error: Uncaught ValueError: class_alias(): Argument #1 ($class) must be a user-defined class name, internal class name given in ......src/autoload.php:13
so class_alias
cannot be used there
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 22 (11 by maintainers)
Commits related to this issue
- bugfix: conflict with `ext-psr` since it is not possible to `class_alias` to a non-user interface There is a PHP extension around which provides all (most?) PSR interfaces without the need of install... — committed to boesing/laminas-servicemanager by boesing 2 years ago
- bugfix: conflict with `ext-psr` since it is not possible to `class_alias` to a non-user interface There is a PHP extension around which provides all (most?) PSR interfaces without the need of install... — committed to laminas/laminas-servicemanager by boesing 2 years ago
- qa: add integration test for container interop Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com> — committed to laminas/laminas-servicemanager by boesing 3 years ago
Adding
"conflict": {"ext-psr": "*"}
is a viable solution, for now.By uninstalling
ext-psr
, for which we declared an explicit compatibility conflict 😁