Skip to content

Dev/php 8.6 - #70

Merged
dweichert merged 3 commits into
mainfrom
dev/php-8.6
Oct 25, 2026
Merged

dweichert merged 3 commits into
mainfrom
dev/php-8.6

Conversation

@dweichert

Copy link
Copy Markdown
Owner

No description provided.

dweichert and others added 3 commits October 25, 2026 19:42
- CI: add PHP 8.6 to the PHPUnit and PHAR test matrices; setup-php
  installs a nightly build of the PHP-8.6 branch until 8.6.0 is released.
- .docker/run-tests.sh: run 8.6 on the 8.6-rc-cli image, extended with
  mbstring (needed by PHPUnit, not included in the official 8.6 images).

The test suite and the PHAR pass on PHP 8.6.0RC4.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Docblock annotations (@dataProvider, @before) to attributes
  (#[DataProvider], #[Before]); PHPUnit 12+ ignores annotations.
- Data providers are static.
- phpunit.xml.dist for PHPUnit 13: fail on deprecations, notices and
  warnings (replaces convertDeprecationsToExceptions); source directory.
- Ignore .phpunit.cache/.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- composer.json: "php": "^8.6", "phpunit/phpunit": "^13.4".
- CI: test and build the PHAR on PHP 8.6 only (nightly until 8.6.0 is
  released); drop the workarounds for old PHP versions (Composer 2.2 LTS,
  installing PHPUnit versions with security advisories).
- box.json: let Box generate the autoloader and add its requirement
  checker, so the PHAR refuses PHP < 8.6 with a clear message.
- .docker/run-tests.sh: PHP 8.6 only.
- AGENTS.md: coding rules for 2.0 (modernise without API changes,
  PHPUnit 13) replace the PHP 5.3 rules.
- Release plan: Composer constraint ^8.6, PHPUnit 13.

Tested on PHP 8.6.0RC4: 185 tests, PHAR runs on 8.6 and is refused
on 8.5.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dweichert
dweichert merged commit 6141f88 into main Oct 25, 2026
2 checks passed
@dweichert
dweichert deleted the dev/php-8.6 branch October 25, 2026 19:46
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