Last few days I have built new #phpstan rules for our home grown MVC framework to detect unused view files and unused routing rules.
thanks for the inspiration Tomas Votruba - who did similar things for blade templates recently.
=> More informations about this toot | View the thread
=> More informations about this toot | View the thread
PHP Annotated mentions 3 of my #PHPStan blog posts 😎
https://blog.jetbrains.com/phpstorm/2025/01/php-annotated-january-2025/
=> More informations about this toot | View the thread
=> More informations about this toot | View the thread
=> More informations about this toot | View the thread
=> More informations about this toot | View the thread
=> More informations about this toot | View the thread
=> More informations about this toot | View the thread
new #phpstan rule of the day.
detects javascript syntax errors of scripts inlined in php source files
=> View attached media | View attached media
=> More informations about this toot | View the thread
named arguments in #php are unnecessary/useless in most scenarios.
use them as spare as possible.
thankfully there is a no-named-arguments
-phpdoc which instruct static analysis to warn about some examples of misuse.
we discuss a new php-cs-fixer rule: https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/discussions/8359
=> More informations about this toot | View the thread
=> More informations about this toot | View the thread
=> More informations about this toot | View the thread
=> More informations about this toot | View the thread
=> More informations about this toot | View the thread
Its one of these days again. lets see whether we can get #phpstan a bit faster for some slow edge cases
10x Faster constant array processing 🚀
=> More informations about this toot | View the thread
=> More informations about this toot | View the thread
=> More informations about this toot | View the thread
My recent improvements to #phpstan loose-comparison already pay off :-)
=> More informations about this toot | View the thread
=> More informations about this toot | View the thread
=> More informations about this toot | View the thread
=> This profile without reblog | Go to markusstaab@phpc.social account This content has been proxied by September (3851b).Proxy Information
text/gemini