Repository navigation
Commit b457650
committed
Resolve Symfony Finder in make-phar.php at runtime
`utils/scope-dependencies.php` prefixes symfony/finder along with the rest
of the Composer tree, but `utils/make-phar.php` builds the Phar with that
same Finder. Once prefixing has run, `Symfony\Component\Finder\Finder` no
longer exists and the build dies before writing anything.
Resolve the class name at runtime instead, so the build works whether or
not the dependencies have been prefixed yet.
Also drop `@require-mysql` from the isolation scenarios: they only need a
WordPress installation, which the Behat suite can provide on SQLite too.
Refs wp-cli/wp-cli#5920
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RHtjyXkZh8X16sBgmidSQi1 parent 66464aa commit b457650
2 files changed
Lines changed: 17 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
| |||
55 | 54 | | |
56 | 55 | | |
57 | 56 | | |
58 | | - | |
59 | 57 | | |
60 | 58 | | |
61 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
| |||
190 | 189 | | |
191 | 190 | | |
192 | 191 | | |
193 | | - | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
194 | 207 | | |
195 | 208 | | |
196 | 209 | | |
| |||
265 | 278 | | |
266 | 279 | | |
267 | 280 | | |
268 | | - | |
| 281 | + | |
269 | 282 | | |
270 | 283 | | |
271 | 284 | | |
| |||
280 | 293 | | |
281 | 294 | | |
282 | 295 | | |
283 | | - | |
| 296 | + | |
284 | 297 | | |
285 | 298 | | |
286 | 299 | | |
| |||
0 commit comments