v1.2.7
Fixed
- Polyfill stub classes incorrectly prefixed: Symfony polyfill packages (
polyfill-intl-normalizer,polyfill-php73,polyfill-php80) ship stub files that declare classes in the global namespace so they act as fallbacks when the corresponding PHP extension or version is missing.ClassmapReplacerprefixed these stubs alongside other global classes, which broke the fallbacks and caused fatalClass "X" not founderrors at runtime on servers that lacked the native implementation — most visiblyNormalizeron hosts without theintlextension, but alsoAttribute,JsonException,PhpToken, andUnhandledMatchErroron older PHP versions. The built-in allowlist now covers these five classes, plus the relatedCompileError,UnitEnum,BackedEnum,SensitiveParameter, andOverrideglobals.
Full changelog: v1.2.6...v1.2.7