You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The package declares PHP ^8.3, but header helpers call mb_trim(), which is only built into PHP starting in 8.4. Neither a PHP 8.4 polyfill nor ext-mbstring is required by this package's runtime dependencies. Development tooling can hide this production-only gap.
Other affected helpers: ContentType:96, ContentEncoding:131–137, Authorization:271–280/326–335 and TransferEncoding:115; several also require mb_strtolower.
Expected: ApplicationJson. Source-predicted result without an unrelated polyfill: undefined-function Error for mb_trim. On newer PHP without mbstring, the undeclared extension requirement can also fail.
Acceptance criteria
Preserve the advertised PHP 8.3 support using appropriate ASCII header parsing, or declare and ship the necessary runtime compatibility dependency.
Cover all mb_* calls, not just Accept.
Add isolated no-dev consumer checks on PHP 8.3; ensure development dependencies cannot provide missing runtime functions accidentally.
Priority P1 (advertised runtime paths fail); confidence high. This is a runtime compatibility finding, not a vulnerability claim. Validation is source-level plus official function availability documentation; PHP execution was unavailable. All existing issue/PR records #1–#8 were checked and no matching task exists.
Activity