Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
phan.phar.asc | 2024-08-13 | 543 Bytes | |
phan.phar | 2024-08-13 | 11.5 MB | |
README.md | 2024-08-13 | 1.5 kB | |
Release 5.4.5 supporting PHP 7.0-8.2 syntax source code.tar.gz | 2024-08-13 | 1.8 MB | |
Release 5.4.5 supporting PHP 7.0-8.2 syntax source code.zip | 2024-08-13 | 2.2 MB | |
Totals: 5 Items | 15.5 MB | 0 |
New features(Analysis):
- Emit
PhanDeprecatedImplicitNullableParam
for uses of implicitly nullable parameters (int $x = null
instead of?int $x = null
). These can be fixed automatically via the accompanying IssueFixer. #4875
New features(CLI, Configs):
- Add
override_return_types
to add types to all return types. Normally, Phan only adds inferred returned types when there is no@return
type or real return type signature. This setting can be disabled on individual methods by adding@phan-hardcode-return-type
to the doc comment.
Disabled by default. This is more useful with --analyze-twice
and in conjunction with PhoundPlugin
to
detect more callsite possibilities. See the PR description where
this setting was added for more details.
(Default: false
)
Along with this change, we are analyzing the return types of traits a bit more aggressively now. #4874
Bug fixes:
- Fix crash in PHP 8.4 due to deprecation warning about implicitly nullable parameters #4875
Maintenance:
- Update download links for php-ast zip files #4876