Issues reported by phpcs

Created on 2 December 2024, 20 days ago

Problem/Motivation

Steps to reproduce

FILE: /var/www/html/web/modules/custom/bep/block_exclude_pages.module
-------------------------------------------------------------------------------------------
FOUND 6 ERRORS AND 2 WARNINGS AFFECTING 8 LINES
-------------------------------------------------------------------------------------------
 132 | WARNING | [x] There must be no blank line following an inline comment
     |         |     (Drupal.Commenting.InlineComment.SpacingAfter)
 143 | WARNING | [ ] The use of function ksm() is discouraged
     |         |     (Drupal.Functions.DiscouragedFunctions.Discouraged)
 153 | ERROR   | [x] Expected 1 space before ":"; 0 found
     |         |     (Squiz.WhiteSpace.OperatorSpacing.NoSpaceBefore)
 156 | ERROR   | [x] Expected 1 space before ":"; 0 found
     |         |     (Squiz.WhiteSpace.OperatorSpacing.NoSpaceBefore)
 162 | ERROR   | [x] Expected 1 space before ":"; 0 found
     |         |     (Squiz.WhiteSpace.OperatorSpacing.NoSpaceBefore)
 165 | ERROR   | [x] Expected 1 space before ":"; 0 found
     |         |     (Squiz.WhiteSpace.OperatorSpacing.NoSpaceBefore)
 167 | ERROR   | [x] Whitespace found at end of line
     |         |     (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine)
 172 | ERROR   | [x] Doc comment short description must end with a full stop
     |         |     (Drupal.Commenting.DocComment.ShortFullStop)
-------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 7 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------------

Time: 366ms; Memory: 6MB


PHP CODE SNIFFER REPORT SUMMARY
------------------------------------------------------------------------------------
FILE                                                                ERRORS  WARNINGS
------------------------------------------------------------------------------------
/var/www/html/web/modules/custom/bep/block_exclude_pages.module     6       2
------------------------------------------------------------------------------------
A TOTAL OF 6 ERRORS AND 2 WARNINGS WERE FOUND IN 1 FILE
------------------------------------------------------------------------------------
PHPCBF CAN FIX 7 OF THESE SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Active

Version

2.2

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States bluegeek9

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

Merge Requests

