diff --git a/composer.json b/composer.json index 5ae659b..13e9ccf 100644 --- a/composer.json +++ b/composer.json @@ -20,9 +20,9 @@ ], "require": { "php": ">=5.5.0", - "illuminate/support": "5.*|^6.0|^7.0|^8.0|^9.0|^10.0", - "illuminate/queue": "5.*|^6.0|^7.0|^8.0|^9.0|^10.0", - "illuminate/bus": "5.*|^6.0|^7.0|^8.0|^9.0|^10.0", + "illuminate/support": "5.*|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", + "illuminate/queue": "5.*|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", + "illuminate/bus": "5.*|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", "aws/aws-sdk-php": "~3.0" }, "require-dev": { diff --git a/src/Sqs/Queue.php b/src/Sqs/Queue.php index 219128f..dd51b5c 100644 --- a/src/Sqs/Queue.php +++ b/src/Sqs/Queue.php @@ -73,7 +73,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]*\..*)|(8\.[0-9]*\..*)|(9\.[0-9]*\..*)|(10\.[0-9]*\..*)/', + '/(5\.[4-8]\..*)|(6\.[0-9]*\..*)|(7\.[0-9]*\..*)|(8\.[0-9]*\..*)|(9\.[0-9]*\..*)|(10\.[0-9]*\..*)|(11\.[0-9]*\..*)/', $this->container->version()) ) { return new SqsJob($this->container, $this->sqs, $response, $this->connectionName, $queue);