diff --git a/.gitignore b/.gitignore index 5831ca9..1c85221 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ Homestead.yaml .DS_Store composer.lock phpunit.xml +.phpunit.result.cache \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index fe3309e..a79eeb8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,6 @@ language: php php: - - 7.0 - 7.1 + - 7.2 + - 7.3 before_script: composer install diff --git a/composer.json b/composer.json index 9ecaccf..3d0b3e0 100644 --- a/composer.json +++ b/composer.json @@ -26,16 +26,16 @@ "require": { "php": ">=7.0", "php-amqplib/php-amqplib": "v2.8.1", - "illuminate/console": "5.4.*|5.5.*|5.6.*|5.7.*", - "illuminate/support": "5.4.*|5.5.*|5.6.*|5.7.*", - "vinelab/http": "^1.5", - "illuminate/filesystem": "5.4.*|5.5.*|5.6.*|5.7.*" + "illuminate/console": "5.4.*|5.5.*|5.6.*|5.7.*|5.8.* || ^6", + "illuminate/support": "5.4.*|5.5.*|5.6.*|5.7.*|5.8.* || ^6", + "illuminate/filesystem": "5.4.*|5.5.*|5.6.*|5.7.*|5.8.* || ^6", + "vinelab/http": "^1.5" }, "require-dev": { "mockery/mockery": "^1.0", - "orchestra/testbench": "3.4.*", - "phpunit/phpunit": "~5.7" + "orchestra/testbench": "3.4.* || ^4", + "phpunit/phpunit": "~5.7 || ~8.3" }, "autoload": { diff --git a/tests/ConnectionTest.php b/tests/ConnectionTest.php index c3a3f6b..2522210 100644 --- a/tests/ConnectionTest.php +++ b/tests/ConnectionTest.php @@ -14,7 +14,7 @@ */ class ConnectionTest extends TestCase { - public function tearDown() + public function tearDown() : void { M::close(); } diff --git a/tests/Console/Commands/ConsumerHealthCheckCommandTest.php b/tests/Console/Commands/ConsumerHealthCheckCommandTest.php index 1d097c6..7c7ac50 100644 --- a/tests/Console/Commands/ConsumerHealthCheckCommandTest.php +++ b/tests/Console/Commands/ConsumerHealthCheckCommandTest.php @@ -14,7 +14,7 @@ */ class ConsumerHealthCheckCommandTest extends TestCase { - public function tearDown() + public function tearDown() : void { M::close(); } diff --git a/tests/MessageLifecycleManagerTest.php b/tests/MessageLifecycleManagerTest.php index d099032..724c301 100644 --- a/tests/MessageLifecycleManagerTest.php +++ b/tests/MessageLifecycleManagerTest.php @@ -24,7 +24,7 @@ class MessageLifecycleManagerTest extends TestCase */ private $config; - protected function setUp() + protected function setUp() : void { parent::setUp(); $this->logger = Mockery::spy(Log::class);