Skip to content

Commit

Permalink
Ensure test is only run on PHP 8+
Browse files Browse the repository at this point in the history
  • Loading branch information
thekid committed Jun 25, 2023
1 parent 6415b1a commit 70af1ed
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@

use ReflectionClass, StdClass as Dynamic;
use lang\meta\FromAttributes;
use test\verify\Runtime;
use test\{Assert, Test, Ignore as Skip};
use util\Comparison as WithComparison;

#[Runtime(php: '>=8.0')]
class FromAttributesTest {

#[Test]
Expand All @@ -19,6 +21,7 @@ public function imports() {
'ReflectionClass' => null,
'FromAttributes' => FromAttributes::class,
'Dynamic' => Dynamic::class,
'Runtime' => Runtime::class,
'Assert' => Assert::class,
'Test' => Test::class,
'WithComparison' => WithComparison::class,
Expand Down

0 comments on commit 70af1ed

Please sign in to comment.