Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Jan 12, 2022
1 parent 3b5fd94 commit 9d66886
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Expand Up @@ -370,6 +370,10 @@ public function testBug3703(): void

public function testBug6333(): void
{
if (PHP_VERSION_ID < 70400 && !self::$useStaticReflectionProvider) {
$this->markTestSkipped('Test requires PHP 7.4.');
}

$this->analyse([__DIR__ . '/data/bug-6333.php'], []);
}

Expand Down
2 changes: 1 addition & 1 deletion tests/PHPStan/Rules/Properties/data/bug-6333.php
@@ -1,4 +1,4 @@
<?php
<?php // lint >= 7.4

namespace Bug6333;

Expand Down

0 comments on commit 9d66886

Please sign in to comment.