Skip to content

Upgrade to PHPUnit 10#362

Merged
janedbal merged 2 commits into
masterfrom
phpunit-10
May 18, 2026
Merged

Upgrade to PHPUnit 10#362
janedbal merged 2 commits into
masterfrom
phpunit-10

Conversation

@janedbal
Copy link
Copy Markdown
Member

@janedbal janedbal commented May 18, 2026

  • Bump phpunit/phpunit ^9.6 -> ^10.5
  • Rewrite phpunit.xml.dist with PHPUnit 10 strictness flags (failOnDeprecation, failOnNotice, failOnIncomplete, displayDetailsOn*, <source restrictDeprecations="true" ...>, etc.)
  • Convert @dataProvider annotation to #[DataProvider] attribute in ForbidCheckedExceptionInCallableRuleTest and make the provider static

Note: failOnSkipped / failOnAllIssues not enabled because some tests legitimately skip on lower PHP versions.

Similar to shipmonk-rnd/dead-code-detector#322.

Co-Authored-By: Claude Code

@janedbal janedbal marked this pull request as ready for review May 18, 2026 11:02
@janedbal janedbal merged commit 2aedccb into master May 18, 2026
22 checks passed
@janedbal janedbal deleted the phpunit-10 branch May 18, 2026 11:09
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.

1 participant