Skip to content

Removed the OCI8Connection::getExecuteMode() method#3808

Merged
Ocramius merged 1 commit intodoctrine:masterfrom
morozov:remove-oci8-connection-execute-mode
Jan 13, 2020
Merged

Removed the OCI8Connection::getExecuteMode() method#3808
Ocramius merged 1 commit intodoctrine:masterfrom
morozov:remove-oci8-connection-execute-mode

Conversation

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