Skip to content

Release 4.0.7 supporting PHP 7.0-8.0 syntax

Compare
Choose a tag to compare
@TysonAndre TysonAndre released this 26 Jun 23:14
· 15 commits to v4 since this release
2c9bb22

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.