doctrine / event-manager

The Doctrine Event Manager is a library that provides a simple event system.
https://www.doctrine-project.org/projects/event-manager.html
MIT License
5.94k stars 21 forks source link

Bump to PHP 8.1 and add types everywhere #51

Closed derrabus closed 2 years ago

derrabus commented 2 years ago

Since PHP 8.1 will become the new minimum requirement for DBAL and ORM, I'd like to modernize the event manager to this language level as well.

This is a breaking change because of stricter parameter types and added native return types. If we agree to do this, I'd create a 2.0.x branch off 1.2.x and retarget this PR.

greg0ire commented 2 years ago

I think you should go ahead 👍