Skip to content

5.next: fix behavior change introduced in phpunit 10.5.5#17510

Merged
markstory merged 1 commit into5.nextfrom
5.next-phpunit-10-5-5
Jan 2, 2024
Merged

5.next: fix behavior change introduced in phpunit 10.5.5#17510
markstory merged 1 commit into5.nextfrom
5.next-phpunit-10-5-5

Conversation

@LordSimal
Copy link
Copy Markdown
Contributor

@LordSimal LordSimal added this to the 5.1.0 milestone Dec 29, 2023
@LordSimal LordSimal force-pushed the 5.next-phpunit-10-5-5 branch from 043046f to 362667b Compare December 29, 2023 10:24
/**
* Test scoped logging backwards compat
*/
#[WithoutErrorHandler]
Copy link
Copy Markdown
Member

@dereuromark dereuromark Dec 29, 2023

Choose a reason for hiding this comment

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

I still think those should be FQCN inside the attribute instead of use statements.
But I guess thats also the code sniffer doing this.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Indeed the code sniffer does this

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

There wasn't an option originally, but maybe we can configure it now.

@LordSimal LordSimal force-pushed the 5.next-phpunit-10-5-5 branch from 362667b to e6babb1 Compare January 1, 2024 10:25
@othercorey
Copy link
Copy Markdown
Contributor

How is this required if that PR was reverted?

@LordSimal
Copy link
Copy Markdown
Contributor Author

I have no idea but the tests fail if we don't do this with PHPUnit >= 10.5.5

@markstory markstory merged commit c0b0318 into 5.next Jan 2, 2024
@markstory markstory deleted the 5.next-phpunit-10-5-5 branch January 2, 2024 03:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants