fix: ignore security advisories for legacy laravel/framework versions in dev matrix#92
Merged
Conversation
… in dev matrix Legacy PHP versions (7.4, 8.0, 8.1) can only install older laravel/framework versions that carry known security advisories. Since this is a dev-only dependency pulled in via orchestra/testbench, blocking on these advisories prevents CI from running on the supported PHP version range without any practical security impact. Closes #44 🤖 Generated with Claude Code
spawnia
marked this pull request as ready for review
July 7, 2026 10:19
There was a problem hiding this comment.
Pull request overview
Updates Composer configuration to allow the CI dev-matrix to run against legacy PHP/Laravel combinations by ignoring security-advisory blocking for laravel/framework, and applies minor test syntax adjustments for anonymous classes.
Changes:
- Adds
config.policy.advisories.ignoreforlaravel/frameworkincomposer.json. - Updates anonymous-class instantiation syntax in a couple of PHPUnit tests.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
composer.json |
Adds Composer advisory policy to ignore laravel/framework advisories. |
tests/SafeCastTest.php |
Removes empty parentheses from anonymous class instantiation in a data provider. |
tests/Microplate/CoordinateSystemTest.php |
Removes empty parentheses from anonymous class instantiation in equality tests. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
github-actions Bot
pushed a commit
that referenced
this pull request
Jul 7, 2026
## [6.13.1](v6.13.0...v6.13.1) (2026-07-07) ### Bug Fixes * ignore security advisories for legacy laravel/framework versions in dev matrix ([#92](#92)) ([3517b7f](3517b7f))
|
🎉 This PR is included in version 6.13.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
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
Legacy PHP versions (7.4, 8.0, 8.1) can only install older
laravel/frameworkversions that carry known security advisories. Since this is a dev-only dependency pulled in viaorchestra/testbench, blocking on these advisories prevents CI from running on the supported PHP version range without any practical security impact.Adds
config.policy.advisories.ignoreforlaravel/frameworkto tell Composer 2.10+ to skip advisory blocking for this package.🤖 Generated with Claude Code