PHPCS - enable and fix

Created on 23 March 2024, 9 months ago
Updated 27 April 2024, 8 months ago

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

  1. Enable PHPCS tests
  2. Make the test 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

2.0

Component

Code

Created by

🇦🇺Australia darvanen Sydney, Australia

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024