Fix the issues reported by phpcs

Created on 22 January 2024, 5 months ago
Updated 6 February 2024, 5 months ago

After setting the Gitlab CI configuration, I see a few issues reported by phpcs that need to be addressed:

$ phpcs --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml web/modules/contrib/languages_dropdown/

FILE: /home/daniel/websites/drupal10-test/web/modules/contrib/languages_dropdown/src/Plugin/Block/LangDropBootstrapBlock.php
----------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------------------------------------------------------------
 92 | ERROR | [x] Whitespace found at end of line
 95 | ERROR | [x] Expected newline after closing brace
----------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------------------------------------------------

Time: 494ms; Memory: 10MB
📌 Task
Status

Fixed

Version

3.0

Component

Code

Created by

🇨🇦Canada danrod

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

Comments & Activities

Production build 0.69.0 2024