From 083969f3729f7ceed9c6fd16b15fff5e485d933f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Venu=C5=A1?= Date: Tue, 2 Feb 2021 19:43:54 +0100 Subject: [PATCH] Add PHP 8.0 support --- .travis.yml | 5 +++-- composer.json | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5aeaa96..d34e0c2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,7 @@ php: - '7.1' - '7.2' - '7.3' + - '8.0' before_install: @@ -15,7 +16,7 @@ install: script: - vendor/bin/tester tests/ - vendor/bin/phpcs --standard=ruleset.xml --extensions=php,phpt src/ tests/ - - if [ "$TRAVIS_PHP_VERSION" == "7.2" ]; then vendor/bin/phpstan.phar analyse -l 7 src; fi + - if [ "$TRAVIS_PHP_VERSION" == "8.0" ]; then vendor/bin/phpstan.phar analyse -l 7 src; fi notifications: - email: false \ No newline at end of file + email: false diff --git a/composer.json b/composer.json index 563a418..3adf968 100644 --- a/composer.json +++ b/composer.json @@ -12,7 +12,7 @@ ], "require": { - "php": "^7.1", + "php": "^7.1 || ^8.0", "guzzlehttp/guzzle": "^6.3", "smartemailing/types": "^1.0", "tracy/tracy": "^2.4",