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
1 change: 1 addition & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
fail-fast: false
matrix:
php:
- 8.1
- 8.2
- 8.3
- 8.4
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
"license": "MPL-2.0",

"require": {
"php": "^8.2",
"illuminate/support": "^11.0|^12.0"
"php": "^8.1",
"illuminate/support": "^10.0|^11.0|^12.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.84",
"orchestra/testbench": "^9.0|^10.0"
"orchestra/testbench": "^8.0|^9.0|^10.0"
},
"autoload": {
"psr-4": {
Expand Down
3 changes: 0 additions & 3 deletions tests/IntBackedEnum/ArrayableTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ public function it_can_list_names_of_an_int_backed_enum(): void
$this->assertIsArray($names);
$this->assertCount(5, $names);
$this->assertSame($expected, $names);
$this->assertContainsOnlyString($names);
}

#[Test]
Expand All @@ -31,7 +30,6 @@ public function it_can_list_values_of_an_int_backed_enum(): void
$this->assertIsArray($values);
$this->assertCount(5, $values);
$this->assertSame($expected, $values);
$this->assertContainsOnlyInt($values);
}

#[Test]
Expand All @@ -49,6 +47,5 @@ public function it_can_list_options_of_an_int_backed_enum(): void
$this->assertIsArray($options);
$this->assertCount(5, $options);
$this->assertSame($expected, $options);
$this->assertContainsOnlyString($options);
}
}
3 changes: 0 additions & 3 deletions tests/StringBackedEnum/ArrayableTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ public function it_can_list_names_of_a_string_backed_enum(): void
$this->assertIsArray($names);
$this->assertCount(5, $names);
$this->assertSame($expected, $names);
$this->assertContainsOnlyString($names);
}

#[Test]
Expand All @@ -31,7 +30,6 @@ public function it_can_list_values_of_a_string_backed_enum(): void
$this->assertIsArray($values);
$this->assertCount(5, $values);
$this->assertSame($expected, $values);
$this->assertContainsOnlyString($values);
}

#[Test]
Expand All @@ -49,6 +47,5 @@ public function it_can_list_options_of_a_string_backed_enum(): void
$this->assertIsArray($options);
$this->assertCount(5, $options);
$this->assertSame($expected, $options);
$this->assertContainsOnlyString($options);
}
}