Commit 9cf9960
authored
[2.x] chore: require the sourcemap release carrying the 8.5 deprecation fix (#4904)
`axy/sourcemap` 1.1.1 reorders the two guards in `Line::concat()` that read an
array before checking the index is not null, which PHP 8.5 reports once per
mapped position — hundreds of lines per request while compiling assets on a
debug install (#4894, fixed upstream in axypro/sourcemap#13).
`^1.1` already resolved to it, so this changes nothing for a fresh install. It
is here to say so: the version we need is 1.1.1, not merely whatever 1.x
resolves to today.
Verified on PHP 8.5 that `JsCompiler`'s concat path no longer emits the notice,
with byte-identical sourcemap output.1 parent e5d9fd5 commit 9cf9960
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
| 122 | + | |
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
0 commit comments