doctrine / DoctrineMongoDBBundle

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

Use deprecation helper to deprecate config #820

Closed GromNaN closed 9 months ago

GromNaN commented 9 months ago

The setDeprecated method was added in Symfony 5.1. So it's safe to use it.

The deprecation info is there since 3.0. https://github.com/doctrine/DoctrineMongoDBBundle/commit/1e22a0ae05a993b9750dbead95108164c2963466

Options removed in 5.0 by https://github.com/doctrine/DoctrineMongoDBBundle/pull/819

franmomu commented 9 months ago

thanks @GromNaN!