phan v3.2.2 Release Notes

Release Date: 2020-09-19 // over 3 years ago
  • ๐Ÿ†• New features (Analysis):

    • ๐Ÿ‘Œ Improve handling of missing argument info when analyzing calls to functions/methods.
      ๐Ÿ‘ This will result in better issue detection for inherited methods or methods which Phan does not have type info for.

    ๐Ÿ› Bug fixes:

    • ๐Ÿ›  Fix false positive PhanUnusedVariable in for (; $loop; ...) {} (#4191)
    • 0๏ธโƒฃ Don't infer defaults of ancestor class properties when analyzing the implementation of __construct. (#4195)
      0๏ธโƒฃ This is only affects projects where the config setting infer_default_properties_in_construct is overridden to be enabled.
    • Check minimum_target_php_version for more compatibility warnings about parameter types.

    ๐Ÿšง Maintenance:

    • โš  Emit a warning to stderr if run using a PHP 8 version older than 8.0.0beta4.