Skip to content

Upgrade PHPUnit configuration to version 10#20

Merged
sylfabre merged 2 commits intomainfrom
phpunit_10
Mar 22, 2026
Merged

Upgrade PHPUnit configuration to version 10#20
sylfabre merged 2 commits intomainfrom
phpunit_10

Conversation

@sylfabre
Copy link
Copy Markdown
Contributor

Summary

  • Updates phpunit.xml.dist to use PHPUnit 10 schema
  • Moves source directory configuration from <coverage> to <source> (PHPUnit 10 format)
  • Removes deprecated processUncoveredFiles attribute
  • Fixes PHP warning in AbsolutePercentValueNormalizer when input array is missing type or value keys (PHPUnit 10 now captures and reports PHP warnings as test issues)

Test plan

  • All PHPUnit tests pass with no warnings or deprecations
  • phpcs passes
  • phpstan passes
  • rector --dry-run passes

🤖 Generated with Claude Code

- Use nullsafe array access in AbsolutePercentValueNormalizer to avoid
  undefined array key warnings when input is missing expected keys

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@sonarqubecloud
Copy link
Copy Markdown

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@sonarqubecloud
Copy link
Copy Markdown

@sylfabre sylfabre merged commit dddbb34 into main Mar 22, 2026
4 of 6 checks passed
@sylfabre sylfabre deleted the phpunit_10 branch March 22, 2026 09:16
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