From 1cc562f647bffa95042690c32b30ae3f81ad7482 Mon Sep 17 00:00:00 2001 From: afrizal423 Date: Tue, 6 Jul 2021 19:41:18 +0700 Subject: [PATCH] support php8 changes: - update version composer.json php 8 and phpunit - update function setUp() to function setUp() : void --- composer.json | 4 ++-- tests/UrlCrypt/UrlCryptTest.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 1a4dda8..4503c55 100755 --- a/composer.json +++ b/composer.json @@ -15,12 +15,12 @@ "email": "dt_hoteles@atrapalo.com" }, "require": { - "php": "^7.0", + "php": "^7.0 | ^8.0", "ext-openssl": "*", "ext-mbstring": "*" }, "require-dev": { - "phpunit/phpunit": "^6.5" + "phpunit/phpunit": "^6.5 | ^9.5" }, "autoload": { "psr-4": {"Atrapalo\\": "src/"} diff --git a/tests/UrlCrypt/UrlCryptTest.php b/tests/UrlCrypt/UrlCryptTest.php index 5fcdc51..c4eba58 100755 --- a/tests/UrlCrypt/UrlCryptTest.php +++ b/tests/UrlCrypt/UrlCryptTest.php @@ -10,7 +10,7 @@ class UrlCryptTest extends TestCase /** @var UrlCrypt */ private $urlCrypt; - protected function setUp() + protected function setUp() : void { $this->urlCrypt = new UrlCrypt(); }