Skip to content

Conversation

@guilliamxavier
Copy link
Contributor

Q A
Branch? 4.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets Fix #10921 (comment)
License MIT

But I'm struggling to come up with a failing test scenario :/ if the bug is only causing evaluating the condition as truthy instead of false when $prev is already equal to $this->thrownErrors | $this->loggedErrors, I guess it will just re-register the same, without real visible effect?

@guilliamxavier guilliamxavier requested a review from yceruto as a code owner July 28, 2022 16:18
@carsonbot carsonbot added this to the 4.4 milestone Jul 28, 2022
@carsonbot carsonbot changed the title [ErrorHandler] [Debug] fix operator precedence [Debug][ErrorHandler] fix operator precedence Jul 28, 2022
Copy link
Member

@nicolas-grekas nicolas-grekas left a comment

Choose a reason for hiding this comment

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

I guess it will just re-register the same, without real visible effect?

yep, this cannot be tested :)

@nicolas-grekas
Copy link
Member

Good catch, thanks @guilliamxavier.

@nicolas-grekas nicolas-grekas merged commit 9fb7f20 into symfony:4.4 Jul 28, 2022
@guilliamxavier guilliamxavier deleted the patch-1 branch July 28, 2022 16:32
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