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
docs/php85-limitations.md does not exist.docs/php84-limitations.md set the precedent; 8.5 needs the equivalent. Verified content for it (PHP 8.5.10 + 8.6.0beta2, audit harness on the PR branch):
Works: pipe operator |> in woven bodies; clone with; #[\NoDiscard] (copied to proxy, join-point dispatch preserves the value path); attributes on class constants incl. #[\Deprecated]; closures/FCC as parameter defaults (merged earlier); final promoted properties and static asymmetric visibility for non-intercepted properties; self/parent reflection resolution.
Summary
From the PHP 8.5 support audit (PR #597):
docs/php85-limitations.mddoes not exist.docs/php84-limitations.mdset the precedent; 8.5 needs the equivalent. Verified content for it (PHP 8.5.10 + 8.6.0beta2, audit harness on the PR branch):|>in woven bodies;clone with;#[\NoDiscard](copied to proxy, join-point dispatch preserves the value path); attributes on class constants incl.#[\Deprecated]; closures/FCC as parameter defaults (merged earlier);finalpromoted properties and static asymmetric visibility for non-intercepted properties;self/parentreflection resolution.finalpromoted (Property interception breaks promoted constructor properties (parse error or silently lost assignments) #599), enum const-expression case values (Enum proxies lose constant-expression case values (invalid backed enum generated) #600),newin initializers underINTERCEPT_INITIALIZATIONS(ConstructorExecutionTransformer rewritesnewinside constant expressions (fatal on load) #603), global constants in attribute args (Global constants in attribute arguments crash weaving (parser-reflection namespace resolution) #602), class-level attributes (Class-level attributes break class→trait conversion (woven trait has parse error) #598).access()— hooks don't exist for static properties; worth stating explicitly.Factual error in
docs/php84-limitations.md:36: it claims the framework'sContainer"uses lazy objects internally". It does not —src/Core/Container.phpuses a hand-rolled closure/factory dance (addLazyService()/materializeService()). Either reword the doc or actually adopt lazy objects (Adopt PHP 8.4 native lazy objects (Container, CachedAspectLoader, ReflectionConstructorInvocation) #606 tracks adoption).