github phan/phan 5.4.1
Release 5.4.1 supporting PHP 7.0-8.1 syntax

latest releases: 5.4.3, 5.4.2
20 months ago

New Features(Analysis):

  • Support parsing php 8.2's disjunctive normal form types (e.g. A|(B&C) (https://wiki.php.net/rfc/dnf_types). (#4699)
  • Support php 8.2 class constants on trait RFC. (#4687)
    Emit PhanCompatibleTraitConstant when using constants on traits with a minimum_target_php_version below '8.2'
    Emit PhanAccessClassConstantOfTraitDirectly when directly referencing the class constant on the trait declaration.
  • Emit PhanTypeModifyImmutableObjectProperty for PHP 8.1 readonly properties when modified anywhere outside of the
    declaring class's scope. (#4710)

Miscellaneous:

  • Allow array_filter $callback to be null (#4715)

Don't miss a new phan release

NewReleases is sending notifications on new releases.