From c9b38cab8ba68bb64cef968d35496e795ce6f5a4 Mon Sep 17 00:00:00 2001 From: Norris Oduro Date: Thu, 19 Nov 2020 07:30:08 +0000 Subject: [PATCH] Upgrade deps --- composer.json | 7 +++---- tests/HubtelMessageTest.php | 8 ++++---- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/composer.json b/composer.json index 38779cc..5188b0c 100644 --- a/composer.json +++ b/composer.json @@ -12,14 +12,13 @@ } ], "require": { - "php": ">=5.6.4", - "guzzlehttp/guzzle": "^6.3", + "php": ">=7.2", + "guzzlehttp/guzzle": "^7.2", "illuminate/notifications": "5.3.*|5.4.*|5.5.*|5.6.*|5.7.*|5.8.*|6.*|7.*|8.*", "illuminate/support": "5.1.*|5.2.*|5.3.*|5.4.*|5.5.*|5.6.*|5.7.*|5.8.*|6.*|7.*|8.*" }, "require-dev": { - "mockery/mockery": "^0.9.5", - "phpunit/phpunit": "4.*" + "phpunit/phpunit": "^8.5" }, "autoload": { "psr-4": { diff --git a/tests/HubtelMessageTest.php b/tests/HubtelMessageTest.php index 6e47a68..25d1ef6 100644 --- a/tests/HubtelMessageTest.php +++ b/tests/HubtelMessageTest.php @@ -2,14 +2,14 @@ namespace NotificationChannels\Hubtel\Test; -use PHPUnit_Framework_TestCase; +use PHPUnit\Framework\TestCase; use NotificationChannels\Hubtel\HubtelMessage; -class HubtelMessageTest extends PHPUnit_Framework_TestCase +class HubtelMessageTest extends TestCase { public $message; - public function setUp() + public function setUp():void { parent::setUp(); $this->message = new HubtelMessage(); @@ -86,4 +86,4 @@ public function it_can_send_the_message_as_a_flash_message() $this->message->flashMessage(); $this->assertEquals($this->message->flashMessage, 'true'); } -} \ No newline at end of file +}