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

Deprecated DBAL APIs still in use #238

Closed
mbabker opened this issue Sep 27, 2023 · 1 comment · Fixed by #240
Closed

Deprecated DBAL APIs still in use #238

mbabker opened this issue Sep 27, 2023 · 1 comment · Fixed by #240
Labels
enhancement New feature or request

Comments

@mbabker
Copy link
Contributor

mbabker commented Sep 27, 2023

doctrine/dbal#5948, included in the DBAL 3.7 release, adds runtime deprecation notices for a number of legacy DBAL APIs which were deprecated around the DBAL 2.11 release and look to be removed from 4.0. There are probably more cases than this, but these two came up in my test suite run after upgrading today:

  858x: Doctrine\DBAL\Connection::query is deprecated, please use executeQuery() instead. (Connection.php:1974 called by ORMDatabaseTool.php:215, https://github.com/doctrine/dbal/pull/4163, package doctrine/dbal)
    ...

  858x: Doctrine\DBAL\Connection::query is deprecated, please use executeQuery() instead. (Connection.php:1974 called by ORMDatabaseTool.php:229, https://github.com/doctrine/dbal/pull/4163, package doctrine/dbal)
    ...
@alexislefebvre
Copy link
Collaborator

Thanks for the report.

Would you like to open a PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants