Skip to content

Require PHP 8.3 and update dependencies - #14

Merged
ellisgl merged 1 commit into
mainfrom
php83
Nov 25, 2026
Merged

ellisgl merged 1 commit into
mainfrom
php83

Conversation

@ellisgl

@ellisgl ellisgl commented Nov 25, 2026

Copy link
Copy Markdown
Owner

Raises the minimum PHP version to 8.3 and updates the dependencies to their latest versions that support it.

Before After
PHP >=8.1 >=8.3
CI matrix 8.1–8.5 8.3–8.5
symfony/yaml ^6.1 ^7.4 || ^8.0
phpunit/phpunit 9.6 12.5 (13 needs PHP 8.4)
squizlabs/php_codesniffer 3.13 4.0
phpmd/phpmd 2.13 3.0

Notes

  • symfony/yaml: 8.x needs PHP 8.4, so the constraint allows both 7.4 (LTS) and 8.x, and Composer picks what each PHP version supports. Conf only uses Symfony\Component\Yaml\Parser, which hasn't changed.
  • PHPUnit 12: the tests needed no changes. phpunit.xml uses the current schema and now also fails the run on warnings and deprecations.
  • PHPMD 3: it dropped the old positional arguments, so composer phpmd now runs phpmd analyze src --format text. Its default rulesets are the same six the script listed, and it reports no findings, as PHPMD 2 didn't either.

README and CHANGELOG ("Unreleased") are updated. All 12 tests pass on PHP 8.5 with symfony/yaml 8.1, along with PHPStan level 8, PSR-12 and PHPMD.

🤖 Generated with Claude Code

- PHP >=8.1 -> >=8.3; CI matrix is now 8.3-8.5
- symfony/yaml ^6.1 -> ^7.4 || ^8.0 (8.x needs PHP 8.4, so Composer
  picks 7.4 on PHP 8.3)
- PHPUnit 9 -> 12, with phpunit.xml on the current schema (now also
  failing on warnings and deprecations)
- PHP_CodeSniffer 3 -> 4, PHPMD 2 -> 3. The phpmd script uses PHPMD 3's
  "analyze" command; its default rulesets are the six it listed.
- README and CHANGELOG updated

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ellisgl
ellisgl merged commit 1969438 into main Nov 25, 2026
5 checks passed
@ellisgl
ellisgl deleted the php83 branch November 25, 2026 16:20
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