github phan/phan 3.2.9
Release 3.2.9 supporting PHP 7.0-7.4 syntax

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

The Phan 3.x release line uses php-ast's AST version 70 and supports the analysis of all PHP 8.0 syntax except attributes (when run with PHP 8).
The planned 4.x release line will use AST version 80 and require php-ast 1.0.10+ in order to parse/analyze PHP 8.0's #[] attributes

Bug fixes:

  • Fix a few parameter names for issue messages (#4316)
  • Fix bug that could cause Phan not to warn about SomeClassWithoutConstruct::__construct
    in some edge cases. (#4323)
  • Properly infer self is referring to the current object context even when the object context is unknown in namespaces. (#4070)

Deprecations:

  • Emit a deprecation notice when running this in PHP 7 and php-ast < 1.0.7. (#4189)
    This can be suppressed by setting the environment variable PHAN_SUPPRESS_AST_DEPRECATION=1.

Don't miss a new phan release

NewReleases is sending notifications on new releases.