DrupalCon Nashville 2018: Static Analysis for your Drupal modules with CI

27:51 · 09 Apr 2018 – 13 Apr 2018 · YouTube

About this talk

This talk focuses on the importance of static analysis in coding, particularly within the Drupal ecosystem. The speaker discusses common practices such as checking variable initialization and compliance with Drupal coding standards, emphasizing the limitations of relying solely on mental checks. Participants will learn about PAReview and its role in ensuring code quality, as well as the challenges of using it in a continuous integration environment. The session also covers various static analysis tools, including phpcs, phpmd, phpstan, stylelint, and eslint, and demonstrates how to integrate these tools with GitLab using a Docker image tailored for this purpose.

From event

DrupalCon Nashville - April 2018

09 Apr 2018 – 13 Apr 2018

All event videos
Back to Watch