Download Latest Version Phan 6.0.0 source code.tar.gz (2.1 MB)
Email in envelope

Get an email when there's a new version of Phan

Home / 5.5.2
Name Modified Size InfoDownloads / Week
Parent folder
phan.phar.asc 2025-10-04 862 Bytes
phan.phar 2025-10-04 12.1 MB
5.5.2 source code.tar.gz 2025-10-04 1.9 MB
5.5.2 source code.zip 2025-10-04 2.3 MB
README.md 2025-10-04 2.5 kB
Totals: 5 Items   16.3 MB 0

October 4 2025, Phan 5.5.2

New features: - Add some PHP 8.5 compatibility support - full support will be in Phan 6.x

Bug fixes: - Fix never-return type narrowing #5078 - Fix issue [#5063]: Handle edge cases in type analysis - Fix issue [#5074]: Type inference improvements - Handle intersection types in @throws annotations #5073 - Fix SelfType instantiation for class constants #5057 - Map overridden method types before inheriting them #5068 - Resolve static before emitting PhanTypeMismatchReturn #5067 - Complain about ArrayObject/ArrayIterator with objects #5064 - Allow @extends/@inherits in PHPDoc on traits again #5061 - Normalize generic multi-type elements before expanding them #5059 - Use mixed instead of empty union to substitute unspecified template types #5058 - Flag 'catch' variables declared as unused in PHP 8 #5050 - Fixed -l handling to support one or multiple files #5056 - Add hash options argument to the 8.1 function signature delta map #5048 - Increase max recursion depth in asExpandedTypes #5046 - Infer more partial types for array union #5047 - Restore compatibility with older php-ast #5045 - Consider ClosureType as callable in CallableParamPlugin #5041 - Move code for complex callables from ContextNode to UnionTypeVisitor #5039 - Respect log_error for invalid maybe-callable FQSENs #5038 - Emit issues for duplicate @template annotations #5082

Plugins: - UseReturnValuePlugin: support #[\NoDiscard] attribute #5051

Maintenance: - Update php-ast to 1.1.3 #5042

Source: README.md, updated 2025-10-04