From c68feb091d4513dceea69d4e2417e383cbc5a07a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Paris?= Date: Tue, 26 May 2020 21:26:29 +0200 Subject: [PATCH] Allow PHP 8 We want to let downstream project experiment while we fix our issues if we have some. Failures are allowed for now, and should no longer be once the feature freeze starts. --- .travis.yml | 8 ++++++++ composer.json | 2 +- composer.lock | 9 ++++++--- 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 330dc9d9ed..62954a12fd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,7 +23,15 @@ script: - ./vendor/bin/phpunit jobs: + allow_failures: + - php: nightly + include: + - stage: Test + php: nightly + before_install: + - composer config platform.php 7.4.99 + - stage: Test env: DEPENDENCIES=low install: diff --git a/composer.json b/composer.json index bae11be358..8cd7285d57 100644 --- a/composer.json +++ b/composer.json @@ -11,7 +11,7 @@ {"name": "Michael Simonson", "email": "contact@mikesimonson.com" } ], "require": { - "php": "^7.1", + "php": "^7.1 || ^8.0", "doctrine/dbal": "^2.9", "ocramius/package-versions": "^1.3", "ocramius/proxy-manager": "^2.0.2", diff --git a/composer.lock b/composer.lock index 0c26d48e96..422c2aa050 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "e970ed6b0b7248e533782fd05f3c826e", + "content-hash": "fe62969eff660130620916464cbd849a", "packages": [ { "name": "doctrine/cache", @@ -581,6 +581,7 @@ "code", "zf2" ], + "abandoned": "laminas/laminas-code", "time": "2017-10-20T15:21:32+00:00" }, { @@ -635,6 +636,7 @@ "events", "zf2" ], + "abandoned": "laminas/laminas-eventmanager", "time": "2018-04-25T15:33:34+00:00" } ], @@ -4073,9 +4075,10 @@ "prefer-stable": false, "prefer-lowest": false, "platform": { - "php": "^7.1" + "php": "^7.1 || ^8.0" }, "platform-dev": { "ext-pdo_sqlite": "*" - } + }, + "plugin-api-version": "1.1.0" }