Skip to content

Commit a7ce5ca

Browse files
authored
[12.x] Supports pda/pheanstalk 7 (#55397)
* Supports `pda/pheanstalk` 7 Signed-off-by: Mior Muhammad Zaki <[email protected]> * wip Signed-off-by: Mior Muhammad Zaki <[email protected]> * wip Signed-off-by: Mior Muhammad Zaki <[email protected]> * wip Signed-off-by: Mior Muhammad Zaki <[email protected]> * wip Signed-off-by: Mior Muhammad Zaki <[email protected]> * wip Signed-off-by: Mior Muhammad Zaki <[email protected]> * wip Signed-off-by: Mior Muhammad Zaki <[email protected]> --------- Signed-off-by: Mior Muhammad Zaki <[email protected]>
1 parent ae766be commit a7ce5ca

File tree

3 files changed

+14
-5
lines changed

3 files changed

+14
-5
lines changed

.github/workflows/queues.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,16 @@ jobs:
178178
beanstalkd:
179179
runs-on: ubuntu-24.04
180180

181-
name: Beanstalkd Driver
181+
strategy:
182+
fail-fast: true
183+
matrix:
184+
include:
185+
- php: 8.2
186+
pheanstalk: 5
187+
- php: 8.3
188+
pheanstalk: 7
189+
190+
name: Beanstalkd Driver (pda/pheanstalk:^${{ matrix.pheanstalk }})
182191

183192
steps:
184193
- name: Checkout code
@@ -194,7 +203,7 @@ jobs:
194203
- name: Setup PHP
195204
uses: shivammathur/setup-php@v2
196205
with:
197-
php-version: 8.2
206+
php-version: ${{ matrix.php }}
198207
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, pdo_mysql, :php-psr
199208
tools: composer:v2
200209
coverage: none
@@ -207,7 +216,7 @@ jobs:
207216
with:
208217
timeout_minutes: 5
209218
max_attempts: 5
210-
command: composer update --prefer-stable --prefer-dist --no-interaction --no-progress
219+
command: composer update --prefer-stable --prefer-dist --no-interaction --no-progress --with="pda/pheanstalk:^${{ matrix.pheanstalk }}"
211220

212221
- name: Daemonize beanstalkd
213222
run: ./beanstalkd-1.13/beanstalkd &

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
"league/flysystem-sftp-v3": "^3.25.1",
113113
"mockery/mockery": "^1.6.10",
114114
"orchestra/testbench-core": "^10.0.0",
115-
"pda/pheanstalk": "^5.0.6",
115+
"pda/pheanstalk": "^5.0.6|^7.0.0",
116116
"php-http/discovery": "^1.15",
117117
"phpstan/phpstan": "^2.0",
118118
"phpunit/phpunit": "^10.5.35|^11.5.3|^12.0.1",

src/Illuminate/Queue/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"ext-posix": "Required to use all features of the queue worker.",
4646
"aws/aws-sdk-php": "Required to use the SQS queue driver and DynamoDb failed job storage (^3.322.9).",
4747
"illuminate/redis": "Required to use the Redis queue driver (^12.0).",
48-
"pda/pheanstalk": "Required to use the Beanstalk queue driver (^5.0)."
48+
"pda/pheanstalk": "Required to use the Beanstalk queue driver (^5.0.6|^7.0.0)."
4949
},
5050
"config": {
5151
"sort-packages": true

0 commit comments

Comments
 (0)