Boom 💥 The next #phpstan release will report less false-positives when configured with the optional reportPossiblyNonexistentGeneralArrayOffset: true

markusstaab's tweet image. Boom 💥

The next #phpstan release will report less false-positives when configured with the optional reportPossiblyNonexistentGeneralArrayOffset: true

Great example of using the template type for PHP extensible classes, this could be done in Symfony codebase. #SymfonyCon #phpstan

GromNaN's tweet image. Great example of using the template type for PHP extensible classes, this could be done in Symfony codebase. #SymfonyCon #phpstan
GromNaN's tweet image. Great example of using the template type for PHP extensible classes, this could be done in Symfony codebase. #SymfonyCon #phpstan

sometimes the very simple #phpstan rules are the ones which make your code readable and easy to reason about.

markusstaab's tweet image. sometimes the very simple #phpstan rules are the ones which make your code readable and easy to reason about.

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 🥰

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

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

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 :)

markusstaab's tweet image. 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 :)

#Achievement unlocked. Used a feature in #phpstan, even @OndrejMirtes did not know it exists :-)

markusstaab's tweet image. #Achievement unlocked.

Used a feature in #phpstan, even @OndrejMirtes did not know it exists :-)

Next version of Larastan will recognize unsigned columns. It works for both migrations and schema dumps! #php #phpstan #laravel

can__vural's tweet image. Next version of Larastan will recognize unsigned columns. It works for both migrations and schema dumps!

#php #phpstan #laravel
can__vural's tweet image. Next version of Larastan will recognize unsigned columns. It works for both migrations and schema dumps!

#php #phpstan #laravel

This usually means my #phpstan contribution will make your life a lot easier

markusstaab's tweet image. This usually means my #phpstan contribution will make your life a lot easier

I've just released kocal/phpstan-symfony-ux, a set of #PHPStan rules to improve the quality of your apps built with #SymfonyUX 🚀 github.com/Kocal/phpstan-…


Do you use #phpstan level 9 and think it's not painful enough? PHPStan 2.0 will introduce level 10 for even more pain *cough* type safety 🔥!


Collaborated with @OndrejMirtes on a few changes, which fixed lots of old bugs in #phpstan. I love it when issue bot freaks out and reports your change fixes even more bugs as initially planned :-)

markusstaab's tweet image. Collaborated with @OndrejMirtes on a few changes, which fixed lots of old bugs in #phpstan.

I love it when issue bot freaks out and reports your change fixes even more bugs as initially planned :-)
markusstaab's tweet image. Collaborated with @OndrejMirtes on a few changes, which fixed lots of old bugs in #phpstan.

I love it when issue bot freaks out and reports your change fixes even more bugs as initially planned :-)

Do you use constant-arrays in array_merge() in a mix with dynamic arrays (e.g. user input) to enforce certain offsets exist? #PHPStan did not realize offsets will always be contained in the result. Proposed a fix today, so PHPStan remembers the offset keys.

markusstaab's tweet image. Do you use constant-arrays in array_merge() in a mix with dynamic arrays (e.g. user input) to enforce certain offsets exist?

#PHPStan did not realize offsets will always be contained in the result.
Proposed a fix today, so PHPStan remembers the offset keys.

Never promise a release date. Never promise a release date. Never promise a release date. Oops, I did it again 🤦‍♂️ #phpstan

OndrejMirtes's tweet image. Never promise a release date. Never promise a release date. Never promise a release date.

Oops, I did it again 🤦‍♂️ #phpstan

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…


Projects using #composerphp "autoload-files" in their composer.json will see some speedup when analzed with #phpstan, starting with the next phpstan release.


Did you know that PHPStan could also perform static analysis on SQL queries? 🙂 I did an extension that catches: ✅ MySQL syntax errors ✅ Parameter binding mismatches ✅ SELECT columns vs PHPDoc types ✅ Self-reference conditions github.com/pierresh/phpst… #PHPStan


#Achievement unlocked. Used a feature in #phpstan, even @OndrejMirtes did not know it exists :-)

markusstaab's tweet image. #Achievement unlocked.

Used a feature in #phpstan, even @OndrejMirtes did not know it exists :-)

I've just released kocal/phpstan-symfony-ux, a set of #PHPStan rules to improve the quality of your apps built with #SymfonyUX 🚀 github.com/Kocal/phpstan-…


#Achievement unlocked. Used a feature in #phpstan, even @OndrejMirtes did not know it exists :-)

markusstaab's tweet image. #Achievement unlocked.

Used a feature in #phpstan, even @OndrejMirtes did not know it exists :-)

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

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

Great example of using the template type for PHP extensible classes, this could be done in Symfony codebase. #SymfonyCon #phpstan

GromNaN's tweet image. Great example of using the template type for PHP extensible classes, this could be done in Symfony codebase. #SymfonyCon #phpstan
GromNaN's tweet image. Great example of using the template type for PHP extensible classes, this could be done in Symfony codebase. #SymfonyCon #phpstan

sometimes the very simple #phpstan rules are the ones which make your code readable and easy to reason about.

markusstaab's tweet image. sometimes the very simple #phpstan rules are the ones which make your code readable and easy to reason about.

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 :)

markusstaab's tweet image. 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 :)

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 🥰

A productive evening, I'd say. #php #phpstan #codequality

RmeetsH's tweet image. A productive evening, I'd say.

#php #phpstan #codequality

Boom 💥 The next #phpstan release will report less false-positives when configured with the optional reportPossiblyNonexistentGeneralArrayOffset: true

markusstaab's tweet image. Boom 💥

The next #phpstan release will report less false-positives when configured with the optional reportPossiblyNonexistentGeneralArrayOffset: true

Les éléphants PHPStan sont arrivés ! #phpstan

jdecool's tweet image. Les éléphants PHPStan sont arrivés ! #phpstan

PHPStan saved me from uploading an error to a plugin. It's very helpful—like a life jacket for things I might miss while developing. I'm working on a tutorial on how to implement it. #PHPStan #WordPressPlugins

davidperezmk's tweet image. PHPStan saved me from uploading an error to a plugin. It's very helpful—like a life jacket for things I might miss while developing. 
I'm working on a tutorial on how to implement it.

#PHPStan #WordPressPlugins

This usually means my #phpstan contribution will make your life a lot easier

markusstaab's tweet image. This usually means my #phpstan contribution will make your life a lot easier

A very productive evening. Yes! #php #phpstan #level9 #codequality

RmeetsH's tweet image. A very productive evening. Yes!

#php #phpstan #level9 #codequality

“Practical Introduction to Static Analysis with Laravel + PHPStan” #phpstan #phpcon #track1

tadsan's tweet image. “Practical Introduction to Static Analysis with Laravel + PHPStan” #phpstan #phpcon #track1
tadsan's tweet image. “Practical Introduction to Static Analysis with Laravel + PHPStan” #phpstan #phpcon #track1

I'd like to code with passing statistical analysis, but sometimes it's so hard. #phpstan #larastan

scottzirkel's tweet image. I'd like to code with passing statistical analysis, but sometimes it's so hard.

#phpstan #larastan

What a hidden #phpstan feature! @phpstan-assert-if-true =resource

janedbal's tweet image. What a hidden #phpstan feature!

@phpstan-assert-if-true =resource
janedbal's tweet image. What a hidden #phpstan feature!

@phpstan-assert-if-true =resource

Loading...

Something went wrong.


Something went wrong.


United States Trends