After my summer break I am back at my primary job. Started updating #phpstan in our closed source projects CI.
one example:
PHPStan 2.2.5: 70s
PHPStan 2.2.14: 37s
nice to see our recent #performance focus pays off in real world projects 🚀
just supported #kimai with a drive-by #phpstan improvement for their GitHub Actions pipeline
status quo was: 66s
after disabling pcov: 53s
after update to PHP8.3 - which enables PHPStan turbo: 34s
with persistent and warm result-cache: 4s
github.com/kimai/kimai/pu…
The PHPStan's playground just gained a superpower: an X-ray for your code! Flip the switch in the top right corner and you'll get info about AST node types and inferred PHPStan types on hover.
updated @phpstan to the latest release on the @WordPress codebase.
thanks to the latest performance improvements on a cold result-cache it now takes 11 seconds instead of 33 seconds before.
pro tip: make regularly sure you are on the latest version!
Just updated @phpstan to the latest release on the @shopware codebase.
on my local machine I can reproduce a speedup of ~47% (when result-cache is cold).
As soon as the result-cache is warm, its a matter of a few seconds.
I was told that the recent PHPStan version (2.2.13) got a significant performance boost. I have to say: I'm not disappointed! ±4s to run PHPStan compared to ±17s on the whole Tempest codebase 💯
PHPStan 2.2.13 is a big one. Not as big as 2.3.0 will be but a big one nevertheless 😉
• Result cache finally becomes usable for monorepo setups
• PHPStan always runs with OPCache enabled
• PHPStan Turbo strips runtime checks from PHPStan's own code (!!!)
If you are using #phpstan you should make sure to update regularly.
Latest versions did make big steps in efficiency, analysis time and precision.
If you think you are stuck on 1.x versions, tell me why!
Starting with todays @phpstan release we improved result cache so we can utilize it more often out of the box. Should be especially useful on gitlab so you can easily persist the result cache file between runs without the need for a custom path in NEON config
71K Followers 977 FollowingBuilding @getpolyscope, https://t.co/JvEOgCzGsT, https://t.co/HbdEOhayav, https://t.co/vuTdNhzpMW, and more. Follow my product dev journey. CTO at @beyondcode
25K Followers 310 FollowingThe Database Guy. I am helping you get better with MySQL and PostgreSQL.
⚡️ https://t.co/WwHTfJFoA5
📝 https://t.co/zJpXKSTKve
🛠️ @stackbricksapp
1K Followers 370 Following🇵🇱 https://t.co/HerX32NWvo 🇬🇧 https://t.co/m6h4mNhOBh | Self-educated specialist: PHP, CI/CD, QA automation, Docker, Gitlab and more 😎. Member of @PHPCSFixer team 🪶.
5K Followers 3K Following🏴 Principal Engineer / CTO | Open Source Leader | Public Speaker |
I'm part of @official_php, @phpfig, @dagger_io, @jenkinsci, @CDeliveryFdn
1 Followers 39 Following💻 Pomagamy szybciej znaleźć pracę i zlecenia w IT
⏱️ https://t.co/xNePdABGz4 - oferty pracy i blog dla devów
👨💻 Tworzone przez dev dla dev
23 Followers 317 FollowingTwenty years of PHP, most of them Laravel. AI writes much of my code now, but I say what gets made. I share it all here. Building @minimailerapp
0 Followers 119 Following☁️ Hosting, VPS y software a medida para empresas. Automatización, IA y tecnología para convertir ideas en soluciones reales. ⚡
0 Followers 33 FollowingWooxen develops premium custom plugins sold exclusively on the WordPress and WooCommerce marketplaces, empowering stores with specialized, reliable solutions.
45 Followers 258 FollowingAbianic es una empresa de Software en Guayaquil, Ecuador
Conoce más de nuestros servicios visitando nuestro sitio web
📱+593969929004
1 Followers 24 FollowingFounder of Moxtor Inc. Creator of PHPAML. Building connected automotive technology and simpler tools for PHP developers. Based in Ottawa, Canada.