Skip to content

chore: add PHPUnit 13 support#331

Merged
guillaume-sainthillier merged 1 commit into6.xfrom
chore/phpunit-13
Mar 26, 2026
Merged

chore: add PHPUnit 13 support#331
guillaume-sainthillier merged 1 commit into6.xfrom
chore/phpunit-13

Conversation

@guillaume-sainthillier
Copy link
Copy Markdown
Member

Add PHPUnit 13 compatibility while keeping BC with PHPUnit 10/11/12.

Changes:

  • Updated phpunit constraint to ^10|^11|^12|^13
  • Replaced createMock() with createStub() where no expectations are set (PHPUnit 13 requirement)

All 86 tests pass ✅

Replace createMock() with createStub() for mock objects without
expectations to resolve PHPUnit 13 notices.
@guillaume-sainthillier guillaume-sainthillier merged commit e54057c into 6.x Mar 26, 2026
12 checks passed
@guillaume-sainthillier guillaume-sainthillier deleted the chore/phpunit-13 branch March 30, 2026 07:48
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