Commit eb36b26
committed
[Server] Make CollectingLogger test fixture compatible with psr/log v1
The anonymous logger in StreamableHttpTransportTest used the v2/v3 method
signature `log($level, \Stringable|string $message, ...)`. Project
composer.json allows psr/log ^1.0 || ^2.0 || ^3.0, so on `--prefer-lowest`
CI installs v1 which keeps the untyped parameter and fatals on LSP
incompatibility. Drop the type hint to keep the fixture working across
all three major versions.1 parent 3a40738 commit eb36b26
1 file changed
Lines changed: 2 additions & 1 deletion
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
288 | | - | |
| 288 | + | |
| 289 | + | |
289 | 290 | | |
290 | 291 | | |
291 | 292 | | |
| |||
0 commit comments