Improvements
- InstantiationRule - check
new static()
in final class, with final constructor, or when the constructor comes from an implemented interface (3e5cd7f)
Bleeding edge
See explanation in previous release notes.
new static()
is safe only with final constructor or in final class - level 0 (3ebf508). See the Twitter poll about this.
Bugfixes
- Fix resolving static in constant array (a02404b), #2360
- PhpMethodReflection - fixed
isDeprecated()
,isInternal()
,isFinal()
(765179c) - IncompatiblePropertyPhpDocTypeRule - fixed complaining about mixed when property has native typehint but no phpDoc (89cf4b1), #2363
- Password constants are no longer mixed (e93fd2f), #2362
- Mark NeverType as explicit to allow its usage in phpDocs (01a76d1), #2297
- Fixed internal error when checking class existence with leading backslash (47a5cd2), #2359
- Use more verbose type description when the parameter type contains callable (b343bbf), #2353