phpstan's profile picture. Find bugs in your code without writing tests! Created by @OndrejMirtes

PHPStan

@phpstan

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

PHPStan reposted

PHP 8.5 Released! 🎉 In this new release we have: – URI Extension – Pipe Operator – Clone With – A new #[\NoDiscard] attribute – Closures and first-class callables in constant expressions – Persistent cURL share handles Read all about it: php.net/releases/8.5/

ThePHPF's tweet image. PHP 8.5 Released! 🎉

In this new release we have:
– URI Extension
– Pipe Operator
– Clone With
– A new #[\NoDiscard] attribute
– Closures and first-class callables in constant expressions
– Persistent cURL share handles

Read all about it: php.net/releases/8.5/

PHPStan reposted

I just put togehter a brief article which describes everthing new and noteworthy we shipped with the recent #phpstan #phpunit 1st party integration package staabm.github.io/2025/11/15/php…


PHPStan reposted

And thanks to the awesome work by @markusstaab, phpstan-phpunit now typechecks data providers as if they were traditional method calls:

OndrejMirtes's tweet image. And thanks to the awesome work by @markusstaab, phpstan-phpunit now typechecks data providers as if they were traditional method calls:

PHPStan reposted

PHPStan 2.1.32, still hot out of the oven, brings full support for the remaining PHP 8.5 features 🚀

OndrejMirtes's tweet image. PHPStan 2.1.32, still hot out of the oven, brings full support for the remaining PHP 8.5 features 🚀

PHPStan reposted

🚨 We’re excited to announce Ondřej Mirtes as our next PHP UK 2026 speaker! The Founder and Developer of @phpstan, Ondřej is a full-time open-source contributor known for creating one of PHP’s most widely used static analysis tools. He’ll explore how custom PHPStan rules can…


PHPStan reposted

PHPStan 2.0 along with a PHPStan elephpant was released exactly a year ago! How the time flies...

OndrejMirtes's tweet image. PHPStan 2.0 along with a PHPStan elephpant was released exactly a year ago! How the time flies...

PHPStan reposted

The future of PHPStan's analysis engine is about generators, coroutines and Fibers. This is not your grandpa's PHP:

OndrejMirtes's tweet image. The future of PHPStan's analysis engine is about generators, coroutines and Fibers. This is not your grandpa's PHP:

PHPStan reposted

This friday you can meet me at @techmeetupcz conference talking about #PHP Dead Code Elimination via @phpstan! See you there: eventee.com/e/techmeetup-c…

janedbal's tweet image. This friday you can meet me at @techmeetupcz conference talking about #PHP Dead Code Elimination via @phpstan!

See you there: eventee.com/e/techmeetup-c…

PHPStan reposted

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() 👇

OndrejMirtes's tweet image. 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() 👇

PHPStan reposted

🧩 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.

MilwadDev's tweet image. 🧩 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.

PHPStan reposted

In the near future #phpstan will error about your invalid #phpunit dataproviders data 🥰

markusstaab's tweet image. In the near future #phpstan will error about your invalid #phpunit dataproviders data 🥰

PHPStan reposted
OndrejMirtes's tweet image.

PHPStan reposted

Finally, PHPStan 2.1.31 can detect one of the trickiest PHP behaviours:

OndrejMirtes's tweet image. Finally, PHPStan 2.1.31 can detect one of the trickiest PHP behaviours:

Loading...

Something went wrong.


Something went wrong.