0.4.0
✨ New features
- PHP 8 compatibility 🚀
ReflectionTools::getPropertyTypes()
now supports PHP 8 union typesReflectionTools::getParameterTypes()
now supports reflection & PHP 8 union types
💥 Breaking changes
ReflectionTools::getParameterTypes()
now reads types from reflection firstReflectionTools::getPropertyTypes()
andgetParameterTypes()
:- always return class names as FQCN (including namespace)
- always return built-in types as lowercase
ReflectionTools::getFunctionParameterTypes()
has been removedReflectionTools::getPropertyClass()
has been removed
⬆️ Dependency upgrade
- For compatibility with PHP 8, this version requires
doctrine/annotations: ^1.10.4