Skip to content

Commit

Permalink
Update run-time version requirement checking
Browse files Browse the repository at this point in the history
  • Loading branch information
kocsismate committed Sep 4, 2019
1 parent bdd161b commit 944412b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/zen
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ declare(strict_types=1);

use WoohooLabs\Zen\Container\Builder\FileSystemContainerBuilder;

if (version_compare("7.1.0", PHP_VERSION, ">")) {
if (version_compare("7.4.0", PHP_VERSION, ">")) {
fwrite(
STDERR,
"Woohoo Labs. Zen requires PHP 7.1 or later." . PHP_EOL
"Woohoo Labs. Zen requires PHP 7.4 or later." . PHP_EOL
);

die(1);
Expand Down

0 comments on commit 944412b

Please sign in to comment.