github phan/phan 4.0.3
Release 4.0.3 supporting PHP 7.0-8.0 syntax

latest releases: 5.4.5, 5.4.4, 5.4.3...
3 years ago

New Features:

  • Support inferring iterable value types/keys from getIterator returning an ordinary Iterator<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 to non-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 from minimum_target_php_version to avoid false positive PhanParamSignatureRealMismatchHasNoParamType.

Don't miss a new phan release

NewReleases is sending notifications on new releases.