Skip to content

Commit 16030ab

Browse files
ondrejmirtesclaude
andcommitted
Update shivammathur/setup-php to 2.40.0
2.37.2 can no longer install PHP 8.5 on macos-latest (macOS 26): the Homebrew install fails and the step ends with "php: command not found". 2.40.0 installs prebuilt PHP builds on macOS instead. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017h1GfB7vfJPgwcTHD9Fth6
1 parent c9e0ccd commit 16030ab

14 files changed

Lines changed: 43 additions & 43 deletions

‎.github/actions/downgrade-code/action.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ runs:
1010

1111
- name: "Change to simple-downgrade PHP version"
1212
if: inputs.php-version == '7.4' || inputs.php-version == '8.0' || inputs.php-version == '8.1'
13-
uses: "shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240" # 2.37.2
13+
uses: "shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962" # 2.40.0
1414
with:
1515
coverage: "none"
1616
php-version: "8.4"
@@ -25,7 +25,7 @@ runs:
2525
2626
- name: "Re-store PHP version"
2727
if: inputs.php-version == '7.4' || inputs.php-version == '8.0' || inputs.php-version == '8.1'
28-
uses: "shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240" # 2.37.2
28+
uses: "shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962" # 2.40.0
2929
with:
3030
coverage: "none"
3131
php-version: "${{ inputs.php-version }}"

‎.github/workflows/apiref.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
3939

4040
- name: "Install PHP"
41-
uses: "shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240" # 2.37.2
41+
uses: "shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962" # 2.40.0
4242
with:
4343
coverage: "none"
4444
php-version: "8.2"

‎.github/workflows/backward-compatibility.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
fetch-depth: 0
3838

3939
- name: "Install PHP"
40-
uses: "shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240" # 2.37.2
40+
uses: "shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962" # 2.40.0
4141
with:
4242
coverage: "none"
4343
php-version: "8.2"

‎.github/workflows/bench.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
4545

4646
- name: "Install PHP"
47-
uses: "shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240" # 2.37.2
47+
uses: "shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962" # 2.40.0
4848
with:
4949
coverage: "none"
5050
php-version: "${{ matrix.php-version }}"
@@ -116,7 +116,7 @@ jobs:
116116
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
117117

118118
- name: "Install PHP"
119-
uses: "shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240" # 2.37.2
119+
uses: "shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962" # 2.40.0
120120
with:
121121
coverage: "none"
122122
php-version: "${{ matrix.php-version }}"

‎.github/workflows/build-issue-bot.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
4646

4747
- name: "Install PHP"
48-
uses: "shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240" # 2.37.2
48+
uses: "shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962" # 2.40.0
4949
with:
5050
coverage: "none"
5151
php-version: "8.5"

‎.github/workflows/changelog-generator.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
3939

4040
- name: "Install PHP"
41-
uses: "shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240" # 2.37.2
41+
uses: "shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962" # 2.40.0
4242
with:
4343
coverage: "none"
4444
php-version: "8.2"

‎.github/workflows/e2e-tests.yml‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1325,7 +1325,7 @@ jobs:
13251325
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
13261326

13271327
- name: "Install PHP"
1328-
uses: "shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240" # 2.37.2
1328+
uses: "shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962" # 2.40.0
13291329
with:
13301330
coverage: "none"
13311331
php-version: "8.2"
@@ -1417,7 +1417,7 @@ jobs:
14171417
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
14181418

14191419
- name: "Install PHP"
1420-
uses: "shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240" # 2.37.2
1420+
uses: "shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962" # 2.40.0
14211421
with:
14221422
coverage: "none"
14231423
php-version: "8.2"
@@ -1649,7 +1649,7 @@ jobs:
16491649
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
16501650

16511651
- name: "Install PHP"
1652-
uses: "shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240" # 2.37.2
1652+
uses: "shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962" # 2.40.0
16531653
with:
16541654
coverage: "none"
16551655
php-version: "8.2"
@@ -1686,7 +1686,7 @@ jobs:
16861686
fetch-depth: 0
16871687

16881688
- name: "Install PHP"
1689-
uses: "shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240" # 2.37.2
1689+
uses: "shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962" # 2.40.0
16901690
with:
16911691
coverage: "none"
16921692
php-version: "8.5"
@@ -1804,7 +1804,7 @@ jobs:
18041804
fetch-depth: 0
18051805

18061806
- name: "Install PHP"
1807-
uses: "shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240" # 2.37.2
1807+
uses: "shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962" # 2.40.0
18081808
with:
18091809
coverage: "none"
18101810
php-version: "8.5"

‎.github/workflows/issue-bot.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
4141

4242
- name: "Install PHP"
43-
uses: "shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240" # 2.37.2
43+
uses: "shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962" # 2.40.0
4444
with:
4545
coverage: "none"
4646
php-version: "8.5"
@@ -105,7 +105,7 @@ jobs:
105105
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
106106

107107
- name: "Install PHP"
108-
uses: "shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240" # 2.37.2
108+
uses: "shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962" # 2.40.0
109109
with:
110110
coverage: "none"
111111
php-version: "8.5"
@@ -163,7 +163,7 @@ jobs:
163163
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
164164

165165
- name: "Install PHP"
166-
uses: "shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240" # 2.37.2
166+
uses: "shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962" # 2.40.0
167167
with:
168168
coverage: "none"
169169
php-version: "8.5"

‎.github/workflows/lint.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
4242

4343
- name: "Install PHP"
44-
uses: "shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240" # 2.37.2
44+
uses: "shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962" # 2.40.0
4545
with:
4646
coverage: "none"
4747
php-version: "${{ matrix.php-version }}"
@@ -85,7 +85,7 @@ jobs:
8585
ref: "2.x"
8686

8787
- name: "Install PHP"
88-
uses: "shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240" # 2.37.2
88+
uses: "shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962" # 2.40.0
8989
with:
9090
coverage: "none"
9191
php-version: "8.5"
@@ -122,7 +122,7 @@ jobs:
122122
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
123123

124124
- name: "Install PHP"
125-
uses: "shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240" # 2.37.2
125+
uses: "shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962" # 2.40.0
126126
with:
127127
coverage: "none"
128128
php-version: "8.5"
@@ -148,7 +148,7 @@ jobs:
148148
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
149149

150150
- name: "Install PHP"
151-
uses: "shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240" # 2.37.2
151+
uses: "shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962" # 2.40.0
152152
with:
153153
coverage: "none"
154154
php-version: "8.5"

‎.github/workflows/phar.yml‎

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
fetch-depth: 0
6868

6969
- name: "Install PHP"
70-
uses: "shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240" # 2.37.2
70+
uses: "shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962" # 2.40.0
7171
with:
7272
coverage: "none"
7373
php-version: "8.2"
@@ -192,7 +192,7 @@ jobs:
192192
fetch-depth: 0 # git log over turbo-ext/src needs full history
193193

194194
- name: "Install PHP"
195-
uses: "shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240" # v2.37.2
195+
uses: "shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962" # 2.40.0
196196
with:
197197
coverage: "none"
198198
php-version: "8.5"
@@ -266,7 +266,7 @@ jobs:
266266
fetch-depth: 0 # the VERSION.txt written below bakes from git log over turbo-ext/src
267267

268268
- name: "Install PHP"
269-
uses: "shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240" # v2.37.2
269+
uses: "shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962" # 2.40.0
270270
with:
271271
coverage: "none"
272272
php-version: "8.5"
@@ -452,7 +452,7 @@ jobs:
452452

453453
- name: "Install PHP (macOS)"
454454
if: matrix.target.family == 'macos'
455-
uses: "shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240" # v2.37.2
455+
uses: "shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962" # 2.40.0
456456
with:
457457
coverage: "none"
458458
php-version: "${{ matrix.php-version }}"
@@ -756,7 +756,7 @@ jobs:
756756
# runner host and only read from the mounted workspace: the
757757
# docker-library images carry neither a composer nor an unzip.
758758
- name: "Install PHP"
759-
uses: "shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240" # v2.37.2
759+
uses: "shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962" # 2.40.0
760760
with:
761761
coverage: "none"
762762
php-version: "${{ matrix.php-version }}"
@@ -890,7 +890,7 @@ jobs:
890890
fetch-depth: 0
891891

892892
- name: "Install PHP"
893-
uses: "shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240" # v2.37.2
893+
uses: "shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962" # 2.40.0
894894
env:
895895
phpts: "${{ matrix.ts == 'zts' && 'ts' || 'nts' }}"
896896
with:
@@ -1115,7 +1115,7 @@ jobs:
11151115
persist-credentials: false
11161116

11171117
- name: "Install PHP"
1118-
uses: "shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240" # v2.37.2
1118+
uses: "shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962" # 2.40.0
11191119
env:
11201120
phpts: "${{ matrix.ts == 'zts' && 'ts' || 'nts' }}"
11211121
with:
@@ -1210,7 +1210,7 @@ jobs:
12101210
# the phar boots through the turbo restart code, which bin/phpstan
12111211
# loads before the Composer autoloader - on PHP < 8.0 without the
12121212
# symfony polyfills (https://github.com/phpstan/phpstan/issues/15137).
1213-
uses: "shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240" # v2.37.2
1213+
uses: "shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962" # 2.40.0
12141214
with:
12151215
coverage: "none"
12161216
php-version: "${{ matrix.php-version }}"
@@ -1277,7 +1277,7 @@ jobs:
12771277
persist-credentials: false
12781278

12791279
- name: "Install PHP"
1280-
uses: "shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240" # v2.37.2
1280+
uses: "shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962" # 2.40.0
12811281
with:
12821282
coverage: "none"
12831283
php-version: "${{ matrix.php-version }}"
@@ -1536,7 +1536,7 @@ jobs:
15361536
path: phar-file-checksum-base
15371537

15381538
- name: "Install PHP"
1539-
uses: "shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240" # 2.37.2
1539+
uses: "shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962" # 2.40.0
15401540
with:
15411541
coverage: "none"
15421542
php-version: "8.2"

0 commit comments

Comments
 (0)