Comments & Activities

  • Pipeline finished with Success
    11 months ago
    Total: 155s
    #87437
  • Pipeline finished with Success
    11 months ago
    Total: 153s
    #87445
  • Pipeline finished with Success
    11 months ago
    Total: 154s
    #87446
  • Pipeline finished with Success
    11 months ago
    Total: 156s
    #87448
  • Pipeline finished with Success
    11 months ago
    Total: 308s
    #87453
  • Pipeline finished with Canceled
    9 months ago
    Total: 83s
    #126128
  • Pipeline finished with Success
    9 months ago
    Total: 144s
    #126131
  • Pipeline finished with Success
    about 2 months ago
    Total: 138s
    #323348
  • Pipeline finished with Failed
    about 1 month ago
    Total: 207s
    #337381
  • Pipeline finished with Success
    24 days ago
    Total: 130s
    #352911
  • Pipeline finished with Success
    24 days ago
    Total: 175s
    #353009
  • Pipeline finished with Failed
    21 days ago
    Total: 169s
    #355536
  • Pipeline finished with Failed
    21 days ago
    Total: 294s
    #355537
  • Pipeline finished with Success
    21 days ago
    Total: 296s
    #355551
  • Pipeline finished with Failed
    21 days ago
    Total: 297s
    #355557
  • Pipeline finished with Success
    20 days ago
    Total: 293s
    #355798
  • Pipeline finished with Success
    20 days ago
    Total: 144s
    #356210
  • Issue created by @bluegeek9
  • Pipeline finished with Success
    20 days ago
    Total: 139s
    #356711
  • πŸ‡ΊπŸ‡ΈUnited States bluegeek9
  • Pipeline finished with Success
    19 days ago
    Total: 146s
    #357505
  • Pipeline finished with Failed
    18 days ago
    Total: 171s
    #359099
  • Pipeline finished with Failed
    18 days ago
    Total: 144s
    #359103
  • Pipeline finished with Success
    18 days ago
    Total: 218s
    #359140
  • Pipeline finished with Skipped
    18 days ago
    #359165
  • Pipeline finished with Failed
    18 days ago
    Total: 135s
    #359231
  • Pipeline finished with Failed
    18 days ago
    Total: 139s
    #359235
  • Pipeline finished with Failed
    18 days ago
    Total: 135s
    #359237
  • Pipeline finished with Failed
    18 days ago
    Total: 138s
    #359242
  • Pipeline finished with Success
    17 days ago
    Total: 145s
    #359693
  • Pipeline finished with Skipped
    16 days ago
    #361302
  • πŸ‡ΊπŸ‡ΈUnited States jcontreras
  • Pipeline finished with Success
    12 days ago
    Total: 137s
    #364192
  • Pipeline finished with Canceled
    12 days ago
    Total: 178s
    #364215
  • Pipeline finished with Failed
    12 days ago
    Total: 151s
    #364569
  • Pipeline finished with Failed
    12 days ago
    Total: 138s
    #364605
  • Pipeline finished with Failed
    12 days ago
    Total: 151s
    #364616
  • Pipeline finished with Success
    12 days ago
    Total: 172s
    #364624
  • Pipeline finished with Success
    12 days ago
    Total: 145s
    #364630
  • Pipeline finished with Success
    12 days ago
    Total: 262s
    #364633
  • Pipeline finished with Success
    12 days ago
    Total: 144s
    #364641
  • Pipeline finished with Success
    11 days ago
    Total: 245s
    #365307
  • Pipeline finished with Success
    11 days ago
    Total: 178s
    #365364
  • Pipeline finished with Success
    11 days ago
    Total: 134s
    #365509
  • Pipeline finished with Success
    11 days ago
    Total: 137s
    #365582
  • Pipeline finished with Success
    11 days ago
    Total: 134s
    #365595
  • Pipeline finished with Success
    9 days ago
    Total: 209s
    #367391
  • Pipeline finished with Success
    9 days ago
    Total: 133s
    #367429
  • Pipeline finished with Success
    8 days ago
    Total: 148s
    #368622
  • Pipeline finished with Success
    7 days ago
    Total: 202s
    #369122
  • Pipeline finished with Success
    7 days ago
    Total: 146s
    #369131
  • Pipeline finished with Success
    7 days ago
    Total: 143s
    #369134
  • Pipeline finished with Success
    7 days ago
    Total: 164s
    #369154
  • Pipeline finished with Success
    6 days ago
    Total: 254s
    #370129
  • Pipeline finished with Success
    5 days ago
    Total: 133s
    #371183
  • Pipeline finished with Success
    5 days ago
    Total: 231s
    #371187
  • Pipeline finished with Failed
    4 days ago
    Total: 147s
    #372540
  • Pipeline finished with Failed
    4 days ago
    Total: 152s
    #372552
  • Pipeline finished with Success
    4 days ago
    Total: 183s
    #372576
  • Pipeline finished with Success
    4 days ago
    Total: 259s
    #372583
  • Pipeline finished with Failed
    4 days ago
    Total: 162s
    #372667
  • Pipeline finished with Success
    4 days ago
    #372673
  • Pipeline finished with Success
    4 days ago
    Total: 162s
    #372677
  • Pipeline finished with Success
    4 days ago
    Total: 169s
    #372791
  • Pipeline finished with Success
    3 days ago
    Total: 162s
    #373460
  • Automatically closed - issue fixed for 2 weeks with no activity.

  • Pipeline finished with Failed
    about 23 hours ago
    Total: 169s
    #375734
  • Pipeline finished with Failed
    about 23 hours ago
    Total: 317s
    #375737
  • Pipeline finished with Success
    about 22 hours ago
    Total: 294s
    #375747
  • Pipeline finished with Success
    about 16 hours ago
    Total: 298s
    #375931
  • Pipeline finished with Success
    about 2 hours ago
    #376279
Production build 0.71.5 2024