Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,13 @@
"abandoned": "ignore"
},
"block-insecure": false,
"policy": {
"advisories": {
"ignore": [
"laravel/framework"
]
}
},
Comment thread
spawnia marked this conversation as resolved.
Comment thread
spawnia marked this conversation as resolved.
"sort-packages": true
},
"extra": {
Expand Down
4 changes: 2 additions & 2 deletions tests/Microplate/CoordinateSystemTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
4 changes: 2 additions & 2 deletions tests/SafeCastTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
Loading