Skip to content

Commit

Permalink
change php.min to 4.0.0 to avoid false results in other context that …
Browse files Browse the repository at this point in the history
…solve issue gh-275
  • Loading branch information
llaville committed Sep 29, 2020
1 parent 83492c2 commit 7ed2d57
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public function collect(array $nodes): array
// @see https://github.com/bovigo/vfsStream/blob/v1.6.0/src/test/php/org/bovigo/vfs/vfsStreamZipTestCase.php#L39
$versions['ext.min'] = '0.1.0';
$versions['ext.max'] = $versions['php.max'] = '';
$versions['php.min'] = '5.3.0';
$versions['php.min'] = '4.0.0';
}

$this->conditions = [sprintf('%s(%s)', $item['id'], $item['versions']['opt.name']) => $versions];
Expand Down
2 changes: 1 addition & 1 deletion tests/Reference/IssueTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ public function testRegressionGH275()
$extensions['zip']['ext.max']
);
$this->assertEquals(
'5.3.0',
'4.0.0',
$extensions['zip']['php.min']
);
$this->assertEquals(
Expand Down

0 comments on commit 7ed2d57

Please sign in to comment.