From 1c122a3d2c2951287753fa3ff2c09a2058826e93 Mon Sep 17 00:00:00 2001 From: kiler129 Date: Wed, 20 Jan 2021 20:03:09 -0600 Subject: [PATCH] Add support for PHP 8 --- .travis.yml | 1 + composer.json | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 105c441..d934c76 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,6 +14,7 @@ php: - '7.2' - '7.3' - '7.4' +- '8.0' before_script: - sudo apt-get update diff --git a/composer.json b/composer.json index a908f03..abcecf7 100644 --- a/composer.json +++ b/composer.json @@ -41,18 +41,18 @@ } }, "require": { - "php": "^7.2", + "php": "^7.2|^8.0", "ext-sockets": "*", "divineomega/php-ssh-connection": "^2.2" }, "require-dev": { "friendsofphp/php-cs-fixer": "^2.16", - "limedeck/phpunit-detailed-printer": "^5.0", + "limedeck/phpunit-detailed-printer": "^6.0", "orchestra/testbench": "^4.0|^5.0", "phpstan/phpstan": "^0.12.32", "phpstan/phpstan-strict-rules": "^0.12.2", - "phpunit/phpunit": "^8.0", - "rector/rector": "^0.7.41", + "phpunit/phpunit": "^9.0", + "rector/rector": "^0.9.12", "roave/security-advisories": "dev-master", "thecodingmachine/phpstan-strict-rules": "^0.12.0", "squizlabs/php_codesniffer": "^3.5",