diff --git a/composer.json b/composer.json index 9f3cb7cb..cb14a86b 100644 --- a/composer.json +++ b/composer.json @@ -71,6 +71,13 @@ "abandoned": "ignore" }, "block-insecure": false, + "policy": { + "advisories": { + "ignore": [ + "laravel/framework" + ] + } + }, "sort-packages": true }, "extra": { 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';