Measure PHP Code Quality With Static Analysis Using PHPStan

  Рет қаралды 10,631

Beachcasts Programming Videos

Beachcasts Programming Videos

Күн бұрын

Пікірлер: 27
@Beachcasts
@Beachcasts 3 жыл бұрын
To learn more about technical debt, see this video: kzbin.info/www/bejne/kHuYkmejraeVjdk
@Beachcasts
@Beachcasts 3 жыл бұрын
Or view my entire playlist on code quality at kzbin.info/aero/PL6_nF0awZMoPxqSUuYM1Pawa8CR1kV_2t
@hemovintage9430
@hemovintage9430 Ай бұрын
the voice of this guy is amazing. Its like Saul Goodman lovely bubble sound
@manuakasam
@manuakasam 3 жыл бұрын
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 3 жыл бұрын
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: kzbin.info/www/bejne/bpeol3t7iNd-a6c
@juniorWeb247
@juniorWeb247 2 жыл бұрын
best lecture i have sceen on phpstan
@Beachcasts
@Beachcasts 2 жыл бұрын
Thank you.
@lostcarpark
@lostcarpark Жыл бұрын
I develop mainly for Drupal, and find PHPStan essential.
@Emerii1
@Emerii1 5 ай бұрын
I love your elephants 😍 great explanation
@sophiebeaupuis9753
@sophiebeaupuis9753 3 жыл бұрын
Long time no see Adam !! Very interesting tool ! Thanks for the video !
@Beachcasts
@Beachcasts 3 жыл бұрын
Thanks for watching! Glad you found it helpful. Great to see you here.
@MarcelloPato
@MarcelloPato Жыл бұрын
Great job man!
@Abc-sl1nf
@Abc-sl1nf 2 жыл бұрын
Would you be interested in presenting via Zoom in January?
@keithlamontdavis8047
@keithlamontdavis8047 Жыл бұрын
Very helpful. Thx!
@azdcxdf
@azdcxdf 3 жыл бұрын
Great explanation. Thank you.
@Beachcasts
@Beachcasts 2 жыл бұрын
Glad it was helpful!
@Abc-sl1nf
@Abc-sl1nf 2 жыл бұрын
Thx from AZPHP
@DevCastOficial
@DevCastOficial 2 жыл бұрын
Thanks for sharing!
@Beachcasts
@Beachcasts 2 жыл бұрын
Thank you for watching.
@jeferson-guedes
@jeferson-guedes 3 жыл бұрын
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 3 жыл бұрын
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 3 жыл бұрын
if we are talking about something five years old as new thing, we have a problem
@Beachcasts
@Beachcasts 3 жыл бұрын
Um, it just went version 1 recently. ;-) But I understand what you're trying to say.
Vital Tips for Learning A New Codebase Quickly For Faster Productivity
9:56
Beachcasts Programming Videos
Рет қаралды 15 М.
Better Code Reviews in 6 SIMPLE STEPS
20:30
Continuous Delivery
Рет қаралды 6 М.
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 54 МЛН
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 9 МЛН
How To Write Clean Code With The Help Of Static Code Analysis
9:50
Milan Jovanović
Рет қаралды 26 М.
Developing on Windows with WSL2 (Subsystem for Linux) and PHP
22:15
Beachcasts Programming Videos
Рет қаралды 28 М.
Laravel Octane: supercharge your Laravel applications
8:34
Aaron Francis
Рет қаралды 50 М.
PHPStan static analysis in PHP
46:56
Gary Clarke
Рет қаралды 6 М.
Why You Shouldn't Nest Your Code
8:30
CodeAesthetic
Рет қаралды 2,8 МЛН
Use Composer to Easily Manage PHP Packages
15:40
Dave Hollingworth
Рет қаралды 10 М.
How to deeply understand Angular signals (...or anything)
10:51
Joshua Morony
Рет қаралды 10 М.
Google’s Quantum Chip: Did We Just Tap Into Parallel Universes?
9:34
Real 10x Programmers Are SLOW To Write Code
14:51
Thriving Technologist
Рет қаралды 68 М.
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН