Skip to content

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

Draft
Copilot wants to merge 5 commits into
masterfrom
copilot/update-paratest-and-phpunit
Draft

Update Paratest to ^7.4 and PHPUnit to ^10.5#308
Copilot wants to merge 5 commits into
masterfrom
copilot/update-paratest-and-phpunit

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 29, 2026

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
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.

2 participants