We just started to use PHPStan in a pretty big application. Needless to say that even on a mere level 6 we had roughly 1000 errors to start with (6.5k basefile lines). Rule of thumb is that whenever we touch a file we just gonna improve upon it. We're down to 4k lines in baseline file which is just great. Code does become way more stable using tools like this. It does catch issues that - when just writing down code - you simply don't catch.
Thanks for sharing, and glad you're starting to see great results. Are you using other tools like PHP Mess Detector and PHP Codesniffer as well? I talked about phpmd here: ruclips.net/video/8fEfHESrK5E/видео.html
Hello !! Hi, I really like a lot of your videos. About code quality I'm implementing some commit verification routines with their own hooks, for that I needed to add a development dependency on nodejs with npm the husky, with it I can only validate code that is on stage. I would like to know if you know any tools in PHP that fill this need.
Thanks for watching, and happy you're finding the videos helpful. One way to validate might be to create a small shell script to call with a hook. I'll give this some thought and provide more details when I'm not traveling.
To learn more about technical debt, see this video: ruclips.net/video/ZJ5a4mxBbWw/видео.html
Or view my entire playlist on code quality at ruclips.net/p/PL6_nF0awZMoPxqSUuYM1Pawa8CR1kV_2t
the voice of this guy is amazing. Its like Saul Goodman lovely bubble sound
best lecture i have sceen on phpstan
Thank you.
I love your elephants 😍 great explanation
We just started to use PHPStan in a pretty big application. Needless to say that even on a mere level 6 we had roughly 1000 errors to start with (6.5k basefile lines). Rule of thumb is that whenever we touch a file we just gonna improve upon it. We're down to 4k lines in baseline file which is just great. Code does become way more stable using tools like this. It does catch issues that - when just writing down code - you simply don't catch.
Thanks for sharing, and glad you're starting to see great results. Are you using other tools like PHP Mess Detector and PHP Codesniffer as well? I talked about phpmd here: ruclips.net/video/8fEfHESrK5E/видео.html
Long time no see Adam !! Very interesting tool ! Thanks for the video !
Thanks for watching! Glad you found it helpful. Great to see you here.
Great job man!
Very helpful. Thx!
I develop mainly for Drupal, and find PHPStan essential.
Thx from AZPHP
Great explanation. Thank you.
Glad it was helpful!
Thanks for sharing!
Thank you for watching.
Hello !! Hi, I really like a lot of your videos. About code quality I'm implementing some commit verification routines with their own hooks, for that I needed to add a development dependency on nodejs with npm the husky, with it I can only validate code that is on stage.
I would like to know if you know any tools in PHP that fill this need.
Thanks for watching, and happy you're finding the videos helpful.
One way to validate might be to create a small shell script to call with a hook. I'll give this some thought and provide more details when I'm not traveling.
Would you be interested in presenting via Zoom in January?
mantul
Thank you, and thanks for watching.
if we are talking about something five years old as new thing, we have a problem
Um, it just went version 1 recently. ;-) But I understand what you're trying to say.
HELP