Issues found by phpcs

Created on 27 October 2023, about 1 year ago
Updated 28 October 2023, about 1 year ago

Problem/Motivation

Steps to reproduce

$ vendor/bin/phpcs -s $_WEB_ROOT/modules/custom --report-junit=junit.xml --report-full --report-summary --report-source
FILE: ...roup-3391968/src/Plugin/authorization/Consumer/GroupConsumer.php
----------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
----------------------------------------------------------------------
 203 | WARNING | Line exceeds 80 characters; contains 85
     |         | characters (Drupal.Files.LineLength.TooLong)
 240 | WARNING | Possible useless method overriding detected
     |         | (Generic.CodeAnalysis.UselessOverridingMethod.Found)
----------------------------------------------------------------------
Time: 157ms; Memory: 6MB
PHP CODE SNIFFER REPORT SUMMARY
----------------------------------------------------------------------
FILE                                                  ERRORS  WARNINGS
----------------------------------------------------------------------
...c/Plugin/authorization/Consumer/GroupConsumer.php  0       2
----------------------------------------------------------------------
A TOTAL OF 0 ERRORS AND 2 WARNINGS WERE FOUND IN 1 FILE
----------------------------------------------------------------------
PHP CODE SNIFFER VIOLATION SOURCE SUMMARY
----------------------------------------------------------------------
SOURCE                                                           COUNT
----------------------------------------------------------------------
Drupal.Files.LineLength.TooLong                                  1
Generic.CodeAnalysis.UselessOverridingMethod.Found               1
----------------------------------------------------------------------
A TOTAL OF 2 SNIFF VIOLATIONS WERE FOUND IN 2 SOURCES
----------------------------------------------------------------------

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States bluegeek9

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

Comments & Activities

Production build 0.71.5 2024