mastouille.fr est l'un des nombreux serveurs Mastodon indépendants que vous pouvez utiliser pour participer au fédiverse.
Mastouille est une instance Mastodon durable, ouverte, et hébergée en France.

Administré par :

Statistiques du serveur :

580
comptes actifs

#PHPStan

0 message0 participant0 message aujourd’hui
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>
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>
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>
markus staab<p>A big THANK YOU goes out to the great people of <span class="h-card" translate="no"><a href="https://phpc.social/@packagist" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>packagist</span></a></span> - the company behind the composer php package manager - for <a href="https://phpc.social/tags/sponsoring" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>sponsoring</span></a> my <a href="https://phpc.social/tags/opensource" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>opensource</span></a> work.</p><p>I am really proud to have them on board.</p><p>In case your project also use one of the tools I contribute to extensively (e.g. <a href="https://phpc.social/tags/phpstan" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>phpstan</span></a>), please ask your boss to support me.</p>
markus staab<p>Todays release of phpstan-dba added support for doctrine-dbal 4.x - thanks to bnowak on GitHub</p><p><a href="https://github.com/staabm/phpstan-dba" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">github.com/staabm/phpstan-dba</span><span class="invisible"></span></a></p><p><a href="https://phpc.social/tags/phpstan" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>phpstan</span></a> <a href="https://phpc.social/tags/doctrine" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>doctrine</span></a></p>
Larry Garfield<p><a href="https://phpc.social/tags/PHPStan" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PHPStan</span></a> users! What level do you consider "good enough" for your code?</p>
Symfony Station 🇺🇦🇨🇦🇧🇷<p>Restricted Usage Extensions—You Don’t Always Need a Custom Rule. <a href="https://drupal.community/tags/PHP" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PHP</span></a> <a href="https://drupal.community/tags/PHPstan" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PHPstan</span></a><br><a href="https://phpstan.org/blog/restricted-usage-extensions-you-dont-always-need-custom-rule" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">phpstan.org/blog/restricted-us</span><span class="invisible">age-extensions-you-dont-always-need-custom-rule</span></a></p>
Ampache<p><a href="https://github.com/ampache/ampache/releases/tag/7.4.2" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/ampache/ampache/rel</span><span class="invisible">eases/tag/7.4.2</span></a></p><p>New <a href="https://fosstodon.org/tags/ampache" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ampache</span></a> release out now</p><p>This one also has the performance updates queries for public users and closes many data bugs found while reducing <a href="https://fosstodon.org/tags/phpstan" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>phpstan</span></a> issues.</p><p>There have been 1000 issues closed which is the most issues closed in a single release!</p><p><a href="https://fosstodon.org/tags/php" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>php</span></a> <a href="https://fosstodon.org/tags/dev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dev</span></a></p>
PHP Weekly<p>A new <a href="https://mastodon.social/tags/phpstan" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>phpstan</span></a> capability which will be available with the upcoming release: Remembered types from constructor</p><p><a href="https://staabm.github.io/2025/04/15/phpstan-remember-constructor-types.html" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">staabm.github.io/2025/04/15/ph</span><span class="invisible">pstan-remember-constructor-types.html</span></a></p><p>Discussions: <a href="https://discu.eu/q/https://staabm.github.io/2025/04/15/phpstan-remember-constructor-types.html" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">discu.eu/q/https://staabm.gith</span><span class="invisible">ub.io/2025/04/15/phpstan-remember-constructor-types.html</span></a></p><p><a href="https://mastodon.social/tags/php" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>php</span></a> <a href="https://mastodon.social/tags/programming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>programming</span></a></p>
Symfony Station 🇺🇦🇨🇦🇧🇷<p>PHPStan remembered types from constructor. <a href="https://drupal.community/tags/PHPstan" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PHPstan</span></a><br><a href="https://staabm.github.io/2025/04/15/phpstan-remember-constructor-types.html" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">staabm.github.io/2025/04/15/ph</span><span class="invisible">pstan-remember-constructor-types.html</span></a></p>
markus staab<p>As already spoilered, I have written down a small blog post for a new <a href="https://phpc.social/tags/phpstan" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>phpstan</span></a> capability which will be available with the upcoming release.</p><p>Remembered types from constructors.</p><p><a href="https://staabm.github.io/2025/04/15/phpstan-remember-constructor-types.html" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">staabm.github.io/2025/04/15/ph</span><span class="invisible">pstan-remember-constructor-types.html</span></a></p>
Ben Ramsey<p>Does anyone know if there's an annotation I can set to tell <span class="h-card" translate="no"><a href="https://phpc.social/@phpstan" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>phpstan</span></a></span> that `$min` is definitely less than `$max`, in this example:</p><p><a href="https://phpstan.org/r/30b3b96f-268e-4f22-b286-129f81f7dd25" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">phpstan.org/r/30b3b96f-268e-4f</span><span class="invisible">22-b286-129f81f7dd25</span></a></p><p><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>
Dominik Chrástecký - Blog<p><strong>Static Typing for the AWS SDK for PHP</strong></p> If you’ve ever worked with both PHPStan and the official AWS SDK for PHP, you know they don’t get along particularly well. In this article, I’ll show you a package I created that addresses this exact issue. <p><a href="https://chrastecky.dev/programming/static-typing-for-the-aws-sdk-for-php" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">chrastecky.dev/programming/sta</span><span class="invisible">tic-typing-for-the-aws-sdk-for-php</span></a></p>
markus staab<p>took a day free from the primary job and doing some <a href="https://phpc.social/tags/phpstan" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>phpstan</span></a> perf tweaking instead in my freetime.</p><p>Started by squeezing out the maximum performance of super-often called methods.</p><p>consider sponsoring to make PHPStan faster :)</p><p><a href="https://github.com/phpstan/phpstan-src/pull/3860" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/phpstan/phpstan-src</span><span class="invisible">/pull/3860</span></a><br><a href="https://github.com/phpstan/phpstan-src/pull/3859" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/phpstan/phpstan-src</span><span class="invisible">/pull/3859</span></a></p>
Stephan Hochdörfer<p>Hello phpstan-sylius! </p><p>I did it again, this time it's a <a href="https://phpc.social/tags/PHPStan" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PHPStan</span></a> extension for the <a href="https://phpc.social/tags/Sylius" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Sylius</span></a> e-commerce framework. Very experimental state but looks promising, I think.</p><p><a href="https://blog.bitexpert.de/blog/announcing_phpstan_sylius" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">blog.bitexpert.de/blog/announc</span><span class="invisible">ing_phpstan_sylius</span></a></p>
COil ✊ 🇺🇦 🐝<p>New feature branch on <a href="https://mastodon.top/tags/MicroSymfony" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>MicroSymfony</span></a> that shows how to integrate <a href="https://mastodon.top/tags/Psalm" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Psalm</span></a> into a <a href="https://mastodon.top/tags/Symfony" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Symfony</span></a> project. Psalm found three errors, and they have been back-ported to the main branch (details in PR). <br>⎇ <a href="https://github.com/strangebuzz/MicroSymfony/pull/160" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/strangebuzz/MicroSy</span><span class="invisible">mfony/pull/160</span></a><br><a href="https://mastodon.top/tags/php" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>php</span></a> <a href="https://mastodon.top/tags/rad" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rad</span></a> <a href="https://mastodon.top/tags/oss" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>oss</span></a> <a href="https://mastodon.top/tags/buildinpublic" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>buildinpublic</span></a> <a href="https://mastodon.top/tags/quality" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>quality</span></a> <a href="https://mastodon.top/tags/static" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>static</span></a>-analysis <a href="https://mastodon.top/tags/phpstan" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>phpstan</span></a></p>
Matthew Turland<p>Why Final Classes make <a href="https://phpc.social/tags/Rector" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Rector</span></a> and <a href="https://phpc.social/tags/PHPStan" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PHPStan</span></a> more powerful | Tomas Votruba <a href="https://tomasvotruba.com/blog/why-final-classes-make-rector-and-phpstan-more-powerful" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">tomasvotruba.com/blog/why-fina</span><span class="invisible">l-classes-make-rector-and-phpstan-more-powerful</span></a> <a href="https://phpc.social/tags/PHP" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PHP</span></a></p>
Dave Liddament<p>Day 20 of PHP Generics. </p><p>This looks at the extends annotation. We also see how multiple things we've learnt can be used together. </p><p><a href="https://vimeo.com/1052595811" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">vimeo.com/1052595811</span><span class="invisible"></span></a></p><p><a href="https://phpc.social/tags/phpstan" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>phpstan</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/generics" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>generics</span></a></p>
markus staab<p>Last few days I have built new <a href="https://phpc.social/tags/phpstan" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>phpstan</span></a> rules for our home grown MVC framework to detect unused view files and unused routing rules.</p><p>thanks for the inspiration Tomas Votruba - who did similar things for blade templates recently.</p>