From 3af3e64eb5c85a044e888afea3a97e4a41e62591 Mon Sep 17 00:00:00 2001 From: sausin Date: Thu, 25 Mar 2021 02:34:55 +0530 Subject: [PATCH] Support for PHP 8.0 (#79) * Support for PHP 8.0 As mentioned in #78 there are some errors when installing in a PHP 8 setup. * Update composer.json --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 72b3b15..38884c7 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,7 @@ } }, "require": { - "php": "^7.4", + "php": "^7.4|^8.0", "illuminate/console": "^5.8|^6.0|^7.0|^8.0", "illuminate/support": "^5.8|^6.0|^7.0|^8.0", "nimbusoft/flysystem-openstack-swift": "^0.3.3" @@ -32,7 +32,7 @@ "require-dev": { "phpunit/phpunit": "^7.0|^8.0|^9.0", "mockery/mockery": "^1.3 >= 1.3.1", - "friendsofphp/php-cs-fixer": "^2.16.1", + "friendsofphp/php-cs-fixer": "^2.18", "brainmaestro/composer-git-hooks": "^2.8", "league/flysystem-cached-adapter": "^1.0 >= 1.0.2", "orchestra/testbench": "^3.8|^4.0|^5.0|^6.0"