Skip to content

Commit

Permalink
FIXUP more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
thg2k committed Jun 18, 2024
1 parent 03a6631 commit 791541d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/PHPStan/Analyser/NodeScopeResolverTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ public function dataFileAsserts(): iterable
*/
public function testFileAsserts(string $file, ?array $requirement = null): void
{
if ($requirement && version_compare(PHP_VERSION, $requirement[1], $requirement[0]) === false) {
if ($requirement !== null && version_compare(PHP_VERSION, $requirement[1], $requirement[0]) === false) {
$this->markTestSkipped(sprintf('Requires php %s %s', $requirement[0], $requirement[1]));
}

Expand Down

0 comments on commit 791541d

Please sign in to comment.