doctrine / DoctrineMongoDBBundle

Integrates Doctrine MongoDB ODM with Symfony
http://symfony.com/doc/current/bundles/DoctrineMongoDBBundle/index.html
MIT License
377 stars 229 forks source link

Drop support of PHP < 7.4 #763

Closed franmomu closed 1 year ago

franmomu commented 1 year ago

As we did it in the ODM I think we can do the same for the 4.6.0 release.

franmomu commented 1 year ago

Looking at the installs https://packagist.org/packages/doctrine/mongodb-odm-bundle/php-stats#4.5, 20% are still using 7.4, so I think we should keep it for now.

franmomu commented 1 year ago

Are there any specific PHP 7.4 features we can use in this bundle after this PR is merged?

Yeah, we can add types to private properties, I'll do it in another PR.