Skip to content

Commit 2246529

Browse files
authored
[RoadRunner] Add support for RoadRunner 2023 and 2024 (#172)
This pull request adds support for RoadRunner **2023** and **2024**. The required PHP packages have been added to the dependencies. With the old version of RoadRunner (2.x), need to explicitly install it (composer req spiral/roadrunner:^2.0 -W), which will install older versions of **spiral/roadrunner-http** (v2.2.0) and **spiral/roadrunner-worker**(v2.3.0).
1 parent 1fae0b9 commit 2246529

File tree

4 files changed

+12
-5
lines changed

4 files changed

+12
-5
lines changed

.github/workflows/static.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ jobs:
8888
composer-options: "--ignore-platform-reqs" # required for PHP 8.2 as not yet official supported
8989

9090
- name: Psalm
91-
run: psalm --no-progress --output-format=github
91+
run: psalm --php-version=8.2 --no-progress --output-format=github
9292

9393
composer-normalize:
9494
name: Composer Normalize

composer.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@
2020
"nyholm/psr7": "^1.3",
2121
"nyholm/psr7-server": "^1.0",
2222
"react/http": "^1.2",
23-
"spiral/roadrunner": "^2.0",
23+
"spiral/roadrunner-cli": "^2.6",
24+
"spiral/roadrunner-http": "^2.0 || ^3.0",
25+
"spiral/roadrunner-worker": "^2.0 || ^3.0",
2426
"symfony/console": "^5.2 || ^6.0",
2527
"symfony/dependency-injection": "^5.2 || ^6.0",
2628
"symfony/http-foundation": "^5.3 || ^6.0",

src/roadrunner-nyholm/composer.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@
1111
],
1212
"require": {
1313
"nyholm/psr7": "^1.4",
14-
"spiral/roadrunner": "^2.0",
14+
"spiral/roadrunner-cli": "^2.6",
15+
"spiral/roadrunner-http": "^2.0 || ^3.0",
16+
"spiral/roadrunner-worker": "^2.0 || ^3.0",
1517
"symfony/runtime": "^5.4 || ^6.0 || ^7.0"
1618
},
1719
"require-dev": {

src/roadrunner-symfony-nyholm/composer.json

+5-2
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,17 @@
1212
"require": {
1313
"php": ">=8.0.5",
1414
"nyholm/psr7": "^1.4",
15-
"spiral/roadrunner": "^2.0",
15+
"spiral/roadrunner-cli": "^2.6",
16+
"spiral/roadrunner-http": "^2.0 || ^3.0",
17+
"spiral/roadrunner-worker": "^2.0 || ^3.0",
1618
"symfony/dependency-injection": "^5.4 || ^6.0 || ^7.0",
1719
"symfony/http-kernel": "^5.4 || ^6.0 || ^7.0",
1820
"symfony/psr-http-message-bridge": "^2.1 || ^6.4 || ^7.0",
1921
"symfony/runtime": "^5.4 || ^6.0 || ^7.0"
2022
},
2123
"require-dev": {
22-
"phpunit/phpunit": "^9.5"
24+
"phpunit/phpunit": "^9.5",
25+
"symfony/console": "^5.4 || ^6.4 || ^7.0"
2326
},
2427
"minimum-stability": "dev",
2528
"prefer-stable": true,

0 commit comments

Comments
 (0)