You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since in 2.4.0 deprecation notices were introduced in b261884
Following deprecation notice is triggered PHP Deprecated: Since doctrine/mongodb-odm 2.4: Calling Doctrine\ODM\MongoDB\DocumentManager::clear() with any arguments to clear specific documents is deprecated and will not be supported in Doctrine ODM 3.0. in /var/www/project/vendor/symfony/deprecation-contracts/function.php on line 25
whenever DocumentRepository->clear() method is called because it passes an argument to DocumentManager
Is there any intent to either deprecate DocumentRepository->clear() or what should be a proper course of action in this case?
Yes, DocumentRepository::clear should have been deprecated in 2.4 along with the original deprecation, not doing so was our bad. We'll add the deprecation in 2.5.x :)
Support Question
Since in 2.4.0 deprecation notices were introduced in b261884
Following deprecation notice is triggered
PHP Deprecated: Since doctrine/mongodb-odm 2.4: Calling Doctrine\ODM\MongoDB\DocumentManager::clear() with any arguments to clear specific documents is deprecated and will not be supported in Doctrine ODM 3.0. in /var/www/project/vendor/symfony/deprecation-contracts/function.php on line 25
whenever DocumentRepository->clear() method is called because it passes an argument to DocumentManager
mongodb-odm/lib/Doctrine/ODM/MongoDB/Repository/DocumentRepository.php
Lines 93 to 96 in cdb60e2
mongodb-odm/lib/Doctrine/ODM/MongoDB/DocumentManager.php
Lines 706 to 717 in cdb60e2
Is there any intent to either deprecate DocumentRepository->clear() or what should be a proper course of action in this case?
The text was updated successfully, but these errors were encountered: