From 1c418da6437d6ce3d8ceb7d1136a29204f582f31 Mon Sep 17 00:00:00 2001 From: Eric Richer Date: Tue, 22 Jun 2021 20:54:25 -0400 Subject: [PATCH] Support for PHP 8 --- .travis.yml | 7 ++++++- composer.json | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index b573f0e..2162ad6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,7 +26,12 @@ matrix: - php: 7.4 env: - DEPENDENCIES="--prefer-lowest --prefer-stable" - + - php: 8.0 + env: + - DEPENDENCIES="--prefer-lowest --prefer-stable" + - php: 8.0 + env: + - DEPENDENCIES="" before_install: - if [[ $TEST_COVERAGE != 'true' ]]; then phpenv config-rm xdebug.ini || return 0; fi diff --git a/composer.json b/composer.json index 1a0fabd..1d0e5d5 100644 --- a/composer.json +++ b/composer.json @@ -35,7 +35,7 @@ } ], "require": { - "php": "^7.3", + "php": "^7.3 || ^8.0", "laminas/laminas-servicemanager": "^3.3", "laminas/laminas-stdlib": "^3.1", "doctrine/persistence": "^2.0" @@ -45,7 +45,7 @@ "phpunit/phpunit": "^9.5.0", "phpspec/prophecy": "^1.10", "friendsofphp/php-cs-fixer": "^2.9.3", - "doctrine/doctrine-orm-module": "^3.1", + "php-coveralls/php-coveralls": "^2.0" }, "autoload": {