Skip to content

Conversation

@bobmulder
Copy link
Member

This pull request updates the project's PHP version support and modernizes the CI workflows. The changes ensure compatibility with newer PHP versions (up to 8.2) and improve caching and setup steps in GitHub Actions, making the CI process more robust and future-proof.

PHP Version Support:

  • Extended PHP version compatibility in composer.json to include PHP 8.1 and 8.2, allowing the library to be used and tested on the latest PHP releases.

Continuous Integration Workflow Improvements:

Test Matrix and Setup:

  • Updated the test matrix in .github/workflows/run-tests.yml and .github/workflows/psalm.yml to run against PHP 7.4, 8.0, 8.1, and 8.2, ensuring all supported versions are tested. [1] [2]

Actions and Caching:

  • Upgraded actions/checkout and actions/cache to version 4 in both workflows for improved performance and security. [1] [2]
  • Enhanced cache key strategies to include PHP versions and composer lock file hashes, and added restore-keys for better cache hit rates. [1] [2]

Tooling Configuration:

  • Updated .php-cs-fixer.cache to reflect the latest PHP version and code style rules, aligning with the new PHP 8.2 support.

@bobmulder bobmulder merged commit 3dc3bf1 into master Dec 18, 2025
16 checks passed
@bobmulder bobmulder deleted the feature/update-github-workflows branch December 18, 2025 21:37
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