PHPCS error /gin/src/GinNavigation.php

Created on 15 July 2025, about 2 months ago

Problem/Motivation

I got this error when running phpsniffer:

$ ddev exec ./vendor/bin/phpcs --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,info,txt,md,yml web/themes/contrib/gin/

FILE: /var/www/html/web/themes/contrib/gin/src/GinNavigation.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
 24 | ERROR | Parameter $moduleHandler is not described in comment
----------------------------------------------------------------------

Time: 304ms; Memory: 6MB

Steps to reproduce

Run phpcs as usual:

$ ddev exec ./vendor/bin/phpcs --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,info,txt,md,yml web/themes/contrib/gin/

Proposed resolution

Document $moduleHandler in the comment

Remaining tasks

N/A

User interface changes

N/A

API changes

N/A

Data model changes

N/A

🐛 Bug report
Status

Active

Version

5.0

Component

Code

Created by

🇨🇦Canada danrod Ottawa

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

Comments & Activities

Production build 0.71.5 2024