Skip to content

Commit

Permalink
Execute / lint ReadOnlyByPhpDocPropertyRuleTest starting with PHP 8…
Browse files Browse the repository at this point in the history
… instead of 8.1
  • Loading branch information
herndlm authored and ondrejmirtes committed Jun 7, 2022
1 parent 64b0907 commit c318cc6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ protected function getRule(): Rule

public function testRule(): void
{
if (PHP_VERSION_ID < 80100) {
$this->markTestSkipped('Test requires PHP 8.1.');
if (PHP_VERSION_ID < 80000) {
$this->markTestSkipped('Test requires PHP 8.0.');
}

$this->analyse([__DIR__ . '/data/read-only-property-phpdoc.php'], [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php // lint >= 8.1
<?php // lint >= 8.0

namespace ReadOnlyPropertyPhpDoc;

Expand Down

0 comments on commit c318cc6

Please sign in to comment.