Measure PHP Code Quality With Static Analysis Using PHPStan

Описание к видео Measure PHP Code Quality With Static Analysis Using PHPStan

Measure PHP Code Quality With Static Analysis Using PHPStan to check coding standards. (see shortcuts below to key points) Adam Culp of Beachcasts php programming videos shows how to get clean code with PHPStan for static code analysis for code quality.

Please * LIKE, COMMENT, AND SUBSCRIBE * - and share with others!

Key Topics:
What is static analysis and sniffing for code smells
Using PHPStan for static code analysis
Setting up PHPStan run level, and outputting results to a file

Support the channel with this Cloudways affiliate link: https://www.cloudways.com/en/?id=1013434 and use the discount code BEACHCASTS to get a free month of hosting.

For a nice list of equipment I use in my studio, and to support the channel if you make any purchases (doesn't cost you a thing), visit my kit at kit.co: https://kit.co/beachcasts/beachcasts-...

Errata:
Let me know if you notice anything that should be errata

Associated Links:
https://phpstan.org/
https://hub.docker.com/repository/doc...
https://beachcasts.com

Timeline:
00:00 Video start
02:18 Introduction to the video sponsor Cloudways
03:00 Introduction to PHPStan for static code analysis
04:05 The Composer command to include PHPStan in a project
05:28 How to launch PHPStan to analyze code
06:47 Example output from PHPStan
07:45 Change the run level for PHPStan to analyze code
08:25 How to output results from PHPStan to a file
09:00 Instruct PHPStan to format output in various formats
10:49 Bonus: Running PHPStan using the php-code-quality Docker image

Other Beachcasts videos you might find interesting:
True Cost of Software Errors    • Shocking True Cost of Programming Err...  
Define Technical Debt    • Define Technical Debt and Contributin...  
Conference Talk Preparation In 8 Steps for Programmers    • Must Follow 8-Step Guide To Conferenc...  
How to understand code written by someone else    • Secrets of how to understand code wri...  
Ways to advance your programming skills and improve as a developer    • Ways to advance your programming skil...  
Make your local DEV environment available on the internet    • Make your local DEV environment avail...  
AWS Elastic Load Balancer (ELB) Tutorial How-To    • AWS Elastic Load Balancer (ELB) Tutor...  
Laravel Model Factory Tutorial using Artisan make:model    • Laravel Model Factory Tutorial using ...  
Authentication in Laravel Tutorial    • Authentication in Laravel Tutorial fo...  
Top 5 skills to be a better software developer    • Top 5 skills to be a better software ...  
Install Laravel in Docker container on Ubuntu for beginners    • Install Laravel in Docker container o...  
Getters and Setters accessors in object-oriented programming    • Getters and Setters accessors in obje...  
Critical programming issues preventing a PHP 7 upgrade    • Critical programming issues preventin...  
Behat for beginners functional REST API testing tutorial    • Behat for beginners functional REST A...  
Doctrine ORM one-to-many bi-directional association    • Doctrine ORM one-to-many bi-direction...  
PHP Mess Detector static analysis to find PHP code smells    • PHP Mess Detector static analysis to ...  
Doctrine ORM one-to-many self-referencing association    • PHP DoctrineORM one-to-many self-refe...  
10 reasons to become a consultant in a consulting business    • Top 10 Reasons To Be a Programming Co...  
Zend Framework becomes Laminas project at Linux Foundation    • Zend Framework becomes Laminas projec...  
10 bad things about consulting    • Top 10 bad things about consulting, w...  
How to get lines of code in PHP    • PHPLoc Lines of code static analysis ...  
Make a List handler middleware    • List handler middleware in Zend Expre...  
Make a Delete handler middleware    • Delete handler middleware in Zend Exp...  
Make an Update handler middleware    • Update handler middleware in Zend Exp...  
Use UUID with Doctrine ORM for DB keys    • UUID with Doctrine ORM in Zend Expres...  
Make a Create handler middleware    • Create Handler middleware in Zend Exp...  
Automate Hypermedia creation for PHP REST API    • Automate Hypermedia PHP REST API with...  
Learn about Hypermedia and how to create it    • Creating Hypermedia (HAL) in PHP REST...  
Doctrine ORM Paginator for PHP REST API    • Doctrine ORM Paginator in PHP REST AP...  
Doctrine ORM Entity how to    • Create Doctrine ORM Entity and pagina...  
Configure Doctrine ORM    • Configure Doctrine ORM and Dbal CLI w...  
Create PHP middleware with Zend Expressive    • Create PHP middleware with Zend Expre...  
Configure PhpStorm for PHP development with Docker    • PhpStorm setup for PHP web developmen...  
Create PHP development environment with docker    • PHP web development environment with ...  

Help through referrals:
I use TubeBuddy to help me manage my YouTube channel. If you're interested, click the following link to check it out. https://www.tubebuddy.com/beachcasts

#php #phpstan #beachcasts

Комментарии

Информация по комментариям в разработке