fix version comparison in phpunit downloader
This commit is contained in:
parent
57538c4b14
commit
a5bc54e333
|
@ -8,7 +8,7 @@ $phpVersion = PHP_MAJOR_VERSION . '.' . PHP_MINOR_VERSION;
|
|||
print "Running PHP $phpVersion\n";
|
||||
|
||||
|
||||
if(version_compare($phpVersion, '7.2') < 1) {
|
||||
if(version_compare($phpVersion, '7.2') < 0) {
|
||||
echo 'we no longer support PHP versions < 7.2 and thus do not support tests on them';
|
||||
exit(1);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue