Repository navigation
Commit afc31f6
Drop roave/security-advisories in CI when it conflicts with the PHP in use (#305)
* Drop roave/security-advisories on PHP < 8.2 in CI
It conflicts with every PHP release below 8.2, so composer install can
never succeed there. Composer's policy.advisories.block still applies.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UWTd5mjnLFLCExqdULKVSB
* Drop roave/security-advisories on all PHP versions
Its PHP conflict covers patch releases of 8.3-8.5 too (e.g. Windows
runners on PHP 8.5.11), not just < 8.2.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UWTd5mjnLFLCExqdULKVSB
* Only drop roave/security-advisories when it conflicts with the PHP in use
Read roave's php conflict constraint from Packagist and drop the package
only when the running PHP falls inside it, so up-to-date PHP versions
keep the dependency check.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UWTd5mjnLFLCExqdULKVSB
* Link setup-php security release notes in roave comment
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UWTd5mjnLFLCExqdULKVSB
* Update PHP to the latest patch on Windows runners
Windows runners don't pick up patched setup-php builds automatically
(shivammathur/setup-php#1139), so they lag a patch release behind and
roave/security-advisories can't install there.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UWTd5mjnLFLCExqdULKVSB
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent fd58c25 commit afc31f6
2 files changed
Lines changed: 52 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
| 168 | + | |
| 169 | + | |
168 | 170 | | |
169 | 171 | | |
170 | 172 | | |
| |||
188 | 190 | | |
189 | 191 | | |
190 | 192 | | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
191 | 217 | | |
192 | 218 | | |
193 | 219 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
| 52 | + | |
51 | 53 | | |
52 | 54 | | |
53 | 55 | | |
| |||
59 | 61 | | |
60 | 62 | | |
61 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
62 | 88 | | |
63 | 89 | | |
64 | 90 | | |
| |||
0 commit comments