Repository navigation
Tech: require PHP 8.1 and test PHP 8.4 and 8.5 against Laravel 12 and 13 in CI - #34
Merged
Merged
Conversation
The workflow ran a single job with whatever Composer resolved, so only the newest Laravel and PHP were exercised. It now runs a matrix of PHP 8.2 to 8.5 against Laravel 12 and 13 and a separate lint job. Laravel 10 and 11 are not in the matrix because Composer refuses to install every release of those lines under its default security advisory policy. The package uses PHP 8 syntax and the dev dependencies (Pest 2, Testbench 8) already require PHP 8.1, so the requirement is declared. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2 tasks done
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
"php": "^8.1"incomposer.json. The code usesmatch,str_starts_withand constructor promotion, and the dev dependencies (Pest 2, Testbench 8) already require 8.1, so this only makes the existing requirement explicit.composer validate --strict,pint --test) and a Tests matrix.^10) and Laravel 13 (Testbench^11).Why not Laravel 9, 10 and 11
Composer's default security advisory policy now blocks every release of
laravel/framework10.x and 11.x, socomposer updatefails for those lines (checked locally with a dry run). Laravel 9 was never testable here since Testbench 7 is not inrequire-dev. Theilluminate/*constraints incomposer.jsonare left untouched in this PR. Narrowing them to^12|^13is worth doing in the next release, but that is a separate decision.Test plan
composer validate --strictcomposer testlocally (42 passed)🤖 Generated with Claude Code