Skip to content

Conversation

@chrisdicarlo
Copy link
Owner

@chrisdicarlo chrisdicarlo commented Nov 25, 2025

This pull request updates the project's testing configuration and dependencies to improve compatibility with newer PHP versions and Laravel releases. The most significant changes are in the test matrix and dependency requirements.

Testing matrix updates:

  • Added support for PHP 8.5 in the GitHub Actions test matrix, while excluding incompatible combinations (e.g., Laravel 10.* with PHP 8.5) and allowing tests to continue on error for PHP 8.5. [1] [2]
  • Changed fail-fast to false in the test matrix to allow all test jobs to run even if some fail.

Dependency updates:

  • Increased the minimum required PHP version to 8.1 in composer.json.
  • Added brianium/paratest as a dev dependency for parallel testing.
  • Updated the nesbot/carbon dev dependency to support both major versions 2 and 3.

@chrisdicarlo chrisdicarlo force-pushed the update-tests-for-php85 branch from fb03cf9 to 0e335ab Compare November 25, 2025 18:17
@chrisdicarlo chrisdicarlo force-pushed the update-tests-for-php85 branch from 52d7a5a to 4f6f28c Compare November 25, 2025 18:56
PHP 8.5 was just released and the Pest/Paratest/PHPUnit ecosystem
doesn't fully support it yet. Paratest 7.8.x (used by Pest 3.x) only
supports PHP 8.2-8.4, while Paratest 7.12+ supports PHP 8.5 but requires
PHPUnit 12 (incompatible with Pest 3.x).

Changes:
- Set fail-fast: false to run all test combinations
- Add continue-on-error for PHP 8.5 tests only
- PHP 8.1-8.4 test failures will still fail the build
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