Skip to content

Fix!: drop PHP 7.4–8.1 support to address insecure dependencies#448

Open
Copilot wants to merge 3 commits intomainfrom
copilot/remove-support-for-php-7-4-8-1
Open

Fix!: drop PHP 7.4–8.1 support to address insecure dependencies#448
Copilot wants to merge 3 commits intomainfrom
copilot/remove-support-for-php-7-4-8-1

Conversation

Copy link

Copilot AI commented Feb 24, 2026

PHP 7.4, 8.0, and 8.1 are all end-of-life and block upgrading dependencies with known security vulnerabilities. This raises the minimum supported PHP version to 8.2.

Changes

  • composer.json

    • PHP constraint: ^8.0 || ^7.4^8.2
    • PHPUnit: ^8.0 || ^9.0^10.0 || ^11.0 (PHPUnit 8/9 do not support PHP 8.2+)
    • PHPStan: drop ^0.12.90, require ^1.0.0 only
  • .github/workflows/pr-validation.yml

    • CI matrix updated to ['8.2', '8.3', '8.4', '8.5']
  • phpunit.xml

    • Replaced deprecated <filter><whitelist> (PHPUnit 8/9) with <source><include><exclude> (PHPUnit 10+)

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: adrian05-ms <212946016+adrian05-ms@users.noreply.github.com>
Copilot AI changed the title [WIP] Remove support for PHP 7.4 through 8.1 to address security issues Fix!: drop PHP 7.4–8.1 support to address insecure dependencies Feb 24, 2026
@adrian05-ms
Copy link
Contributor

@copilot Add support for 8.5

Co-authored-by: adrian05-ms <212946016+adrian05-ms@users.noreply.github.com>
Copy link
Author

Copilot AI commented Feb 24, 2026

@copilot Add support for 8.5

Added PHP 8.5 to the CI test matrix in c043af3. The ^8.2 constraint in composer.json already covers 8.5 (it means >=8.2.0 <9.0.0), so no change was needed there.

@adrian05-ms adrian05-ms marked this pull request as ready for review February 24, 2026 21:06
@adrian05-ms adrian05-ms requested a review from a team as a code owner February 24, 2026 21:06
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