Drop PHP 5.5 support

According to our policy to support PHP version 6 months after their
end of life, it is time to drop PHP 5.5.
This commit is contained in:
Adrien Crivelli 2017-01-23 11:44:16 +09:00
parent 152d39bd42
commit 682b1b8cb2
No known key found for this signature in database
GPG Key ID: B182FD79DC6DE92E
5 changed files with 4 additions and 5 deletions

View File

@ -1,7 +1,6 @@
language: php language: php
php: php:
- 5.5
- 5.6 - 5.6
- 7.0 - 7.0
- 7.1 - 7.1

View File

@ -33,7 +33,7 @@ PhpSpreadsheet is a library written in pure PHP and providing a set of classes t
## Requirements ## Requirements
* PHP version 5.5 or higher * PHP version 5.6 or higher
* PHP extension php_zip enabled (required if you need PhpSpreadsheet to handle .xlsx .ods or .gnumeric files) * PHP extension php_zip enabled (required if you need PhpSpreadsheet to handle .xlsx .ods or .gnumeric files)
* PHP extension php_xml enabled * PHP extension php_xml enabled
* PHP extension php_gd2 enabled (optional, but required for exact column width autocalculation) * PHP extension php_gd2 enabled (optional, but required for exact column width autocalculation)

View File

@ -23,7 +23,7 @@
} }
], ],
"require": { "require": {
"php": "^5.5|^7.0", "php": "^5.6|^7.0",
"ext-mbstring": "*", "ext-mbstring": "*",
"ext-iconv": "*", "ext-iconv": "*",
"ext-xml": "*", "ext-xml": "*",

View File

@ -12,7 +12,7 @@ spreadsheet file formats, like Excel and LibreOffice Calc.
The following software is required to develop using PhpSpreadsheet: The following software is required to develop using PhpSpreadsheet:
- PHP version 5.5 or newer - PHP version 5.6 or newer
- PHP extension php\_zip enabled (see - PHP extension php\_zip enabled (see
[FAQ](./faq.md#php-complains-about-ziparchive-not-being-found)) [FAQ](./faq.md#php-complains-about-ziparchive-not-being-found))
- PHP extension php\_xml enabled - PHP extension php\_xml enabled

View File

@ -3,7 +3,7 @@
require_once 'Header.php'; require_once 'Header.php';
$requirements = [ $requirements = [
'PHP 5.5.0' => version_compare(phpversion(), '5.5.0', '>='), 'PHP 5.6.0' => version_compare(phpversion(), '5.6.0', '>='),
'PHP extension XML' => extension_loaded('xml'), 'PHP extension XML' => extension_loaded('xml'),
'PHP extension xmlwriter' => extension_loaded('xmlwriter'), 'PHP extension xmlwriter' => extension_loaded('xmlwriter'),
'PHP extension mbstring' => extension_loaded('mbstring'), 'PHP extension mbstring' => extension_loaded('mbstring'),