PHPCS - enable and fix

Created on 23 March 2024, 3 months ago
Updated 27 April 2024, about 2 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.69.0 2024