Setting Up PHPCS and PHPCBF for Checking Drupal Coding Standards. | Drupal Tutorials

Published: 04 August 2024
on channel: Drupal Academy
693
26

Welcome back to Drupal Academy! In this tutorial, we're diving into an essential aspect of maintaining high-quality code in your Drupal projects: setting up Drupal Code, PHP_CodeSniffer (PHPCS) and PHP Code Beautifier and Fixer (PHPCBF) to adhere to Drupal's coding standards.

In this video, you will learn:

What PHPCS and PHPCBF are and why they are important.
How to install Composer, Drupal Coder, PHPCS and PHPCBF.
Configuring PHPCS to use Drupal coding standards.
Running PHPCS and PHPCBF to check and fix code.

If you found this tutorial helpful, please give it a thumbs up, leave a comment, and don't forget to subscribe to Drupal Academy for more Drupal tutorials and tips!

#drupal #drupal9 #drupal8 #drupal10 #drupalacademy #drupaltutorials #drupal10tutorials #drupalbeginnerstutorials #phpcs #phpcbf #drupalcoder


On this page of the site you can watch the video online Setting Up PHPCS and PHPCBF for Checking Drupal Coding Standards. | Drupal Tutorials with a duration of hours minute second in good quality, which was uploaded by the user Drupal Academy 04 August 2024, share the link with friends and acquaintances, this video has already been watched 693 times on youtube and it was liked by 26 viewers. Enjoy your viewing!