From 1f85971635393af13a554e8171102134fb6ea9ff Mon Sep 17 00:00:00 2001 From: Kinane Date: Thu, 16 Jun 2022 18:20:14 +0300 Subject: [PATCH] Bump Laravel version support --- .travis.yml | 2 ++ Dockerfile | 2 +- README.md | 2 ++ composer.json | 12 ++++++------ .../Commands/ConsumerHealthCheckCommandTest.php | 2 +- 5 files changed, 12 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1ca3d7b..0b96aff 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,4 +4,6 @@ php: - 7.2 - 7.3 - 7.4 + - 8.0 + - 8.1 before_script: composer install diff --git a/Dockerfile b/Dockerfile index 4cd4788..9e12eec 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,3 @@ -FROM vinelab/nginx-php:7.4 +FROM vinelab/nginx-php:8.1 COPY . /code diff --git a/README.md b/README.md index 86d6720..386d101 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,8 @@ Starting version [v0.4.2](https://github.com/Vinelab/bowler/releases/tag/v0.4.2) Starting version [v0.5.0](https://github.com/Vinelab/bowler/releases/tag/v0.5.0) this library requires Laravel 5.7 or later versions. +Starting version [v0.9.0](https://github.com/Vinelab/bowler/releases/tag/v0.9.0) this library requires Laravel 6.0 or later versions. + ## Setup Install the package via Composer: diff --git a/composer.json b/composer.json index 77effae..f37a526 100644 --- a/composer.json +++ b/composer.json @@ -24,17 +24,17 @@ ], "require": { - "php": "^7.0", - "php-amqplib/php-amqplib": "v3.0.*", - "illuminate/console": "5.4.*|5.5.*|5.6.*|5.7.*|5.8.* || ^6 || ^7 || ^8 || ^9", - "illuminate/support": "5.4.*|5.5.*|5.6.*|5.7.*|5.8.* || ^6 || ^7 || ^8 || ^9", - "illuminate/filesystem": "5.4.*|5.5.*|5.6.*|5.7.*|5.8.* || ^6 || ^7 || ^8 || ^9", + "php": "8.*", + "php-amqplib/php-amqplib": "v3.2.*", + "illuminate/console": "^6 || ^7 || ^8 || ^9", + "illuminate/support": "^6 || ^7 || ^8 || ^9", + "illuminate/filesystem": "^6 || ^7 || ^8 || ^9", "vinelab/http": "^1.5" }, "require-dev": { "mockery/mockery": "^1.0", - "orchestra/testbench": "3.4.* || ^4", + "orchestra/testbench": "4.9.* || ^4 || ^5 || ^6 || ^7", "phpunit/phpunit": "~5.7 || ~8.3 || ^9" }, diff --git a/tests/Console/Commands/ConsumerHealthCheckCommandTest.php b/tests/Console/Commands/ConsumerHealthCheckCommandTest.php index 7a82290..b1991d5 100644 --- a/tests/Console/Commands/ConsumerHealthCheckCommandTest.php +++ b/tests/Console/Commands/ConsumerHealthCheckCommandTest.php @@ -6,7 +6,7 @@ use Vinelab\Bowler\Connection; use Vinelab\Bowler\Tests\TestCase; use PhpAmqpLib\Channel\AMQPChannel; -use Illuminate\Foundation\Testing\PendingCommand; +use Illuminate\Testing\PendingCommand; use PhpAmqpLib\Exception\AMQPProtocolChannelException; /**