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

latest releases: 5.4.3, 5.4.2, 5.4.1...
3 years ago

New Features:

  • Improve suggestions for PhanUndeclaredThis inside of static methods/closures (#4336)

Language Server/Daemon mode:

  • Properly generate code completions for :: and -> at the end of a line on files using Windows line endings(\r\n) instead of Unix newlines(\n) on any OS (#4345)
    Previously, those were not completed.

Bug fixes:

  • Fix false positive PhanParamSignatureMismatch for variadic overriding a function using func_get_args() (#4340)
  • Don't emit PhanTypeNoPropertiesForeach for the Countable interface on its own. (#4342)
  • Fix false positive type mismatch warning for casts from callable-object/callable-array/callable-string
    to function(paramtypes):returntype (#4343)

Don't miss a new phan release

NewReleases is sending notifications on new releases.