Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ cache:

matrix:
include:
- php: 5.6
- php: 7.0
- php: 7.1
- php: hhvm
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},
"minimum-stability": "dev",
"require": {
"php": ">=5.6.0,<=7.1.99"
"php": ">= 7.0.0, <= 7.1.99",
"symfony/dependency-injection": "~2.6",
"symfony/yaml": "~2.6",
"symfony/config": "~2.6",
Expand Down
4 changes: 2 additions & 2 deletions core/phpList.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,8 @@ protected function configPageroot()

protected function configPhpVer()
{
if (version_compare(PHP_VERSION, '5.6.0', '<') && $this->config->get('WARN_ABOUT_PHP_SETTINGS')) {
throw new \Exception($this->lan->get('phpList requires PHP version 5.6.0 or higher'));
if (version_compare(PHP_VERSION, '7.0.0', '<') && $this->config->get('WARN_ABOUT_PHP_SETTINGS')) {
throw new \Exception($this->lan->get('phpList requires PHP version 7.0.0 or higher'));
}
}

Expand Down