#phpstan search results

#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-…


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

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

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

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 🔥!


London here I come! ✈️🐘 #phpuk #phpstan ⁦⁦@PHPUKConference

OndrejMirtes's tweet image. London here I come! ✈️🐘 #phpuk #phpstan  ⁦⁦@PHPUKConference⁩

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


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.

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

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-…


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

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

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.

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

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

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 🥰

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

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

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

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

#php #phpstan #codequality

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

Fail fast in #phpstan custom rules!

janedbal's tweet image. Fail fast in #phpstan custom rules!

London here I come! ✈️🐘 #phpuk #phpstan ⁦⁦@PHPUKConference

OndrejMirtes's tweet image. London here I come! ✈️🐘 #phpuk #phpstan  ⁦⁦@PHPUKConference⁩

It's #phpday! @OndrejMirtes is starting the day, he's telling us how he builds #phpstan

DaveLiddament's tweet image. It's #phpday! @OndrejMirtes is starting the day, he's telling us how he builds #phpstan

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

It's so annoying that we can't pass Collection<Dog> into Collection<Animal>, unless @​template is covariant. But with @​template-covariant T, we can't use T in a @​param. @jiripudil is on the verge of solving this with so-called type projections aka call-site variance. #phpstan

OndrejMirtes's tweet image. It&apos;s so annoying that we can&apos;t pass Collection&amp;lt;Dog&amp;gt; into Collection&amp;lt;Animal&amp;gt;, unless @​template is covariant.
But with @​template-covariant T, we can&apos;t use T in a @​param.

@jiripudil is on the verge of solving this with so-called type projections aka call-site variance. #phpstan

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&apos;s very helpful—like a life jacket for things I might miss while developing. 
I&apos;m working on a tutorial on how to implement it.

#PHPStan #WordPressPlugins

Loading...

Something went wrong.


Something went wrong.


United States Trends