A maintenance release laser-focused on type safety. Static analysis is now mandatory in CI, the codebase ships richer native and PHPDoc types, and the Tracy DI panel got a cleaner Latte rewrite. No behavioral changes – just a sturdier foundation for everything built on top.
- Native types – tightened parameter and return types across
Compiler,ContainerLoader,ServiceDefinitionand friends - ContainerPanel – Tracy panel template rewritten with
n:attributesfor noticeably cleaner Latte syntax - PHPStan-clean codebase – wide-ranging cleanup across DI internals so the whole tree passes strict analysis
- Richer PHPDoc – improved
@param,@returnand class descriptions acrossCompiler,Container,ContainerBuilder,Resolver,Helpers, definitions and extensions, giving IDEs and static analyzers far more to work with - Better generic types – sharpened PHPDoc generics in autowiring, container builder, definitions and resolver