Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Jul 16, 2020
1 parent 92b116a commit cb4b6ed
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,10 @@ public function dataRequiredParameterAfterOptional(): array
*/
public function testRequiredParameterAfterOptional(int $phpVersionId, array $errors): void
{
if (!self::$useStaticReflectionProvider && PHP_VERSION_ID < 70400) {
$this->markTestSkipped('Test requires PHP 7.4.');
}

$this->phpVersionId = $phpVersionId;
$this->analyse([__DIR__ . '/data/required-parameter-after-optional-arrow.php'], $errors);
}
Expand Down

0 comments on commit cb4b6ed

Please sign in to comment.