Skip to content

Commit a5cf4fe

Browse files
authored
Only test enums on PHP 8.1+
1 parent 819ce0e commit a5cf4fe

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

tests/PermissionMiddlewareTest.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,12 @@ public function the_middleware_can_be_created_with_static_using_method()
435435
);
436436
}
437437

438-
/** @test */
438+
/**
439+
* @test
440+
*
441+
* @requires PHP >= 8.1
442+
*/
443+
#[RequiresPhp('>= 8.1')]
439444
#[Test]
440445
public function the_middleware_can_handle_enum_based_permissions()
441446
{

0 commit comments

Comments
 (0)