New Features:
- Support inferring iterable value types/keys from
getIterator
returning an ordinaryIterator<X>
(previously only inferred types for subclasses of Iterator)
Bug fixes:
- Fix crash when rendering
[...$x]
in an issue message (#4351) - Infer that
if ($x)
converts non-null-mixed
tonon-empty-mixed
- Fix false positive warning case for PhanParamSignaturePHPDocMismatchParamType when a phpdoc parameter has a default value (#4357)
- Properly warn about accessing a private class constant as
self::CONST_NAME
from inside of a subclass of the constant's declaring class (#4360) - Properly infer
allow_method_param_type_widening
fromminimum_target_php_version
to avoid false positivePhanParamSignatureRealMismatchHasNoParamType
.