AbstractDatabaseTool::getBackupService()
relies on deprecated method
#184
Labels
enhancement
New feature or request
The
AbstractDatabaseTool::getBackupService()
method tries to build a backup service by identifying the database platform when the ORM is in use. However,Doctrine\DBAL\Platforms\AbstractPlatform::getName()
is deprecated in favor of identifying platforms based on their class names andinstanceof
checks.This one isn't a straightforward replacement because the container parameter name that this code is trying to reference is built around the simple identifiers the
getName()
method was returning, so a new strategy for resolving the database backup service for the ORM is going to be needed (for simplicity sake, you can probably mapinstanceof
checks to the names that the deprecatedgetName()
method is using).The text was updated successfully, but these errors were encountered: