Skip to content

fix: ignore security advisories for legacy laravel/framework versions in dev matrix#92

Merged
spawnia merged 3 commits into
masterfrom
fix-ci-legacy-php
Jul 7, 2026
Merged

fix: ignore security advisories for legacy laravel/framework versions in dev matrix#92
spawnia merged 3 commits into
masterfrom
fix-ci-legacy-php

Conversation

@spawnia

@spawnia spawnia commented Jul 7, 2026

Copy link
Copy Markdown
Member

Summary

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.

Adds config.policy.advisories.ignore for laravel/framework to tell Composer 2.10+ to skip advisory blocking for this package.

🤖 Generated with Claude Code

spawnia and others added 2 commits July 7, 2026 12:05
… 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
spawnia requested a review from Copilot July 7, 2026 10:19
@spawnia
spawnia marked this pull request as ready for review July 7, 2026 10:19

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.ignore for laravel/framework in composer.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.

Comment thread composer.json
Comment thread composer.json
@spawnia
spawnia merged commit 3517b7f into master Jul 7, 2026
30 checks passed
@spawnia
spawnia deleted the fix-ci-legacy-php branch July 7, 2026 10:56
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))
@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown

🎉 This PR is included in version 6.13.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

2 participants