Skip to content

Isolate testDetermineResponseFactoryThrowsRuntimeException on PHPUnit 10+ - #3470

Merged
akrabat merged 2 commits into
slimphp:4.xfrom
akrabat:fix-intermittent-text-failure
Aug 31, 2026
Merged

Isolate testDetermineResponseFactoryThrowsRuntimeException on PHPUnit 10+#3470
akrabat merged 2 commits into
slimphp:4.xfrom
akrabat:fix-intermittent-text-failure

Conversation

@akrabat

@akrabat akrabat commented Aug 29, 2026

Copy link
Copy Markdown
Member

For PHPUnit 10+ we need the annotation rather than the docblock. This solves the intermittent test failure problem.

@akrabat akrabat self-assigned this Aug 29, 2026
@coveralls

coveralls commented Aug 29, 2026

Copy link
Copy Markdown

Coverage Status

coverage: 99.457%. remained the same — akrabat:fix-intermittent-text-failure into slimphp:4.x

… 10+

For PHPUnit 10+ we need the annotation rather than the docblock.
@akrabat
akrabat force-pushed the fix-intermittent-text-failure branch from 07b64ad to 2eec2a4 Compare August 29, 2026 20:09
@akrabat akrabat changed the title Reset AppFactory statics in AppFactoryTest tearDown Isolate testDetermineResponseFactoryThrowsRuntimeException on PHPUnit 10+ Aug 29, 2026
@akrabat
akrabat requested a review from odan August 29, 2026 20:15
@akrabat
akrabat merged commit c08e7da into slimphp:4.x Aug 31, 2026
10 checks passed
@akrabat
akrabat deleted the fix-intermittent-text-failure branch August 31, 2026 12:58
@akrabat akrabat added this to the 4.16.0 milestone Aug 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants