| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| phpstan.phar | 2026-04-01 | 26.3 MB | |
| phpstan.phar.asc | 2026-04-01 | 833 Bytes | |
| 2.1.46 source code.tar.gz | 2026-04-01 | 3.9 MB | |
| 2.1.46 source code.zip | 2026-04-01 | 3.9 MB | |
| README.md | 2026-04-01 | 1.2 kB | |
| Totals: 5 Items | 34.1 MB | 0 | |
Improvements 🔧
- Properly union HasOffsetValueType in huge intersections describing the same offsets (https://github.com/phpstan/phpstan-src/commit/429723d1d3d925ccfaa951235eeb44729ad439c4)
Bugfixes 🐛
- Fix sealed class-string match exhaustiveness for ::class comparisons (#5305), [#12241], thanks @mhert!
- Fix sealed class-string match exhaustiveness for generic sealed hierarchies (#5369), [#14412]
- Fix incorrect type narrowing with dependent types (#5373), [#14411], [#11328], [#10085], [#14211], thanks @VincentLanglet and @staabm!
- Fix false positive contravariant parameter with nested trait (#5244), [#14320]
- Properly preserve TemplateConstantArrayType (https://github.com/phpstan/phpstan-src/commit/c71be494d266cace0937fe9d3b67dddb898bb749), [#12355], [#9828]
Performance 🏎️
TypeCombinator::unionoptimizations (#5325), thanks @SanderMuller!