Skip to content

Commit d043a32

Browse files
committed
fix: test
1 parent 5c7b0dc commit d043a32

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/Integration/EnumTest.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
/**
1616
* Class EnumTest
17+
*
1718
* @package Tests
1819
*/
1920
class EnumTest extends TestCase
@@ -23,11 +24,11 @@ class EnumTest extends TestCase
2324
*/
2425
public function testEmptyWritingStyle(): void
2526
{
26-
if (PHP_MAJOR_VERSION < 8.1) {
27+
if (PHP_MAJOR_VERSION < 8 || (PHP_MAJOR_VERSION === 8 && PHP_MINOR_VERSION < 1)) {
2728
$this->markTestSkipped('Php version mismatch');
2829
return;
2930
}
30-
31+
3132
$data = [
3233
'colorEnum' => 'Red',
3334
'colorScalarEnum' => 'R',

0 commit comments

Comments
 (0)