Fix phpcs and make passing phpcs mandatory in GitLab CI

Created on 6 January 2023, over 2 years ago
Updated 15 September 2024, 7 months ago

Problem/Motivation

FILE: ...pal/drupal9/web/modules/contrib/encrypt/src/Exception/EncryptException.php
--------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
--------------------------------------------------------------------------------
 7 | WARNING | The class short comment should describe what the class does and
   |         | not simply repeat the class name
--------------------------------------------------------------------------------


FILE: ...www/html/Drupal/drupal9/web/modules/contrib/encrypt/src/EncryptService.php
--------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
--------------------------------------------------------------------------------
 14 | WARNING | The class short comment should describe what the class does and
    |         | not simply repeat the class name
--------------------------------------------------------------------------------


FILE: ...rupal/drupal9/web/modules/contrib/encrypt/src/Commands/EncryptCommands.php
--------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
--------------------------------------------------------------------------------
 13 | WARNING | The class short comment should describe what the class does and
    |         | not simply repeat the class name
--------------------------------------------------------------------------------


FILE: ...pal/drupal9/web/modules/contrib/encrypt/src/Form/EncryptionProfileForm.php
--------------------------------------------------------------------------------
FOUND 0 ERRORS AND 4 WARNINGS AFFECTING 4 LINES
--------------------------------------------------------------------------------
  87 | WARNING | [x] Inline @var declarations should use the /** */ delimiters
 101 | WARNING | [x] Inline @var declarations should use the /** */ delimiters
 268 | WARNING | [x] Inline @var declarations should use the /** */ delimiters
 271 | WARNING | [x] Inline @var declarations should use the /** */ delimiters
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------


FILE: ...eb/modules/contrib/encrypt/src/Controller/EncryptionProfileListBuilder.php
--------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
--------------------------------------------------------------------------------
 119 | WARNING | [x] Inline @var declarations should use the /** */ delimiters
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------

Time: 294ms; Memory: 12MB
📌 Task
Status

Fixed

Version

3.0

Component

Code

Created by

🇮🇳India Vinni_Kadyan

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024