mastodon.xyz is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Mastodon instance, open to everyone, but mainly English and French speaking.

Administered by:

Server stats:

739
active users

#phpstan

2 posts2 participants0 posts today
DrupalCon Europe<p>Ondřej Mirtes is taking the stage at <a href="https://mastodon.social/tags/DrupalConVienna" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DrupalConVienna</span></a> on 14 October as a featured speaker in the CODING &amp; SITE BUILDING track. His session “Writing Custom PHPStan Rules for Drupal Projects” will show you how to elevate your skills.</p><p>✨ Don’t miss the chance to gain fresh insights straight from the creator of PHPStan!<br>👉 <a href="https://events.drupal.org/vienna2025/session/writing-custom-phpstan-rules-drupal-projects" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">events.drupal.org/vienna2025/s</span><span class="invisible">ession/writing-custom-phpstan-rules-drupal-projects</span></a></p><p><a href="https://mastodon.social/tags/DrupalConEur" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DrupalConEur</span></a> <a href="https://mastodon.social/tags/PHPStan" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PHPStan</span></a> <a href="https://mastodon.social/tags/DrupalDev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DrupalDev</span></a> <a href="https://mastodon.social/tags/Drupal" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Drupal</span></a> <a href="https://mastodon.social/tags/Coding" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Coding</span></a></p><p><span class="h-card" translate="no"><a href="https://phpc.social/@OndrejMirtes" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>OndrejMirtes</span></a></span></p>
Jérémy DECOOL<p>Les éléphants PHPStan sont arrivés ! <a href="https://phpc.social/tags/phpstan" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>phpstan</span></a></p>
🇵🇸 Álvaro González<p>Some <a href="https://mastodon.social/tags/PHP" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PHP</span></a> code I maintain from the late 1990s validates with <a href="https://mastodon.social/tags/PHPStan" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PHPStan</span></a> level 0. I'm satisfied.</p><p>(It's an abandoned site nobody ever visits, but I make the minimum fixes to keep it running with latest PHP version).</p>
PHPStan<p>New release: PHPStan 2.1.22 <a href="https://github.com/phpstan/phpstan/releases/tag/2.1.22" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/phpstan/phpstan/rel</span><span class="invisible">eases/tag/2.1.22</span></a> <a href="https://phpc.social/tags/phpstan" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>phpstan</span></a></p>
markus staab<p>The next <a href="https://phpc.social/tags/phpstan" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>phpstan</span></a> release will be able to detect dead code after immediately-invoked closures and arrow functions.</p><p>we utilize `@param-immediately-invoked-callable`-phpdoc of callable-typed parameters.</p>
PHPStan<p>New release: PHPStan 2.1.21 <a href="https://github.com/phpstan/phpstan/releases/tag/2.1.21" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/phpstan/phpstan/rel</span><span class="invisible">eases/tag/2.1.21</span></a> <a href="https://phpc.social/tags/phpstan" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>phpstan</span></a></p>
PHPStan<p>New release: PHPStan 2.1.20 <a href="https://github.com/phpstan/phpstan/releases/tag/2.1.20" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/phpstan/phpstan/rel</span><span class="invisible">eases/tag/2.1.20</span></a> <a href="https://phpc.social/tags/phpstan" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>phpstan</span></a></p>
Lukas Rotermund<p>PHP is when you spend eight hours mapping a dynamic OOP query structure into an array structure so that an external library can read it. However, today, PHPStan 1.12.28 required me to specify the array value EXACTLY. Yet it doesn't support the necessary circular dependencies by its `@phpstan-type`... 👏 </p><p>This is why I sometimes need a three-week vacation from PHP; otherwise, I'll burn out.</p><p>What remains? Delete all type definitions, and then exclude each resulting phpstan error individually. Awesome! More wasted time!</p><p>And of course some after-work Golang :go: to keep me sane.</p><p><a href="https://social.tchncs.de/tags/PHP" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PHP</span></a> <a href="https://social.tchncs.de/tags/PHPStan" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PHPStan</span></a></p>
PHPStan<p>New release: PHPStan 2.1.19 <a href="https://github.com/phpstan/phpstan/releases/tag/2.1.19" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/phpstan/phpstan/rel</span><span class="invisible">eases/tag/2.1.19</span></a> <a href="https://phpc.social/tags/phpstan" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>phpstan</span></a></p>
markus staab<p>We recently hit a production problem because dead code detection did not work like expected</p><p>until now <a href="https://phpc.social/tags/phpstan" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>phpstan</span></a> only saw unreachable code after always terminating statements</p><p>took me a while, but fixed dead code detection to check expressions - available in the upcoming release</p>
Cees-Jan Kiewiet :rp: :wm:<p>The PHPStan elePHPants arrived today 🎉 ! Well done <span class="h-card" translate="no"><a href="https://phpc.social/@OndrejMirtes" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>OndrejMirtes</span></a></span>!</p><p><a href="https://toot-toot.wyrihaxim.us/tags/PHP" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PHP</span></a> <a href="https://toot-toot.wyrihaxim.us/tags/ElePHPants" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ElePHPants</span></a> <a href="https://toot-toot.wyrihaxim.us/tags/PHPStan" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PHPStan</span></a> <a href="https://toot-toot.wyrihaxim.us/tags/ElePHPant" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ElePHPant</span></a> <a href="https://toot-toot.wyrihaxim.us/tags/blue" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>blue</span></a></p>
PHPStan<p>New release: PHPStan 2.1.18 <a href="https://github.com/phpstan/phpstan/releases/tag/2.1.18" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/phpstan/phpstan/rel</span><span class="invisible">eases/tag/2.1.18</span></a> <a href="https://phpc.social/tags/phpstan" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>phpstan</span></a></p>
PHPStan<p>New release: PHPStan 1.12.28 <a href="https://github.com/phpstan/phpstan/releases/tag/1.12.28" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/phpstan/phpstan/rel</span><span class="invisible">eases/tag/1.12.28</span></a> <a href="https://phpc.social/tags/phpstan" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>phpstan</span></a></p>
markus staab<p>boom 💥 </p><p><a href="https://phpc.social/tags/phpstan" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>phpstan</span></a></p>
Ampache<p>Ampache 7.7.0: 995 errors, 1987 files</p><p>The lowest issue count we've ever had and massive increase in quality all thanks to <a href="https://fosstodon.org/tags/phpstan" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>phpstan</span></a></p>
markus staab<p><a href="https://phpc.social/tags/phpstan" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>phpstan</span></a> rule of the day:</p><p>implemented a very naive rule which just checks the content of files and counts single quotes, double quotes and parenthesis.</p><p>in 98% of the files this should be a even number.<br>if not you likely found invalid html, sql, javascript, php, strings,.. :)</p>
Progi1984<p><span class="h-card" translate="no"><a href="https://piaille.fr/@nicosomb" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>nicosomb</span></a></span> 🫂 C'était un financement participatif qui date d'il y a un an ou deux. </p><p>Et bientôt il y a celui de <a href="https://piaille.fr/tags/phpstan" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>phpstan</span></a> qui arrive.</p>
Anthony, of course<p>The <a href="https://bitbang.social/tags/PHPStan" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PHPStan</span></a> <a href="https://bitbang.social/tags/Elephpant" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Elephpant</span></a> has joined the herd. Love the attention to detail! Thanks <span class="h-card"><a href="https://phpc.social/@OndrejMirtes" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>OndrejMirtes</span></a></span></p><p><a href="https://bitbang.social/tags/PHP" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PHP</span></a></p>
Derick Rethans<p>Another one for the herd! Welcome to your new home, Stan.</p><p>Thanks for the adoption opportunity <span class="h-card" translate="no"><a href="https://phpc.social/@OndrejMirtes" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>OndrejMirtes</span></a></span> !</p><p><a href="https://phpc.social/tags/elephpant" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>elephpant</span></a> <a href="https://phpc.social/tags/php" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>php</span></a> <a href="https://phpc.social/tags/Phpstan" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Phpstan</span></a></p>
Helmut Hummel 🐝<p><a href="https://phpstan.org/r/6b9bdd7e-8fc3-4200-9dfa-ed7b29f6e41e" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">phpstan.org/r/6b9bdd7e-8fc3-42</span><span class="invisible">00-9dfa-ed7b29f6e41e</span></a></p><p>Any idea what <a href="https://chaos.social/tags/phpstan" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>phpstan</span></a> is complaining about here? <a href="https://chaos.social/tags/php" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>php</span></a> </p><p>I don't get it.</p>