Skip to content

Upgrade to PHP 8.5 / Symfony 7.4 and modernize CI, PHPUnit and composer settings - #56

Closed
azine wants to merge 4 commits into
masterfrom
codex/upgrade-repo-to-php-8.5-and-symfony-7.4
Closed

Upgrade to PHP 8.5 / Symfony 7.4 and modernize CI, PHPUnit and composer settings#56
azine wants to merge 4 commits into
masterfrom
codex/upgrade-repo-to-php-8.5-and-symfony-7.4

Conversation

@azine

@azine azine commented May 22, 2026

Copy link
Copy Markdown
Owner

Motivation

  • Bring the package up to modern PHP/Symfony versions and developer tooling by requiring PHP 8.5 and Symfony 7.4-level components.
  • Modernize test tooling and CI so tests run on GitHub Actions with stable and lowest dependency matrices and use a current PHPUnit schema.
  • Improve composer metadata and autoloading for clearer packaging and developer workflows.

Description

  • Updated composer.json to require php:^8.5, Symfony ^7.4 components, doctrine/orm:^3.3, twig:^3.0, and bumped phpunit/phpunit to ^12.0, plus added autoload-dev and packaging config tweaks.
  • Added a GitHub Actions workflow at .github/workflows/phpunit.yml that validates composer, caches dependencies, installs stable/lowest deps and runs vendor/bin/phpunit -c phpunit.xml.dist on PHP 8.5.
  • Modernized phpunit.xml.dist to the PHPUnit 12 schema, enabled cache directory, adjusted coverage configuration, and set bootstrap to Tests/bootstrap.php.
  • Simplified .travis.yml to act as legacy CI with PHP 8.5 and a simple vendor/bin/phpunit -c phpunit.xml.dist script, and updated README.md and UPGRADE.md with new requirements and migration notes.

Testing

  • No automated test runs are included in this PR itself; CI is configured to run PHPUnit via GitHub Actions using vendor/bin/phpunit -c phpunit.xml.dist for both stable and lowest dependency modes on PHP 8.5.
  • The legacy Travis job was adjusted to run the same PHPUnit command for backward compatibility but no Travis run results are included here.

Codex Task

@azine azine closed this Aug 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant