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

Switch tests to the middleware logging system #9418

Merged
merged 1 commit into from
Jan 23, 2022

Conversation

derrabus
Copy link
Member

This PR removes usages of the deprecated DebugStack class. If the middleware system is available (DBAL 3), it is used instead of setSQLLogger().

@derrabus derrabus requested review from morozov and greg0ire January 23, 2022 17:46
@derrabus derrabus added this to the 2.12.0 milestone Jan 23, 2022
morozov
morozov previously approved these changes Jan 23, 2022
@derrabus derrabus force-pushed the improvement/query-log branch from 0bc4a57 to 38c449e Compare January 23, 2022 18:42
@derrabus derrabus merged commit 328f368 into doctrine:2.12.x Jan 23, 2022
@derrabus derrabus deleted the improvement/query-log branch January 23, 2022 22:55
derrabus added a commit to derrabus/orm that referenced this pull request Jan 23, 2022
* 2.12.x:
  Add support for PHP 8.1 enums in embedded classes (doctrine#9419)
  Switch tests to the middleware logging system (doctrine#9418)
  Added class-string typehint on $targetEntity (doctrine#9415)
  Allow DiscriminatorColumn with length=0 (doctrine#9410)
  Move UnderscoreNamingStrategyTest to correct namespace (doctrine#9414)
n-e-m-a-nj-a pushed a commit to n-e-m-a-nj-a/orm that referenced this pull request Mar 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants