Skip to content

Preparation to marking OCI8 driver classes final#4109

Merged
morozov merged 2 commits intodoctrine:3.0.xfrom
morozov:oci8-finalization-backports
Jun 26, 2020
Merged

Preparation to marking OCI8 driver classes final#4109
morozov merged 2 commits intodoctrine:3.0.xfrom
morozov:oci8-finalization-backports

Conversation

@morozov
Copy link
Copy Markdown
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:

morozov added 2 commits June 25, 2020 14:38
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
Copy Markdown
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
Copy Markdown
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