Issues reported by phpcs

Created on 29 May 2025, 15 days ago

Problem/Motivation

Steps to reproduce

FILE: src/ModerationNoteForm.php
------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------
 45 | ERROR | [x] Multi-line function declarations must have a trailing comma after the last parameter
    |       |     (Drupal.Functions.MultiLineFunctionDeclaration.MissingTrailingComma)
 46 | ERROR | [x] Multi-line function declaration not indented correctly; expected 2 spaces but found 4
    |       |     (Drupal.Functions.MultiLineFunctionDeclaration.Indent)
------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------
FILE: src/Service/MenuCountService.php
------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------
 35 | ERROR | [x] Multi-line function declarations must have a trailing comma after the last parameter
    |       |     (Drupal.Functions.MultiLineFunctionDeclaration.MissingTrailingComma)
 36 | ERROR | [x] Multi-line function declaration not indented correctly; expected 2 spaces but found 4
    |       |     (Drupal.Functions.MultiLineFunctionDeclaration.Indent)
------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------
FILE: src/Plugin/Menu/LocalTask/AssignedNotes.php
------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------
 53 | ERROR | [x] Multi-line function declarations must have a trailing comma after the last parameter
    |       |     (Drupal.Functions.MultiLineFunctionDeclaration.MissingTrailingComma)
 54 | ERROR | [x] Multi-line function declaration not indented correctly; expected 2 spaces but found 4
    |       |     (Drupal.Functions.MultiLineFunctionDeclaration.Indent)
------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------
FILE: src/Form/ModerationNoteResolveForm.php
------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------
 47 | ERROR | [x] Multi-line function declarations must have a trailing comma after the last parameter
    |       |     (Drupal.Functions.MultiLineFunctionDeclaration.MissingTrailingComma)
 48 | ERROR | [x] Multi-line function declaration not indented correctly; expected 2 spaces but found 4
    |       |     (Drupal.Functions.MultiLineFunctionDeclaration.Indent)
------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Active

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024