PHPStan

1.5K posts

PHPStan

PHPStan

@phpstan

Find bugs in your code without writing tests! Created by @OndrejMirtes

Katılım Temmuz 2016
1 Takip Edilen8.9K Takipçiler
PHPStan retweetledi
markus staab | @markusstaab@phpc.social
In case you think #phpstan is running too slow, have a look at the result of running `phpstan analyze` command with `-vv` and check whether it utilizes the result cache When the result cache is warm, it should be wicked fast in CI you likely need to persist the cache manually
markus staab | @markusstaab@phpc.social tweet media
English
2
3
7
683
PHPStan retweetledi
markus staab | @markusstaab@phpc.social
#phpstan 2.2.3+ is able to detect package updates based on composer.lock. utilizing the pre-existing dependency graph, we need to re-analyze only affected files. Previously we had todo a full project analysis. contributed by @sander_scode
markus staab | @markusstaab@phpc.social tweet media
English
0
4
14
1.3K
PHPStan retweetledi
Ondřej Mirtes
Ondřej Mirtes@OndrejMirtes·
PHPStan 2.2.4 addresses the RAMpocalypse! It now consumes a lot less memory. See for yourself by running "analyse -v". Running PHPStan itself used to consume 2,8 GB, now it consumes 2,1 GB. On a big real-world project, the consumption went down from 17,45 GB to 14,1 GB.
English
2
11
75
5.6K
PHPStan retweetledi
Nette Framework
Nette Framework@nettefw·
Your AI agent is only as good as your types. All of Nette now passes PHPStan at level 8 – not parts, not with exceptions, the whole framework. And why that matters more than ever in the age of agents: blog.nette.org/en/ai-agent-on…
English
0
3
6
664
PHPStan retweetledi
Ondřej Mirtes
Ondřej Mirtes@OndrejMirtes·
Don’t be sad the generics RFC won’t succeed. You can already have generics in PHP. Today. youtu.be/eRvH9CP4YfY
YouTube video
YouTube
English
3
8
35
6.5K
PHPStan retweetledi
Nette Framework
Nette Framework@nettefw·
AI agents are flipping priorities in PHP 🔻PhpStorm is no longer a must-have 🔼PHPStan is becoming mandatory The agent doesn't need anyone to autocomplete. It needs someone to keep an eye on it. Running all your code through PHPStan at level 8 is now basic hygiene, not a luxury
English
1
4
12
1.1K
PHPStan retweetledi
Ondřej Mirtes
Ondřej Mirtes@OndrejMirtes·
Generics bad. Generics will introduce inconsistencies to PHP. /s
Ondřej Mirtes tweet media
English
2
3
33
3.7K