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
infor (; $loop; ...) {}
(#4191) - Don't infer defaults of ancestor class properties when analyzing the implementation of
__construct
. (#4195)
This is only affects projects where the config settinginfer_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.