Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
phan.phar.asc | 2025-06-09 | 143 Bytes | |
phan.phar | 2025-06-09 | 11.6 MB | |
README.md | 2025-06-09 | 3.0 kB | |
Release 5.4.6 supporting PHP 7.0-8.4 syntax source code.tar.gz | 2025-06-09 | 1.9 MB | |
Release 5.4.6 supporting PHP 7.0-8.4 syntax source code.zip | 2025-06-09 | 2.2 MB | |
Totals: 5 Items | 15.7 MB | 0 |
New features(Analysis):
- Infer that
json_encode
always returns a string in PHP >= 7.3 whenJSON_THROW_ON_ERROR
is used #4946
New features(CLI, Configs):
- Allow passing
--minimum-target-php-version=native
from the command line. #4939
Bug fixes:
- Fix type of the
$gc
argument tosession_set_save_handler
#4891 - Update various
IntlDateFormatter
signatures #4898 - Fix various false positives when using
enable_class_alias_support
and two aliases refer to each other #4897 - Fix deprecation warnings when using the CSV printer in PHP 8.4 #4913
- Fix false positive
PhanParamTooFewInternal
withexit()
in PHP 8.4 #4888 - Fix edge case false positives for inferred type of properties of
$this
#4916 - Fix false positive
PhanPossiblyUndeclaredVariable
in loops when redundant condition detection is enabled #4885, #4617 - Fix crash in PHP >= 8.3 due to increment or decrement on non-literal strings #4860
Plugins:
- Fix
dir()
andgetdir()
being reversed in DeprecateAliasPlugin #4882 - Make PHPDocRedundantPlugin handle magic methods #4931
- Fix UnknownElementTypePlugin flagging variadic parameters with
mixed
type #4927 - Update PHPDocToRealTypesPlugin for PHP 8 #4936
Miscellaneous:
- Require php-ast 1.1.2 or newer in PHP 8.4+ if php-ast is installed. #4895
- Support automatically setting target PHP version from composer.json for PHP >= 8.2 #4903, #4940
- Allow netresearch/jsonmapper ^5.0 #4901
- Update tests for PHP 8.4 #4902, #4907, #4909, #4911 #4912, #4917, #4923, #4925, #4934
- Support analyzing
exit()
in PHP 8.4 #4908 - Consistently disable the garbage collector for all entry points #4928