-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[Docs] Removing paragraph about PDO similarity #4947
Conversation
I believe it's not the only obsolete PDO-related statement. Here's another one: Line 10 in 44fb020
@ThomasLandauer could you look through the rest of the documentation and see if there are more? |
OK, I guess I caught most of them now ;-)
|
I think that box only made sense on 2.x, where methods from
On 3.x, inheritance has been removed and composition is used instead: dbal/src/Driver/PDO/Connection.php Lines 16 to 19 in 44fb020
EDIT: my bad, it still makes sense:
You can use getWrappedConnection(): dbal/src/Driver/PDO/Connection.php Lines 147 to 150 in 44fb020
Or you can call those methods , they are proxied: dbal/src/Driver/PDO/Connection.php Lines 126 to 145 in 44fb020
I think the warning can be left as is. |
OK, thanks! |
@ThomasLandauer once the work is complete, please squash all changes in one commit. |
Sorry, I don't know how to do that :-( Contrary to what @greg0ire recommended at doctrine/orm#9160 (comment) I did it on GitHub's website again ;-) |
Here is some help once you do the dance described in doctrine/orm#9160 (comment): How to do that?
|
Here's what I'm getting after exiting nano :-(
The first line in nano looked like the others - are you sure to keep "pick" there? |
I tried the rebase locally, and apparently it contains commits that are not yours:
If that's also your case, please try getting to this state:
I just did and there were no conflicts. If you want to learn more about |
Thanks! I think it worked out this time. Last time, the nano file contained hundreds (thousands?) of lines; this time only ~10. |
I think you may want to change your commit message now (with |
OK, thanks! :-) |
According to https://www.doctrine-project.org/2020/11/17/dbal-3.0.0.html, this is not true anymore.