| Name | Modified | Size | Downloads / 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 interfaceI: static methods, static properties and class constants thatIdoesn't declare (e.g. an enum'scases()) are no longer reported as undeclared, and the arguments ofnew $class()are only checked when the represented class declares a constructor or is final (#5558, #5595) - Fix
PhanTypeMismatchArgumentInternalProbablyRealforReflectionProperty::setValue(null, $value),ReflectionProperty::getValue(null)andReflectionMethod::getClosure(null): these parameters accept?object, as in PHP (#5568, #5594) - Fix a false positive in the global scope (
PhanTypeMismatchArgumentNullablewith a falsey type such as?''|?'0'|?0|?0.0|?array{}|?false) when the condition of a ternary used as a call argument or in areturnexpression narrowed a variable: the condition visitors no longer modify the shared global scope (#5593)