Plugins
- Add
AddNeverReturnTypePlugin`` which will suggest adding a phpdoc return type of
@return never`. (#4468)
Bug fixes:
- When using the polyfill parser, properly parse nullable class property declarations as nullable. (#4492)
- Don't emit PhanIncompatibleRealPropertyType for private base property. (#4426)
- Fix false positive where a method overriding an existing method could be treated as having overrides. (#4502)
- Consistently support
numeric-string
in all phpdoc - Fix false positive
PhanTypeMismatchPropertyDefaultReal
warning for literal integer andfloat
typed property. (#4507) - Fix false positive warnings such as
PhanImpossibleTypeComparison
about string subtypes not casting to other string subtypes (#4514)
Maintenance:
- Change internal representation of FunctionSignatureMap delta files.
- Add a new exit status bit flag to
BlockExitStatusChecker
to indicate that a function will exit or infinitely loop (STATUS_NORETURN
) (#4468) - Internally represent the base function map using php 8.0 signatures instead of php 7.3 - applying deltas backwards has the same result (#4478)