File tree 2 files changed +8
-3
lines changed 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 10
10
jobs :
11
11
unit-tests :
12
12
runs-on : " ubuntu-latest"
13
- name : " Unit Tests on PHP ${{ matrix.php }}"
13
+ name : " Unit Tests on PHP ${{ matrix.php }} and ${{ matrix.tools }} "
14
14
strategy :
15
15
fail-fast : false
16
16
matrix :
20
20
- " 7.4"
21
21
- " 8.0"
22
22
- " 8.1"
23
+ tools : [ "composer" ]
24
+ include :
25
+ - php : " 7.2"
26
+ tools : " composer:v2.0"
23
27
24
28
steps :
25
29
- name : " Check out repository code"
29
33
uses : " shivammathur/setup-php@v2"
30
34
with :
31
35
php-version : " ${{ matrix.php }}"
32
- tools : " composer "
36
+ tools : " ${{ matrix.tools }} "
33
37
34
38
- name : " Install Composer dependencies"
35
39
uses : " ramsey/composer-install@v2"
Original file line number Diff line number Diff line change @@ -94,7 +94,8 @@ public function isProxyCommand(): bool
94
94
95
95
public function execute (InputInterface $ input , OutputInterface $ output ): int
96
96
{
97
- $ config = Config::fromComposer ($ this ->requireComposer ());
97
+ // Switch to requireComposer() once Composer 2.3 is set as the minimum
98
+ $ config = Config::fromComposer ($ this ->getComposer ());
98
99
$ currentWorkingDir = getcwd ();
99
100
100
101
$ this ->logger ->logDebug (
You can’t perform that action at this time.
0 commit comments