From e34d884b188572598920cdd1664b6704c494bbbd Mon Sep 17 00:00:00 2001 From: Yozhef Date: Tue, 26 Jan 2021 17:23:47 +0200 Subject: [PATCH] Support PHP 8.0 --- .travis.yml | 4 +++- README.md | 2 +- composer.json | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index f903387..466adbf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,10 +6,12 @@ php: - 7.2 - 7.3 - 7.4 + - 8.0 env: - SYMFONY_VERSION=4.4.* - SYMFONY_VERSION=5.0.* + - SYMFONY_VERSION=5.2.* cache: directories: @@ -25,7 +27,7 @@ install: - vendor/bin/simple-phpunit install -script: vendor/bin/simple-phpunit -v --coverage-clover=coverage.clover +script: XDEBUG_MODE=coverage vendor/bin/simple-phpunit -v --coverage-clover=coverage.clover after_script: - wget https://scrutinizer-ci.com/ocular.phar diff --git a/README.md b/README.md index a361ada..c677c46 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -This is the fork of MinkBrowserKitDriver library that supports PHP `^7.2` and supports Symfony `^4.4` and `^5.0`. +This is the fork of MinkBrowserKitDriver library that supports PHP `^7.2` and `^8.0` and supports Symfony `^4.4` and `^5.0`. For the documentation, please [refer to the original repository](https://github.com/minkphp/MinkBrowserKitDriver). diff --git a/composer.json b/composer.json index 9a850ca..8268417 100644 --- a/composer.json +++ b/composer.json @@ -15,7 +15,7 @@ ], "require": { - "php": "^7.2", + "php": "^7.2|^8.0", "behat/mink": "^1.7", "symfony/browser-kit": "^4.4|^5.0", "symfony/dom-crawler": "^4.4|^5.0"