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

Changed use of deprecated doctrine/orm connect method to use getNativeConnection method #73

Conversation

Victor-Truhanovich
Copy link

Changed use of deprecated doctrine/orm connect method to use getNativeConnection method

@W0rma
Copy link
Contributor

W0rma commented Nov 7, 2023

I tested the change locally and it does indeed fix the following deprecation warning when using this module together with doctrine/dbal:3.7.1:

Public access to Connection::connect() is deprecated. (Connection.php:366 called by Doctrine2.php:260, doctrine/dbal#4966, package doctrine/dbal)

@W0rma
Copy link
Contributor

W0rma commented Dec 1, 2023

@Naktibalda Are there any plans to tag a new release containing this fix?

@W0rma
Copy link
Contributor

W0rma commented Feb 8, 2024

DBAL v4 has been released: https://github.com/doctrine/dbal/releases/tag/4.0.0

I have prepared #78 which adds support for ORM v3 + DBAL v4 and cherry-picked the fix from this PR.

@TavoNiievez
Copy link
Member

Replaced by Codeception/module-doctrine#26

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 this pull request may close these issues.

4 participants