DEV Community

# phpstan

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
PHPStan 'expects X, Y given' — the trace it doesn't give you

PHPStan 'expects X, Y given' — the trace it doesn't give you

1
Comments
4 min read
Why `mixed` Is the Worst Type in Your PHP Codebase (and How to Kill It)

Why `mixed` Is the Worst Type in Your PHP Codebase (and How to Kill It)

Comments
8 min read
PHP 8.4 Unions Aren't Discriminated Unions. tsc Knows Louder.

PHP 8.4 Unions Aren't Discriminated Unions. tsc Knows Louder.

Comments
12 min read
PHPStan's JSON Output Is Noise. I Wrote a Formatter with a Baseline Diff.

PHPStan's JSON Output Is Noise. I Wrote a Formatter with a Baseline Diff.

Comments
9 min read
Stop shipping var_dump() to production — enforce it with PHPStan

Stop shipping var_dump() to production — enforce it with PHPStan

Comments
1 min read
The Case for Strict PHPStan Baselines in Enterprise Codebases

The Case for Strict PHPStan Baselines in Enterprise Codebases

Comments
2 min read
My Opinionated Symfony + SvelteKit Template with 10 PHPStan Extensions

My Opinionated Symfony + SvelteKit Template with 10 PHPStan Extensions

3
Comments 2
5 min read
How I 10x My Output as a Senior Developer Without Sacrificing Code Quality

How I 10x My Output as a Senior Developer Without Sacrificing Code Quality

Comments
5 min read
đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.