-
-
Notifications
You must be signed in to change notification settings - Fork 455
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Console commands: compatiblity with upcoming doctrine/dbal 3.0 #1179
Comments
Yes, I concluded same. But like I mentioned in #1170 I don't want to change DoctrineBundle only to find dbal changed their API before release. |
@ostrolucky I think now we could work on this? Since release 2.11 I now have some deprecations related to this on some projects:
|
Yep |
It also triggers an error when using the
With these versions:
|
#1179 Deprecate doctrine:query:sql command
Fixed in master |
Due to some deprecations and the new
ConnectionProvider
interface we need to fix a few things to be compatible withdoctrine/dbal
3.0.See doctrine/dbal#3956, doctrine/dbal#4059
Also related was this fix: #1170
Some thoughts:
Symfony\Bridge\Doctrine\ManagerRegistry
toDoctrine\DBAL\Tools\Console\ConnectionProvider
and inject that into the 2 commandsRunSqlDoctrineCommand
andImportDoctrineCommand
(can we use the dbal commands directly and deprecate the proxy commands?)Doctrine\DBAL\Tools\Console\Helper\ConnectionHelper
The text was updated successfully, but these errors were encountered: