Skip to content

feat: add support for PHP 8.6 - #1241

Open
annuh wants to merge 1 commit into
phpro:v2.xfrom
annuh:feat/php-8.6-support
Open

annuh wants to merge 1 commit into
phpro:v2.xfrom
annuh:feat/php-8.6-support

Conversation

@annuh

@annuh annuh commented Nov 13, 2026 •

Copy link
Copy Markdown

👨: This PR adds support for PHP 8.6, which will be released 2026-11-19 (https://php.watch/versions/8.6).


Adds PHP 8.6 to the supported versions, following the PHP 8.5 support commit (781a2b7). Only the version-support part is mirrored: PHP 8.2 stays supported and no dependencies are upgraded.

  • composer.json / composer.lock: allow ~8.6.0 in the PHP constraint (lock content hash refreshed)
  • GitHub workflow: add 8.6 to the PHP matrix; the "latest PHP version" handling (ignore platform reqs, continue-on-error while Psalm catches up) moves from 8.5 to 8.6
  • AppVeyor: add an 8.6 job and move allow_failures from 8.5 to 8.6

Unit tests and phpspec pass locally on PHP 8.5; the new matrix entries will be the first runs on 8.6.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@annuh
annuh marked this pull request as ready for review November 13, 2026 13:59
if: runner.os == 'Windows'
run: php vendor/bin/grumphp run --no-interaction --testsuite=windows
continue-on-error: ${{ matrix.php-versions == '8.5' }} # Psalm is not there yet
continue-on-error: ${{ matrix.php-versions == '8.6' }} # Psalm is not there yet

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

FYI, Psalm 7 supports PHP 8.5 + PHP 8.6.

This branch has not been deployed

No deployments
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