Skip to content
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

DBAL 4 and setNestTransactionsWithSavepoints deprecation #281

Closed
dmaicher opened this issue Feb 15, 2024 · 0 comments · Fixed by #282
Closed

DBAL 4 and setNestTransactionsWithSavepoints deprecation #281

dmaicher opened this issue Feb 15, 2024 · 0 comments · Fixed by #282

Comments

@dmaicher
Copy link
Owner

Currently its impossible to get rid of this deprecation when using DBAL 4:

Doctrine\DBAL\Connection::setNestTransactionsWithSavepoints is deprecated and will be removed in 5.0 (Connection.php:948 called by App_KernelTestDebugContainer.php:611, doctrine/dbal#5383, package doctrine/dbal)

We need to allow not explicitly setting use_savepoints: true when using DBAL 4 as its implicitly always enabled anyway.

@dmaicher dmaicher changed the title DBAL 4 and use_savepoints deprecation DBAL 4 and setNestTransactionsWithSavepoints deprecation Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant