I'm looking for a PHPStan extension, that
1) finds all Behat methods definitions in PHP
2) then all useage in YML configs
3) compare them and detect missing cases on either side
Has anyone made it yet?
I made @PHPCSFixer N-times faster, depending on the available CPU cores 🥳! For Fixer itself, it allowed to reduce analysis time from 65 to 12 seconds on my computer 🤩!
It is the biggest and most important change provided by me to this project 🥹.
github.com/php-cs-fixer/P…
@OndrejMirtes Its mostly useful to get people to understand errors they are gonna be tackling once we move on to the next phpstan level.
But ill edit to to say you shouldn’t run it by default like that
@OndrejMirtes I would always run it at the current level in CI. But you can ring it on diffed files on a higher level, more so as a way to show what more errors there are in a file. If your not running at that level
@BackEndTea And we can even combine phpstan and phpunit in the test itself 🙂 : #L18" target="_blank" rel="nofollow noopener">github.com/voku/Arrayy/bl…
Learn how to generate a random string in #PHP.
Since PHP 8.2 there are more options to generate a secure random string. This post will explain how you can do so!
backendtea.com/post/php-rando…