packagist phan/phan 2.7.1
Release 2.7.1 supporting PHP 7.0-7.4 syntax

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

New features(CLI, Configs):

  • Improve the output of tool/make_stubs. Use better defaults than null.
    Render unknown for unknown defaults in tool/make_stubs and Phan's issue messages.
    (default is a reserved keyword used in switch statements)

Bug Fixes:

  • Work around unintentionally using symfony/polyfill-72 for spl_object_id instead of Phan's polyfill.
    The version used caused issues on 32-bit php 7.1 installations, and a slight slowdown in php 7.1.

Plugins:

  • PHP 8.0-dev compatibility fixes for InvokePHPNativeSyntaxCheckPlugin on Windows.
  • Infer that some new functions in PHP 8.0-dev should be used in UseReturnValuePlugin
  • Emit the line and expression of the duplicated array key or switch case (#3837)

Don't miss a new phan release

NewReleases is sending notifications on new releases.