Skip to content

[codex] Update PHPUnit to 13#197

Merged
66Ton99 merged 1 commit into
masterfrom
codex/update-phpunit-13
Jun 5, 2026
Merged

[codex] Update PHPUnit to 13#197
66Ton99 merged 1 commit into
masterfrom
codex/update-phpunit-13

Conversation

@66Ton99
Copy link
Copy Markdown
Collaborator

@66Ton99 66Ton99 commented Jun 5, 2026

Summary

  • Require phpunit/phpunit ^13.0 for the PHP 8.4+ / Symfony 8 baseline.
  • Update test doubles for PHPUnit 13: use stubs for passive doubles and add an explicit expectation for the with() call.
  • Update the README status section to document PHPUnit 13.

Validation

  • composer validate --strict
  • composer test
  • phpunit --display-phpunit-deprecations --display-phpunit-notices
  • composer phpstan
  • composer coverage
  • git diff --check

Require phpunit/phpunit ^13.0 for the Symfony 8 / PHP 8.4+ baseline.

Adjust the test suite for PHPUnit 13 by using stubs for passive doubles and adding an explicit expectation where with() is used.

Update README status to document PHPUnit 13.

Validated with composer validate --strict, composer test, phpunit --display-phpunit-deprecations --display-phpunit-notices, composer phpstan, composer coverage, and git diff --check.

Co-authored-by: Codex <codex@openai.com>
@github-code-quality
Copy link
Copy Markdown

github-code-quality Bot commented Jun 5, 2026

Code Coverage Overview

Languages: PHP, JavaScript

PHP / code-coverage/phpunit

The overall coverage remains at 99%, unchanged from the branch.

JavaScript / code-coverage/jest

The overall coverage remains at 87%, unchanged from the branch.


Updated June 05, 2026 14:49 UTC
Code Coverage is in Public Preview. Learn more and provide us with your feedback.

@66Ton99 66Ton99 marked this pull request as ready for review June 5, 2026 14:50
@66Ton99 66Ton99 merged commit f69046e into master Jun 5, 2026
13 checks passed
@66Ton99 66Ton99 deleted the codex/update-phpunit-13 branch June 5, 2026 14:54
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