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

Most upvoted comments

Adding "conflict": {"ext-psr": "*"} is a viable solution, for now.

By uninstalling ext-psr, for which we declared an explicit compatibility conflict 😁