Explore tweets tagged as #PHPStan
🧩 Clean code and quality tools in the PHP world According to the State of #PHP 2025 report, PHPStan has seen an impressive rise — from 27% in 2024 to 36% in 2025🚀 Following that, PHP CS Fixer (30%) and PHP_CodeSniffer (22%) remain strong contenders.
0
4
8
How beautiful and PHPStan-friendly code it is. 🤌
9
9
134
Just noticed that my @phpstan extension to detect disallowed calls, methods, attributes etc. has been installed more than 15M times, wow! Not bad for a weekend project (a long weekend since 2018). PHPStan itself has 300M installs, so 5% of all PHPStan installs use it, nice! 😊
1
2
19
Boom 💥 The next #phpstan release will report less false-positives when configured with the optional reportPossiblyNonexistentGeneralArrayOffset: true
0
3
21
0
4
28
Finally, PHPStan 2.1.31 can detect one of the trickiest PHP behaviours:
4
10
111
Still busy over here adding support for PHP 8.5 to PHPStan. This year there are many new features and changes for the better. Like Closure::getCurrent() 👇
2
3
83
I knew I shouldn't have setup phpstan on my side project 😂
15
0
34
I am caught in a #opensource contribution triangle Adding @infection_php based mutation testing to @phpstan which requires @phpunit test coverage While at it I found a few rough edges in all mentioned projects, which lead to improvements in all of them you will also benefit :-)
0
1
12
Thanks to @gregorharlan PHPStan will support "rawMessage" in "ignoreErrors". You will no longer have to come up with regexes to ignore messages ad verbatum! And baselines will look much cleaner too.
2
7
67
Sometimes it's not that fun to see a fight between @phpstan and @rectorphp to change your code 👀
3
2
11
As soon as your #phpstan pull request fixes a 4-digit bug, you know you made someone happy waiting for this thing for a few years already. just a tiny change for a more recent bug, but issue-bot told me it will make more people happy :)
1
1
11
Arg typer is coming allong pretty neatly 😊 * wrapped in single command ✅ * reports number of found types by @phpstan ✅ * same for filled types by @rectorphp ✅ * int, bool, float, string, array covered ✅ * null and ? types ✅ On project with 94% param coverage added 19 new
0
2
27
Hows the Arg typer doing? I've support for method calls, static calls, constructor (new) and functions call. Uses bare symfony/console, PHPStan and @rectorphp, to keep it simple Next up: swithing to ndjson format to remove collectors
1
1
7