Skip to content

Commit 9cf9960

Browse files
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

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@
119119
"require": {
120120
"php": "^8.3",
121121
"ext-json": "*",
122-
"axy/sourcemap": "^1.1",
122+
"axy/sourcemap": "^1.1.1",
123123
"bitworking/mimeparse": "^2.3",
124124
"composer/composer": "^2.7",
125125
"dflydev/fig-cookies": "^3.0",

framework/core/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
},
3838
"require": {
3939
"php": "^8.3",
40-
"axy/sourcemap": "^1.1",
40+
"axy/sourcemap": "^1.1.1",
4141
"bitworking/mimeparse": "^2.3",
4242
"dflydev/fig-cookies": "^3.0",
4343
"doctrine/dbal": "^3.6",

0 commit comments

Comments
 (0)