Tighten up your Drupal code using PHPStan
Did you know Drupal core and now contributed modules (using GitLab CI) are being analyzed using PHPStan to catch bugs and improve code quality?
Learn how PHPStan, a static analysis tool for PHP, can find bugs in your code that your tests and code review cannot. In this session, we will learn how to use PHPStan with the phpstan-drupal extension to perform static analysis of a Drupal codebase. The session will cover the intricacies of analyzing a codebase like Drupal's, which can have dynamic return types. And, we will explain how contributed modules can onboard to GitLab CI and how the GitLab CI templates run PHPStan.
About the Speaker
Matt Glaman
Principal Software Engineer at Acquia
Matt Glaman is an experienced software engineer and a prominent member of the Drupal community. With over a decade of experience in web development, he has gained a wealth of knowledge and expertise in the field. He is the author of several books, including "Drupal 8 Development Cookbook" and "Drupal 10 Development Cookbook," which provide a comprehensive guide to building and customizing Drupal sites.
As an active member of the Drupal community, Matt is dedicated to sharing his knowledge and expertise with others. He regularly contributes to Drupal projects and is passionate about helping others develop their skills and become more proficient in Drupal development.
https://www.fldrupal.camp/session/tighten-your-drupal-code-using-phpstan
Learn how PHPStan, a static analysis tool for PHP, can find bugs in your code that your tests and code review cannot. In this session, we will learn how to use PHPStan with the phpstan-drupal extension to perform static analysis of a Drupal codebase. The session will cover the intricacies of analyzing a codebase like Drupal's, which can have dynamic return types. And, we will explain how contributed modules can onboard to GitLab CI and how the GitLab CI templates run PHPStan.
About the Speaker
Matt Glaman
Principal Software Engineer at Acquia
Matt Glaman is an experienced software engineer and a prominent member of the Drupal community. With over a decade of experience in web development, he has gained a wealth of knowledge and expertise in the field. He is the author of several books, including "Drupal 8 Development Cookbook" and "Drupal 10 Development Cookbook," which provide a comprehensive guide to building and customizing Drupal sites.
As an active member of the Drupal community, Matt is dedicated to sharing his knowledge and expertise with others. He regularly contributes to Drupal projects and is passionate about helping others develop their skills and become more proficient in Drupal development.
https://www.fldrupal.camp/session/tighten-your-drupal-code-using-phpstan