Skip to content

Commit

Permalink
Merge pull request #1 from ByborgEngine/SP-730-chore-laravel-11-compa…
Browse files Browse the repository at this point in the history
…tibility

SP-730 chore: laravel 11 compatibility
  • Loading branch information
milan-kaszas-byborg authored Sep 23, 2024
2 parents 4386000 + 0b597fe commit 73f2c60
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion src/Sqs/Queue.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 73f2c60

Please sign in to comment.