Measure PHP Code Quality With Static Analysis Using PHPStan

Поділитися
Вставка
  • Опубліковано 20 вер 2024

КОМЕНТАРІ • 26

  • @Beachcasts
    @Beachcasts  2 роки тому +2

    To learn more about technical debt, see this video: ua-cam.com/video/ZJ5a4mxBbWw/v-deo.html

    • @Beachcasts
      @Beachcasts  2 роки тому

      Or view my entire playlist on code quality at ua-cam.com/play/PL6_nF0awZMoPxqSUuYM1Pawa8CR1kV_2t.html

  • @Emerii1
    @Emerii1 2 місяці тому

    I love your elephants 😍 great explanation

  • @juniorWeb247
    @juniorWeb247 2 роки тому +2

    best lecture i have sceen on phpstan

  • @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: ua-cam.com/video/8fEfHESrK5E/v-deo.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.

  • @MarcelloPato
    @MarcelloPato Рік тому

    Great job man!

  • @lostcarpark
    @lostcarpark Рік тому

    I develop mainly for Drupal, and find PHPStan essential.

  • @keithlamontdavis8047
    @keithlamontdavis8047 Рік тому

    Very helpful. Thx!

  • @Abc-sl1nf
    @Abc-sl1nf Рік тому

    Thx from AZPHP

  • @azdcxdf
    @azdcxdf 2 роки тому

    Great explanation. Thank you.

  • @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.