PHPHCS - enable and fix

Created on 23 March 2024, 10 months ago
Updated 15 April 2024, 9 months ago

PHPCS tests failed when we used the GitLab CI template: https://git.drupalcode.org/project/advanced_email_validation/-/jobs/1135835

  1. Enable PHPCS tests
  2. Make the tests pass

Notes:

  • Use typehints instead of phpdocs wherever possible.
  • Make tests pass by *removing* docblocks as much as possible rather than adding or editing them (see previous item).
  • If you *must* add documentation/description to a class or method, actually think it through and provide some value.
  • Please include switching to constructor proprety promotion in this task if a file is being touched and it's possible to do.
📌 Task
Status

Fixed

Version

1.0

Component

Code

Created by

🇦🇺Australia darvanen Sydney, Australia

Live updates comments and jobs are added and updated live.
  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024