Skip to content

Commit

Permalink
[RoadRunner] Add support for RoadRunner 2023 and 2024 (#172)
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
msmakouz authored Nov 17, 2024
1 parent 1fae0b9 commit 2246529
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
composer-options: "--ignore-platform-reqs" # required for PHP 8.2 as not yet official supported

- name: Psalm
run: psalm --no-progress --output-format=github
run: psalm --php-version=8.2 --no-progress --output-format=github

composer-normalize:
name: Composer Normalize
Expand Down
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@
"nyholm/psr7": "^1.3",
"nyholm/psr7-server": "^1.0",
"react/http": "^1.2",
"spiral/roadrunner": "^2.0",
"spiral/roadrunner-cli": "^2.6",
"spiral/roadrunner-http": "^2.0 || ^3.0",
"spiral/roadrunner-worker": "^2.0 || ^3.0",
"symfony/console": "^5.2 || ^6.0",
"symfony/dependency-injection": "^5.2 || ^6.0",
"symfony/http-foundation": "^5.3 || ^6.0",
Expand Down
4 changes: 3 additions & 1 deletion src/roadrunner-nyholm/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
],
"require": {
"nyholm/psr7": "^1.4",
"spiral/roadrunner": "^2.0",
"spiral/roadrunner-cli": "^2.6",
"spiral/roadrunner-http": "^2.0 || ^3.0",
"spiral/roadrunner-worker": "^2.0 || ^3.0",
"symfony/runtime": "^5.4 || ^6.0 || ^7.0"
},
"require-dev": {
Expand Down
7 changes: 5 additions & 2 deletions src/roadrunner-symfony-nyholm/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,17 @@
"require": {
"php": ">=8.0.5",
"nyholm/psr7": "^1.4",
"spiral/roadrunner": "^2.0",
"spiral/roadrunner-cli": "^2.6",
"spiral/roadrunner-http": "^2.0 || ^3.0",
"spiral/roadrunner-worker": "^2.0 || ^3.0",
"symfony/dependency-injection": "^5.4 || ^6.0 || ^7.0",
"symfony/http-kernel": "^5.4 || ^6.0 || ^7.0",
"symfony/psr-http-message-bridge": "^2.1 || ^6.4 || ^7.0",
"symfony/runtime": "^5.4 || ^6.0 || ^7.0"
},
"require-dev": {
"phpunit/phpunit": "^9.5"
"phpunit/phpunit": "^9.5",
"symfony/console": "^5.4 || ^6.4 || ^7.0"
},
"minimum-stability": "dev",
"prefer-stable": true,
Expand Down

0 comments on commit 2246529

Please sign in to comment.