From 6d9e46cc359a3550bb8fbc77059d073624895d10 Mon Sep 17 00:00:00 2001 From: Jason Klein Date: Sat, 12 Sep 2020 11:27:48 -0500 Subject: [PATCH 1/3] Add support for Laravel 8.x --- composer.json | 6 +++--- src/Sqs/Queue.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index 408677b..1d608b3 100644 --- a/composer.json +++ b/composer.json @@ -14,9 +14,9 @@ ], "require": { "php": ">=5.5.0", - "illuminate/support": "5.*|^6.0|^7.0", - "illuminate/queue": "5.*|^6.0|^7.0", - "illuminate/bus": "5.*|^6.0|^7.0", + "illuminate/support": "5.*|^6.0|^7.0|^8.0", + "illuminate/queue": "5.*|^6.0|^7.0|^8.0", + "illuminate/bus": "5.*|^6.0|^7.0|^8.0", "aws/aws-sdk-php": "~3.0" }, "require-dev": { diff --git a/src/Sqs/Queue.php b/src/Sqs/Queue.php index ffd6f98..1a9fcd4 100644 --- a/src/Sqs/Queue.php +++ b/src/Sqs/Queue.php @@ -72,7 +72,7 @@ public function pop($queue = null) $response = $this->modifyPayload($response['Messages'][0], $class); - if (preg_match('/(5\.[4-8]\..*)|(6\.[0-9]*\..*)|(7\.[0-9]*\..*)/', $this->container->version())) { + if (preg_match('/(5\.[4-8]\..*)|(6\.[0-9]*\..*)|(7\.[0-9]*\..*)|(8\.[0-9]*\..*)/', $this->container->version())) { return new SqsJob($this->container, $this->sqs, $response, $this->connectionName, $queue); } From 1f60d4b0219696799884031b1be227963319e76c Mon Sep 17 00:00:00 2001 From: Jason Klein Date: Sun, 13 Sep 2020 12:35:37 -0500 Subject: [PATCH 2/3] Replace tabs with spaces in composer.json file --- composer.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 1d608b3..c3d36f4 100644 --- a/composer.json +++ b/composer.json @@ -15,9 +15,9 @@ "require": { "php": ">=5.5.0", "illuminate/support": "5.*|^6.0|^7.0|^8.0", - "illuminate/queue": "5.*|^6.0|^7.0|^8.0", - "illuminate/bus": "5.*|^6.0|^7.0|^8.0", - "aws/aws-sdk-php": "~3.0" + "illuminate/queue": "5.*|^6.0|^7.0|^8.0", + "illuminate/bus": "5.*|^6.0|^7.0|^8.0", + "aws/aws-sdk-php": "~3.0" }, "require-dev": { "phpunit/phpunit": "3.7.*", From cd545523f14a17471f823894a5f4fbbd9c497eee Mon Sep 17 00:00:00 2001 From: Denis Mysenko Date: Tue, 13 Oct 2020 10:06:14 +1100 Subject: [PATCH 3/3] Update composer.json --- composer.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 66c6f91..1d608b3 100644 --- a/composer.json +++ b/composer.json @@ -15,9 +15,9 @@ "require": { "php": ">=5.5.0", "illuminate/support": "5.*|^6.0|^7.0|^8.0", - "illuminate/queue": "5.*|^6.0|^7.0|^8.0", - "illuminate/bus": "5.*|^6.0|^7.0|^8.0", - "aws/aws-sdk-php": "~3.0" + "illuminate/queue": "5.*|^6.0|^7.0|^8.0", + "illuminate/bus": "5.*|^6.0|^7.0|^8.0", + "aws/aws-sdk-php": "~3.0" }, "require-dev": { "phpunit/phpunit": "3.7.*",