thephpleague / oauth2-server

A spec compliant, secure by default PHP OAuth 2.0 Server
https://oauth2.thephpleague.com
MIT License
6.49k stars 1.12k forks source link

"league/event": "^2.2" dependency incompatibility with "league/event": "3.0.0" #1277

Closed caballero03 closed 2 years ago

caballero03 commented 2 years ago

I had been using "league/event": "^3.0.0" in part of my project but when I installed oauth2-server Composer downgraded Event to v2.2 which has had several name changes into v3.0.0. This breaks existing v3.0.0 code.

See here: https://event.thephpleague.com/3.0/upgrade-from-2-to-3/

I don't know if this is a issue or maybe I did something wrong when I installed it, but it would appear to me that this may be an oversight.

I have disabled the offending code in my project to continue using Oauth2-server. I may not need to use Event in the future. I just wanted to point this out. Any suggestions or advice would be more than welcome.

Sephster commented 2 years ago

Yes at this time we are still on league/event 2.2. We won't upgrade to 3.0 until we release a new major version as I think this will incur breaking changes. Sorry about that and hope it doesn't cause you too many issues