Skip to content

Commit ce12a64

Browse files
committed
Expanded compatibility for psr/cache and psr/container contracts.
Locked doctrine/annotations to v1 for Symfony Quickstart. Due to symfony/symfony#48717, Symfony is not yet compatible with doctrine/annotations v2. Should be compatible in next v5 patch release.
1 parent 5898b4c commit ce12a64

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/Quickstart Symfony.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
run: composer require --with-dependencies provider/steam
4343

4444
- name: Require Doctrine annotations
45-
run: composer require doctrine/annotations
45+
run: composer require doctrine/annotations ^1
4646

4747
- name: Add Porter services
4848
run: |

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
"require": {
1212
"php": "^8.1",
1313
"async/throttle": "^4",
14-
"psr/cache": "^1",
15-
"psr/container": "^1",
14+
"psr/cache": "^1|^2",
15+
"psr/container": "^1|^2",
1616
"scriptfusion/retry": "^5",
1717
"scriptfusion/retry-exception-handlers": "^1.2",
1818
"scriptfusion/static-class": "^1"

docs/Quickstart Symfony.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Let's make our new action act as the home page for our application by making it
6262
We're using annotations because they're easiest to implement, but in order for this to work, we need to ensure the Doctrine annotations library is installed.
6363

6464
```sh
65-
composer require doctrine/annotations
65+
composer require doctrine/annotations ^1
6666
```
6767

6868
Let's just fill in the rest of the method with a stub, so we can test our application is working so far. The complete list of Steam app IDs is very long (over 150,000) so we will want to use a `StreamedResponse`.

0 commit comments

Comments
 (0)