mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
API Drop PHP 5.5 support, limit PHP 5.6 to 2018
This commit is contained in:
commit
62f8aa4408
@ -14,7 +14,7 @@ env:
|
|||||||
matrix:
|
matrix:
|
||||||
fast_finish: true
|
fast_finish: true
|
||||||
include:
|
include:
|
||||||
- php: 5.5
|
- php: 5.6
|
||||||
env: DB=PGSQL PHPUNIT_TEST=1
|
env: DB=PGSQL PHPUNIT_TEST=1
|
||||||
- php: 5.6
|
- php: 5.6
|
||||||
env: DB=MYSQL PHPUNIT_TEST=1 PHPCS_TEST=1
|
env: DB=MYSQL PHPUNIT_TEST=1 PHPCS_TEST=1
|
||||||
@ -32,7 +32,6 @@ matrix:
|
|||||||
before_script:
|
before_script:
|
||||||
- export CORE_RELEASE=$TRAVIS_BRANCH
|
- export CORE_RELEASE=$TRAVIS_BRANCH
|
||||||
- printf "\n" | pecl install imagick
|
- printf "\n" | pecl install imagick
|
||||||
- composer self-update || true
|
|
||||||
- "if [ \"$PHPCS_TEST\" = \"1\" ]; then pyrus install pear/PHP_CodeSniffer; fi"
|
- "if [ \"$PHPCS_TEST\" = \"1\" ]; then pyrus install pear/PHP_CodeSniffer; fi"
|
||||||
- phpenv rehash
|
- phpenv rehash
|
||||||
- phpenv config-rm xdebug.ini
|
- phpenv config-rm xdebug.ini
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=5.5.0",
|
"php": ">=5.6.0",
|
||||||
"composer/installers": "~1.0",
|
"composer/installers": "~1.0",
|
||||||
"embed/embed": "^2.6",
|
"embed/embed": "^2.6",
|
||||||
"league/flysystem": "~1.0.12",
|
"league/flysystem": "~1.0.12",
|
||||||
|
@ -8,7 +8,8 @@ Our web-based [PHP installer](installation/) can check if you meet the requireme
|
|||||||
|
|
||||||
## Web server software requirements
|
## Web server software requirements
|
||||||
|
|
||||||
* PHP 5.5 or newer
|
* PHP 5.6 and PHP 7.1+
|
||||||
|
* PHP 5.6 support will be dropped in Dec 2018 (see [php.net: Supported Versions](http://php.net/supported-versions.php))
|
||||||
* We recommend using a PHP accelerator or opcode cache, such as [xcache](http://xcache.lighttpd.net/) or [WinCache](http://www.iis.net/download/wincacheforphp).
|
* We recommend using a PHP accelerator or opcode cache, such as [xcache](http://xcache.lighttpd.net/) or [WinCache](http://www.iis.net/download/wincacheforphp).
|
||||||
* Allocate at least 48MB of memory to each PHP process. (SilverStripe can be resource hungry for some intensive operations.)
|
* Allocate at least 48MB of memory to each PHP process. (SilverStripe can be resource hungry for some intensive operations.)
|
||||||
* Required modules: dom, gd2, fileinfo, hash, iconv, mbstring, mysqli (or other database driver), session, simplexml, tokenizer, xml.
|
* Required modules: dom, gd2, fileinfo, hash, iconv, mbstring, mysqli (or other database driver), session, simplexml, tokenizer, xml.
|
||||||
|
@ -1027,7 +1027,8 @@ now generally safer to use the default inherited config, where in the past you w
|
|||||||
|
|
||||||
#### <a name="overview-general-api"></a>General and Core API Additions / Changes
|
#### <a name="overview-general-api"></a>General and Core API Additions / Changes
|
||||||
|
|
||||||
* Minimum PHP version raised to 5.5.0
|
* Minimum PHP version raised to 5.6 (with support for PHP 7.1+)
|
||||||
|
* PHP 5.6 support will be dropped in Dec 2018 (see [php.net: Supported Versions](http://php.net/supported-versions.php))
|
||||||
* Minimum CMS browser requirement raised from Internet Explorer 8 to Internet Explorer 10
|
* Minimum CMS browser requirement raised from Internet Explorer 8 to Internet Explorer 10
|
||||||
* Updated PHPUnit from 3.7 to 4.8 ([upgrade notes](https://github.com/sebastianbergmann/phpunit/wiki/Release-Announcement-for-PHPUnit-4.0.0#backwards-compatibility-issues)).
|
* Updated PHPUnit from 3.7 to 4.8 ([upgrade notes](https://github.com/sebastianbergmann/phpunit/wiki/Release-Announcement-for-PHPUnit-4.0.0#backwards-compatibility-issues)).
|
||||||
Please remove any PHPUnit related `require_once()` calls (e.g. in `FeatureContext`
|
Please remove any PHPUnit related `require_once()` calls (e.g. in `FeatureContext`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user