Improvements 🔧
- Update phpstan/phpdoc-parser to 1.6.0 (phpstan/phpstan-src@ef8c7c3)
- Allow omitting
@param
type (phpstan/phpdoc-parser#127), phpstan/phpdoc-parser#77, thanks @rvanvelzen! - Support all atomic types as nullable types (phpstan/phpdoc-parser#129), phpstan/phpdoc-parser#124, thanks @rvanvelzen!
- Allow omitting
- Support constant string and integer as template bound (#1402), #7381, thanks @rvanvelzen!
- Introduce
ExtendedMethodReflection
interface (#1403)- The purpose of this interface is to be able to answer more questions about methods without breaking backward compatibility with existing MethodsClassReflectionExtension.
- Developers are meant to only use the MethodReflection interface and its methods in their code.
- Methods on ExtendedMethodReflection are subject to change.
Bleeding edge 🔪
- PHPDoc parser: Require whitespace before description with limited start tokens (phpstan/phpdoc-parser#128), phpstan/phpdoc-parser#125, thanks @rvanvelzen!
If you want to see the shape of things to come and adopt bleeding edge features early, you can include this config file in your project's phpstan.neon
:
includes:
- vendor/phpstan/phpstan/conf/bleedingEdge.neon
Of course, there are no backwards compatibility guarantees when you include this file. The behaviour and reported errors can change in minor versions with this file included. Learn more