From 8c99d9d8c006464ecbe689388583433ca612f331 Mon Sep 17 00:00:00 2001 From: MarkBaker Date: Fri, 28 Dec 2018 22:11:35 +0100 Subject: [PATCH] Update to minimum PHP version of 7.0, and use as a new baseline development branch for PHPSpreadsheet version 2 development --- .travis.yml | 7 +++---- composer.json | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 799a9edf..bfd63c56 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,6 @@ language: php dist: trusty php: - - 5.6 - 7.0 - 7.1 - 7.2 @@ -26,13 +25,13 @@ jobs: include: - stage: Code style - php: 7.2 + php: 7.3 script: - ./vendor/bin/php-cs-fixer fix --diff --verbose --dry-run - ./vendor/bin/phpcs --report-width=200 samples/ src/ tests/ --ignore=samples/Header.php --standard=PSR2 -n - stage: Coverage - php: 7.2 + php: 7.3 env: KEEP_XDEBUG=1 script: - travis_wait 40 ./vendor/bin/phpunit --debug --coverage-clover coverage-clover.xml @@ -41,7 +40,7 @@ jobs: - php ocular.phar code-coverage:upload --format=php-clover tests/coverage-clover.xml - stage: API documentation - php: 7.2 + php: 7.3 before_script: - curl -O https://get.sensiolabs.org/sami.phar script: diff --git a/composer.json b/composer.json index d533e3c0..b90dab42 100644 --- a/composer.json +++ b/composer.json @@ -39,7 +39,7 @@ ] }, "require": { - "php": "^5.6|^7.0", + "php": "^7.0", "ext-ctype": "*", "ext-dom": "*", "ext-gd": "*",