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

Reintroduce parts of Legacy API for some more time #4317

Merged
merged 1 commit into from
Oct 9, 2020

Conversation

beberlei
Copy link
Member

@beberlei beberlei commented Oct 2, 2020

Q A
Type improvement
BC Break no

Summary

With this PR we are re-introducing the PDO compatible API and common APIs of the DBAL "hotpath" again to keep them for a bit longer. This is too give users more time to migrate off of them, especially since many libraries and frameworks expose Doctrine DBAL via their plugin APIs.

@beberlei beberlei requested a review from morozov October 2, 2020 19:55
@beberlei beberlei changed the base branch from 2.11.x to 3.0.x October 2, 2020 19:55
src/Result.php Outdated Show resolved Hide resolved
src/Result.php Outdated Show resolved Hide resolved
src/Result.php Show resolved Hide resolved
src/Result.php Outdated Show resolved Hide resolved
tests/Functional/LegacyAPITest.php Outdated Show resolved Hide resolved
src/Result.php Outdated Show resolved Hide resolved
src/Result.php Outdated Show resolved Hide resolved
src/Result.php Outdated Show resolved Hide resolved
tests/Functional/LegacyAPITest.php Show resolved Hide resolved
tests/Functional/LegacyAPITest.php Show resolved Hide resolved
src/Result.php Show resolved Hide resolved
src/Result.php Outdated Show resolved Hide resolved
src/Result.php Show resolved Hide resolved
src/Result.php Outdated Show resolved Hide resolved
src/Result.php Outdated Show resolved Hide resolved
src/Result.php Outdated Show resolved Hide resolved
src/Result.php Outdated Show resolved Hide resolved
@beberlei
Copy link
Member Author

beberlei commented Oct 7, 2020

@morozov added the typehints and cleanuped everything, last point is the test, i used DataAccessTest as a template to create the table only once. Do you have an alternative testcase you want this to be based upon?

@morozov
Copy link
Member

morozov commented Oct 7, 2020

@beberlei, see BlobTest for example.

@beberlei beberlei marked this pull request as ready for review October 8, 2020 21:41
@beberlei beberlei changed the title Legacy api Reintroduce parts of Legacy API for some more time Oct 8, 2020
@morozov morozov added this to the 3.0.0 milestone Oct 9, 2020
@morozov morozov merged commit 0f78de8 into doctrine:3.0.x Oct 9, 2020
@morozov
Copy link
Member

morozov commented Oct 9, 2020

Thanks, @beberlei.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 29, 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