Skip to content

Commit 98d0ab9

Browse files
committed
Fix Quickstart compatibility between joomla/di and psr/container.
1 parent ce12a64 commit 98d0ab9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/Quickstart.yaml

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

4444
- name: Require DI library
45-
run: composer require joomla/di
45+
run: composer require --with-dependencies joomla/di
4646

4747
- name: Run PHP script
4848
run: |

docs/Quickstart.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ composer require provider/european-central-bank
2626
We now have the provider installed along with all its dependencies, including Porter herself. We want to create a `new Porter` instance now, but we need to pass a `ContainerInterface` to her constructor. [Any PSR-11 container][PSR-11 search] is valid, but let's use [Joomla DI][] for now.
2727

2828
```sh
29-
composer require joomla/di
29+
composer require --with-dependencies joomla/di
3030
```
3131

3232
Create a new container and register an instance of `EuropeanCentralBankProvider` with it. Pass the container to a new Porter instance. Don't forget to include the autoloader!

0 commit comments

Comments
 (0)