Skip to content

Update Paratest to ^7.3 and PHPUnit to ^10.5#308

Merged
bytestream merged 24 commits into
masterfrom
copilot/update-paratest-and-phpunit
Jun 1, 2026
Merged

Update Paratest to ^7.3 and PHPUnit to ^10.5#308
bytestream merged 24 commits into
masterfrom
copilot/update-paratest-and-phpunit

Conversation

Copilot AI commented May 29, 2026

Copy link
Copy Markdown
Contributor

Upgrades test dependencies to support PHPUnit 10–13 and Paratest 7.4+, with proper PHP 8.1 compatibility handling.

  • PHPUnit: ^9.3^10.5|^11.0|^12.0|^13.0
  • Paratest: ^6.0~7.4.0 || ^7.5 (7.4.x is the last version supporting PHP 8.1; 7.5+ requires PHP 8.2+)
  • prophecy-phpunit: ^2.0^2.5 (required for PHPUnit 10+ compatibility)
  • phpunit.xml.dist: Migrated from PHPUnit 9 schema — <coverage> element replaced with <source> as required by PHPUnit 10

The split constraint on paratest (~7.4.0 || ^7.5) is necessary because Composer cannot infer from ^7.4 alone that 7.4.x is the correct resolution for PHP 8.1 environments — it sees 7.5.x as a valid candidate and fails.

Copilot AI changed the title Update Paratest to ^7.4 and PHPUnit to ^10.5 Update Paratest to ~7.4 and PHPUnit to ^10.5 May 29, 2026
Copilot AI changed the title Update Paratest to ~7.4 and PHPUnit to ^10.5 Update Paratest to ~7.4.0 and PHPUnit to ^10.5 May 29, 2026
Copilot AI changed the title Update Paratest to ~7.4.0 and PHPUnit to ^10.5 Update Paratest to ^7.4 and PHPUnit to ^10.5|^11.0|^12.0|^13.0 May 29, 2026
Copilot AI changed the title Update Paratest to ^7.4 and PHPUnit to ^10.5|^11.0|^12.0|^13.0 Update Paratest to ^7.4 and PHPUnit to ^10.5 May 29, 2026
@bytestream bytestream marked this pull request as ready for review June 1, 2026 13:29
Copilot AI review requested due to automatic review settings June 1, 2026 13:29
@bytestream bytestream changed the title Update Paratest to ^7.4 and PHPUnit to ^10.5 Update Paratest to ^7.3 and PHPUnit to ^10.5 Jun 1, 2026
@bytestream bytestream merged commit d6f8532 into master Jun 1, 2026
5 of 6 checks passed
@bytestream bytestream deleted the copilot/update-paratest-and-phpunit branch June 1, 2026 13:30

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

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.

3 participants