packagist phan/phan 4.0.7
Release 4.0.7 supporting PHP 7.0-8.0 syntax

latest releases: v5.x-dev, dev-fix-4782, dev-MapReal-php81-82...
2 years ago

The Phan 5 release line (currently in alpha) will support PHP 8.1 syntax and new features such as intersection types

Language Server/Daemon mode:

  • Fix an uncaught exception sometimes seen checking for issue suppressions when pcntl is unavailable.

Maintenance:

  • Expand allowed netresearch/jsonmapper version ranges to include ^4.0 for php 8.1 support.
  • Update dependencies in composer.lock for compatibility with php 8.1 in published phar files.

Bug fixes:

  • Don't emit PhanCompatibleNonCapturingCatch when minimum_target_php_version is '8.0' or newer. (#4433)

  • Stop ignoring @return null and @param null $paramName in phpdoc. (#4453)

    Stop special casing @param null now that Phan allows many other literal types in param types.

Don't miss a new phan release

NewReleases is sending notifications on new releases.