Post #4187332
2026-07-29 07:25 UTC
This document summarizes the behavior regarding types and PHPDoc across various PHP static analysis tools (including type checkers, type-aware linters, and language servers). While the comparison of type notations is not yet exhaustive, I am currently working on expanding it. https://zonuexe.github.io/php-typing-conformance/
Replies (1)
-
@OndrejMirtes@phpc.social 2026-07-29 17:24
@zonuexe@phpc.social I don't get why callable-array, non-empty-mixed, noreturn are marked as "not enforced" by PHPStan. Please open issues about those. AFAIK they work properly.