Skip to content

Commit

Permalink
Fix run-time PHP version check
Browse files Browse the repository at this point in the history
  • Loading branch information
kocsismate committed Sep 4, 2019
1 parent 11b7f82 commit 0de51e9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ REMOVED:

FIXED:

## 2.8.1 - 2019-09-04

FIXED:

- Run-time PHP version check

## 2.8.0 - 2019-09-04

ADDED:
Expand Down
2 changes: 1 addition & 1 deletion bin/zen
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ declare(strict_types=1);

use WoohooLabs\Zen\Container\Builder\FileSystemContainerBuilder;

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

0 comments on commit 0de51e9

Please sign in to comment.