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

Mark Statement::execute() private, remove QueryBuilder::execute() #4843

Merged
merged 2 commits into from
Oct 2, 2021

Conversation

morozov
Copy link
Member

@morozov morozov commented Oct 2, 2021

Q A
Type improvement
BC Break yes

See #4580.

->from('foo')
->execute();

self::assertInstanceOf(Result::class, $result);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This expectation is now enforced at the API level.

<!--
TODO: remove in 4.0.0
-->
<referencedMethod name="Doctrine\DBAL\Schema\Schema::getMigrateToSql"/>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one is a leftover from a previous deprecated API removal.

@morozov morozov marked this pull request as ready for review October 2, 2021 17:33
@morozov morozov requested review from greg0ire and derrabus October 2, 2021 17:45
@morozov morozov merged commit 2f55ef8 into doctrine:4.0.x Oct 2, 2021
@morozov morozov deleted the remove-execute branch October 2, 2021 18:31
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 3, 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