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

Removed the OCI8Connection::getExecuteMode() method #3808

Merged

Conversation

morozov
Copy link
Member

@morozov morozov commented Jan 3, 2020

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 (#3590).

Q A
Type improvement
BC Break yes

Summary

@morozov
Copy link
Member Author

morozov commented Jan 8, 2020

The ContinuousPHP build currently fails due to the issue being addressed by #3809.

beberlei
beberlei previously approved these changes Jan 8, 2020
@morozov morozov force-pushed the remove-oci8-connection-execute-mode branch 2 times, most recently from 4d81e5d to b6ca7e7 Compare January 13, 2020 02:09
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 morozov force-pushed the remove-oci8-connection-execute-mode branch from b6ca7e7 to a0ff364 Compare January 13, 2020 02:10
@morozov morozov requested a review from Ocramius January 13, 2020 02:47
@Ocramius Ocramius added this to the 3.0.0 milestone Jan 13, 2020
@Ocramius Ocramius self-assigned this Jan 13, 2020
@Ocramius Ocramius merged commit 489cb9e into doctrine:master Jan 13, 2020
@morozov morozov deleted the remove-oci8-connection-execute-mode branch January 13, 2020 07:41
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 5, 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.

3 participants