Measure PHP Code Quality With Static Analysis Using PHPStan

Поделиться
HTML-код
  • Опубликовано: 3 окт 2024

Комментарии • 26

  • @Beachcasts
    @Beachcasts  2 года назад +2

    To learn more about technical debt, see this video: ruclips.net/video/ZJ5a4mxBbWw/видео.html

    • @Beachcasts
      @Beachcasts  2 года назад

      Or view my entire playlist on code quality at ruclips.net/p/PL6_nF0awZMoPxqSUuYM1Pawa8CR1kV_2t

  • @juniorWeb247
    @juniorWeb247 2 года назад +2

    best lecture i have sceen on phpstan

  • @Emerii1
    @Emerii1 3 месяца назад

    I love your elephants 😍 great explanation

  • @manuakasam
    @manuakasam 2 года назад +1

    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.

    • @Beachcasts
      @Beachcasts  2 года назад

      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

  • @sophiebeaupuis9753
    @sophiebeaupuis9753 2 года назад

    Long time no see Adam !! Very interesting tool ! Thanks for the video !

    • @Beachcasts
      @Beachcasts  2 года назад

      Thanks for watching! Glad you found it helpful. Great to see you here.

  • @azdcxdf
    @azdcxdf 2 года назад

    Great explanation. Thank you.

  • @lostcarpark
    @lostcarpark Год назад

    I develop mainly for Drupal, and find PHPStan essential.

  • @keithlamontdavis8047
    @keithlamontdavis8047 Год назад

    Very helpful. Thx!

  • @Abc-sl1nf
    @Abc-sl1nf Год назад

    Thx from AZPHP

  • @MarcelloPato
    @MarcelloPato Год назад

    Great job man!

  • @DevCastOficial
    @DevCastOficial 2 года назад

    Thanks for sharing!

  • @Abc-sl1nf
    @Abc-sl1nf Год назад

    Would you be interested in presenting via Zoom in January?

  • @jeferson-guedes
    @jeferson-guedes 2 года назад

    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.

    • @Beachcasts
      @Beachcasts  2 года назад

      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.

  • @irfnrdh
    @irfnrdh 2 года назад

    mantul

    • @Beachcasts
      @Beachcasts  2 года назад

      Thank you, and thanks for watching.

  • @markcuello5
    @markcuello5 Год назад

    HELP

  • @zbynekriha
    @zbynekriha 2 года назад

    if we are talking about something five years old as new thing, we have a problem

    • @Beachcasts
      @Beachcasts  2 года назад +2

      Um, it just went version 1 recently. ;-) But I understand what you're trying to say.