Download Latest Version 6.0.11 source code.zip (2.7 MB) Google Add to Preferred Sources
Home / 6.0.9
Name Modified Size InfoDownloads / Week
Parent folder
phan.phar 2026-10-13 14.3 MB
phan.phar.asc 2026-10-13 566 Bytes
6.0.9 source code.tar.gz 2026-10-11 2.3 MB
6.0.9 source code.zip 2026-10-11 2.7 MB
README.md 2026-10-11 1.1 kB
Totals: 5 Items   19.3 MB 0

Bug fixes (regressions in 6.0.8):

  • Fix false positives on class-string<I> for an interface I: static methods, static properties and class constants that I doesn't declare (e.g. an enum's cases()) are no longer reported as undeclared, and the arguments of new $class() are only checked when the represented class declares a constructor or is final (#5558, #5595)
  • Fix PhanTypeMismatchArgumentInternalProbablyReal for ReflectionProperty::setValue(null, $value), ReflectionProperty::getValue(null) and ReflectionMethod::getClosure(null): these parameters accept ?object, as in PHP (#5568, #5594)
  • Fix a false positive in the global scope (PhanTypeMismatchArgumentNullable with a falsey type such as ?''|?'0'|?0|?0.0|?array{}|?false) when the condition of a ternary used as a call argument or in a return expression narrowed a variable: the condition visitors no longer modify the shared global scope (#5593)
Source: README.md, updated 2026-10-11