diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index fa634a1..9a19915 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -13,6 +13,7 @@ jobs: fail-fast: false matrix: php: + - 8.1 - 8.2 - 8.3 - 8.4 diff --git a/composer.json b/composer.json index 414d680..a07caa6 100644 --- a/composer.json +++ b/composer.json @@ -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": { diff --git a/tests/IntBackedEnum/ArrayableTest.php b/tests/IntBackedEnum/ArrayableTest.php index 8ce69ce..f8ba6a9 100644 --- a/tests/IntBackedEnum/ArrayableTest.php +++ b/tests/IntBackedEnum/ArrayableTest.php @@ -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] @@ -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] @@ -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); } } diff --git a/tests/StringBackedEnum/ArrayableTest.php b/tests/StringBackedEnum/ArrayableTest.php index 336bfd5..46761d9 100644 --- a/tests/StringBackedEnum/ArrayableTest.php +++ b/tests/StringBackedEnum/ArrayableTest.php @@ -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] @@ -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] @@ -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); } }