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

Preparation to marking OCI8 driver classes final #4109

Merged
merged 2 commits into from
Jun 26, 2020

Conversation

morozov
Copy link
Member

@morozov morozov commented Jun 25, 2020

Q A
Type improvement
BC Break no

This is a backport of #3808 and #3820 which remove the non-interface methods from the OCI8 driver classes making them eligible for finalization. It was decided to make them final in 3.0.x in #4100 (comment).

TODO:

The existing relationship between the connection and its statement violate the ISP principle. Instead of having access only to the execution mode of the connection, statements have access to the entire connection API.

Having a method which is not defined in the driver connection interface makes it impossible to mark the method `final` (doctrine#3590).
@morozov
Copy link
Member Author

morozov commented Jun 26, 2020

@greg0ire, ping in case if you didn't notice this one.

@morozov morozov merged commit 9d45766 into doctrine:3.0.x Jun 26, 2020
@morozov morozov deleted the oci8-finalization-backports branch June 26, 2020 21:59
@morozov morozov self-assigned this Jun 26, 2020
@morozov
Copy link
Member Author

morozov commented Jun 26, 2020

Thanks a bunch!

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants