Skip to content

Commit

Permalink
Dropped the support for PHP 5.5. The minimum version is 5.6
Browse files Browse the repository at this point in the history
  • Loading branch information
yosymfony committed Mar 19, 2017
1 parent 8b1d6a0 commit 4f546ff
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
language: php

php:
- 5.5
- 5.6
- 7.0
- 7.1
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
CHANGELOG for 2.x
=================
## 2.2.0
* [New] Dropped the support for PHP 5.5. The minimum version is 5.6.
* [Improved] Updated `PluginManagerBuilder` class with support for loading several plugins
from extra->spress_class attribute of a plugin's `composer.json` file.
* [Fixed] The `Spress-installer` plugin is included in the `composer.json` file when a new blank theme is created.
Expand Down
6 changes: 3 additions & 3 deletions bin/spress
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ if ((!$classloader = @include_once __DIR__.'/../vendor/autoload.php') &&
exit(1);
}

if (PHP_VERSION_ID < 50500) {
if (PHP_VERSION_ID < 50600) {
file_put_contents('php://stderr', sprintf(
"Spress requires PHP 5.5 version or higher and your system has\n".
"Spress requires PHP 5.6 version or higher and your system has\n".
"PHP %s version installed.\n\n",
PHP_VERSION
));
Expand Down Expand Up @@ -51,7 +51,7 @@ if (function_exists('ini_set')) {
if ($memoryLimit != -1 && $memoryInBytes($memoryLimit) < 1024 * 1024 * 1024) {
@ini_set('memory_limit', '1G');
}

unset($memoryInBytes, $memoryLimit);
}

Expand Down

0 comments on commit 4f546ff

Please sign in to comment.