sonata-project / SonataUserBundle

Symfony SonataUserBundle
https://docs.sonata-project.org/projects/SonataUserBundle
MIT License
342 stars 487 forks source link

Does the user bundle require PHP 7.3 and only 7.3? #1393

Closed patrickmaynard closed 3 years ago

patrickmaynard commented 3 years ago

Feature Request

When trying to install the Sonata User Bundle on a system that uses PHP 8.0, I am getting composer complaints about how there is a "PHP requirement incompatible with your PHP version."

Would it be OK if I bumped the PHP version requirements for this bundle from ^7.3 to ^7.3||^7.4||^8.0?

VincentLanglet commented 3 years ago

You can see https://github.com/sonata-project/SonataUserBundle/pull/1341

The last release of FosUserBundle doesn't allow php 8 https://github.com/FriendsOfSymfony/FOSUserBundle/tree/v2.1.2

But seems like there is some work recently on the 2.x branch to add support for Symfony5, twig 3 and PHP8 https://github.com/FriendsOfSymfony/FOSUserBundle/commits/2.x

As soon as FosUserBundle will support those, it will be possible for us to support them.