Commit 85fd7b4
committed
Chore: bump utopia-php/http to 2.0.0-rc5
Adopt the PSR-compliant header API from utopia-php/http 2.0.
- composer: bump utopia-php/http 0.34.* -> 2.0.0-rc5 (storage moves to
2.0.5 and telemetry to 0.4.0 to satisfy http 2.0's constraints); add
minimum-stability RC + prefer-stable for the release candidate.
- getHeader() now returns string[]; switch the request reads that expect
a single string (accept, authorization, x-executor-response-format) to
getHeaderLine().
- sendHeader() now takes array<int, string>; wrap the SSE log-stream
header values accordingly.
Verified: phpstan, pint, rector, unit (7/7), and e2e testExecute (28
assertions) + testLogStream (254 assertions) against a local stack.1 parent 8c9c5ef commit 85fd7b4
3 files changed
Lines changed: 71 additions & 67 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
| 31 | + | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
237 | | - | |
| 237 | + | |
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
| |||
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
247 | | - | |
| 247 | + | |
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
| |||
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
287 | | - | |
| 287 | + | |
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
6 | 8 | | |
7 | 9 | | |
8 | 10 | | |
| |||
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
31 | | - | |
| 33 | + | |
32 | 34 | | |
33 | 35 | | |
34 | 36 | | |
| |||
0 commit comments