Explore tweets tagged as #PHPStan
@MilwadDev
Milwad Khosravi ⚡️
18 days
🧩 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
@MrPunyapal
Punyapal Shah ⚡ Laravel Artisan
1 month
How beautiful and PHPStan-friendly code it is. 🤌
9
9
134
@OndrejMirtes
Ondřej Mirtes
14 days
Implementing PHP 8.5 support in PHPStan feels like
9
4
155
@spazef0rze
Michal Špaček
2 months
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
@markusstaab
markus staab | @[email protected]
1 month
Boom 💥 The next #phpstan release will report less false-positives when configured with the optional reportPossiblyNonexistentGeneralArrayOffset: true
0
3
21
@markusstaab
markus staab | @[email protected]
22 days
In the near future #phpstan will error about your invalid #phpunit dataproviders data 🥰
0
4
28
@OndrejMirtes
Ondřej Mirtes
28 days
Finally, PHPStan 2.1.31 can detect one of the trickiest PHP behaviours:
4
10
111
@OndrejMirtes
Ondřej Mirtes
5 days
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
@can__vural
Can Vural
18 days
Today I wrote a @phpstan rule at work that warns you when you use `whereIn` with integer columns. `whereIn` uses the PDO bindings and thus slower with big arrays. Wondering if I should add it to Larastan? 🤔 #php #phpstan
4
4
52
@ashleyhindle
Ashley Hindle
27 days
I knew I shouldn't have setup phpstan on my side project 😂
15
0
34
@markusstaab
markus staab | @[email protected]
10 hours
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
@OndrejMirtes
Ondřej Mirtes
2 months
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
@MrPunyapal
Punyapal Shah ⚡ Laravel Artisan
9 days
Sometimes it's not that fun to see a fight between @phpstan and @rectorphp to change your code 👀
3
2
11
@markusstaab
markus staab | @[email protected]
24 days
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
@markusstaab
markus staab | @[email protected]
11 days
This usually means my #phpstan contribution will make your life a lot easier
1
0
18
@can__vural
Can Vural
11 days
Next version of Larastan will recognize unsigned columns. It works for both migrations and schema dumps! #php #phpstan #laravel
0
0
25
@VotrubaT
Tomas Votruba
19 days
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
@xf3l1x
Milan Felix Šulc
12 hours
0
0
2
@VotrubaT
Tomas Votruba
21 days
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