DrupalCon Nashville 2018: Static Analysis for your Drupal modules with CI
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.
More from this event
See all 164 talks →
DrupalCon Nashville 2018: Grand Ole Drupry Prenote
39:55
DrupalCon Nashville 2018: JavaScript and Accessibility: Don't Blame the Language
35:12
DrupalCon Nashville 2018: Migrating a small city to Drupal
56:00
DrupalCon Nashville 2018: Developer to Manager: A Survival Guide
58:06