From 4c283dbfdbeedb23b1b0f91d641fc916f0ed6d91 Mon Sep 17 00:00:00 2001 From: Benedikt Franke Date: Tue, 7 Jul 2026 12:05:01 +0200 Subject: [PATCH 1/3] fix: ignore security advisories for legacy laravel/framework versions in dev matrix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 https://github.com/mll-lab/php-utils/issues/44 🤖 Generated with Claude Code --- composer.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/composer.json b/composer.json index 9f3cb7cb..5b1d3ad6 100644 --- a/composer.json +++ b/composer.json @@ -70,6 +70,13 @@ ], "abandoned": "ignore" }, + "policy": { + "advisories": { + "ignore": [ + "laravel/framework" + ] + } + }, "block-insecure": false, "sort-packages": true }, From 386ad9134bd3190dde422407fc10260a32cb397b Mon Sep 17 00:00:00 2001 From: spawnia <12158000+spawnia@users.noreply.github.com> Date: Tue, 7 Jul 2026 10:08:33 +0000 Subject: [PATCH 2/3] Normalize composer.json --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 5b1d3ad6..cb14a86b 100644 --- a/composer.json +++ b/composer.json @@ -70,6 +70,7 @@ ], "abandoned": "ignore" }, + "block-insecure": false, "policy": { "advisories": { "ignore": [ @@ -77,7 +78,6 @@ ] } }, - "block-insecure": false, "sort-packages": true }, "extra": { From 1f10594ad54f61064189508589828cfd0b5a2b98 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 7 Jul 2026 10:19:22 +0000 Subject: [PATCH 3/3] Apply php-cs-fixer changes --- tests/Microplate/CoordinateSystemTest.php | 4 ++-- tests/SafeCastTest.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/Microplate/CoordinateSystemTest.php b/tests/Microplate/CoordinateSystemTest.php index 6af7acf8..a88361a1 100644 --- a/tests/Microplate/CoordinateSystemTest.php +++ b/tests/Microplate/CoordinateSystemTest.php @@ -63,11 +63,11 @@ public function testEquals(): void self::assertTrue($coordinateSystem6x8->equals($coordinateSystem6x8AnotherInstance)); self::assertTrue($coordinateSystem6x8AnotherInstance->equals($coordinateSystem6x8)); - $coordinateSystem6x8Child = new class() extends CoordinateSystem6x8 {}; + $coordinateSystem6x8Child = new class extends CoordinateSystem6x8 {}; self::assertTrue($coordinateSystem6x8->equals($coordinateSystem6x8Child)); self::assertTrue($coordinateSystem6x8Child->equals($coordinateSystem6x8)); - $coordinateSystem8x8ModifiedChild = new class() extends CoordinateSystem6x8 { + $coordinateSystem8x8ModifiedChild = new class extends CoordinateSystem6x8 { public function columns(): array { return range(1, 8); diff --git a/tests/SafeCastTest.php b/tests/SafeCastTest.php index f511b064..f8379236 100644 --- a/tests/SafeCastTest.php +++ b/tests/SafeCastTest.php @@ -149,13 +149,13 @@ public static function validStringProvider(): iterable yield ['0', 0]; yield ['3.14', 3.14]; yield ['-2.5', -2.5]; - yield ['object-string-with-stringable-interface', new class() implements \Stringable { + yield ['object-string-with-stringable-interface', new class implements \Stringable { public function __toString(): string { return 'object-string-with-stringable-interface'; } }]; - yield ['object-string-without-stringable-interface', new class() { + yield ['object-string-without-stringable-interface', new class { public function __toString(): string { return 'object-string-without-stringable-interface';