Skip to content

Commit 1753b9f

Browse files
committed
Update test.php
1 parent fe0ae98 commit 1753b9f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

e2e/composer-max-version/test.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<?php
22

3-
\PHPStan\Testing\assertType('int<50207, 80300>', PHP_VERSION_ID);
4-
\PHPStan\Testing\assertType('int<5, 8>', PHP_MAJOR_VERSION);
3+
\PHPStan\Testing\assertType('int<70100, 80300>', PHP_VERSION_ID);
4+
\PHPStan\Testing\assertType('int<7, 8>', PHP_MAJOR_VERSION);
55
\PHPStan\Testing\assertType('int<0, max>', PHP_MINOR_VERSION);
66
\PHPStan\Testing\assertType('int<0, max>', PHP_RELEASE_VERSION);
77

8-
\PHPStan\Testing\assertType('-1|0|1', version_compare(PHP_VERSION, '7.0.0'));
9-
\PHPStan\Testing\assertType('bool', version_compare(PHP_VERSION, '7.0.0', '<'));
10-
\PHPStan\Testing\assertType('bool', version_compare(PHP_VERSION, '7.0.0', '>'));
8+
\PHPStan\Testing\assertType('1', version_compare(PHP_VERSION, '7.0.0'));
9+
\PHPStan\Testing\assertType('false', version_compare(PHP_VERSION, '7.0.0', '<'));
10+
\PHPStan\Testing\assertType('true', version_compare(PHP_VERSION, '7.0.0', '>'));

0 commit comments

Comments
 (0)