phan v3.2.5 Release Notes

Release Date: 2020-11-26 // over 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

    ๐Ÿ†• New features (Analysis):

    • Convert more internal function signature types from resource to the new object types with target_php_version of 8.0+ (#4245, #4246)
    • ๐Ÿ‘‰ Make internal function signature types and counts consistent with PHP 8.0's .php.stub files used to generate some reflection information.

    ๐Ÿ› Bug fixes

    • ๐Ÿ›  Fix logic error inferring the real key type of lists and arrays
      and infer that the real union type of arrays is array<int,something>
      when all keys have real type int. (#4251)
    • ๐Ÿ›  Fix rendering of processed item count in --long-progress-bar.

    Miscellaneous:

    • ๐Ÿ“‡ Rename OCI-Collection and OCI-Lob to OCICollection and OCILob internally to prepare for php 8 support.
      (Previously OCI_Collection and OCI_Lob were used, to be valid fqsens internally)