Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

PHPORM-299 Enable PHPUnit 11 #3286

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

Merged
GromNaN merged 1 commit into mongodb:5.x from GromNaN:PHPORM-299
Feb 24, 2025
Merged

PHPORM-299 Enable PHPUnit 11 #3286

GromNaN merged 1 commit into mongodb:5.x from GromNaN:PHPORM-299
Feb 24, 2025

Conversation

@GromNaN
Copy link
Member

@GromNaN GromNaN commented Feb 24, 2025

Fix PHPORM-299

Ensures the parent::tearDown method is always called to remove the error/exception handlers registered by Laravel.

@GromNaN GromNaN added this to the 5.2 milestone Feb 24, 2025
@GromNaN GromNaN requested a review from a team as a code owner February 24, 2025 16:19
Copy link
Member

@jmikola jmikola left a comment

Choose a reason for hiding this comment

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

Defer to you if you'd like to use imported functions to replace the self:: prefixes for assertions.

{
public function tearDown(): void
{
parent::setUp();
Copy link
Member

Choose a reason for hiding this comment

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

Was this a longstanding bug? I don't understand why a setUp() method should ever have been called during tearDown().

Copy link
Member Author

Choose a reason for hiding this comment

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

jmikola reacted with thumbs up emoji
@GromNaN GromNaN merged commit faacf63 into mongodb:5.x Feb 24, 2025
44 checks passed
@GromNaN GromNaN deleted the PHPORM-299 branch February 24, 2025 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@jmikola jmikola jmikola approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

5.2

Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /