Created on 3 May 2025, 13 days ago

Problem/Motivation

There are two issues

FILE: src/EventSubscriber/MediaEventSubscriber.php
------------------------------------------------------------------------------------------------------------------------
FOUND 6 ERRORS AND 2 WARNINGS AFFECTING 7 LINES
------------------------------------------------------------------------------------------------------------------------
7 | WARNING | [x] Unused use statement (Drupal.Classes.UnusedUseStatement.UnusedUse)
33 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing
| | parentheses (Drupal.Commenting.InlineComment.InvalidEndChar)
35 | ERROR | [x] Expected 1 blank line after function; 2 found (Squiz.WhiteSpace.FunctionSpacing.After)
44 | WARNING | [ ] Line exceeds 80 characters; contains 86 characters (Drupal.Files.LineLength.TooLong)
44 | ERROR | [x] Inline comments must start with a capital letter (Drupal.Commenting.InlineComment.NotCapital)
45 | ERROR | [ ] Comment indentation error, expected only 1 spaces (Drupal.Commenting.InlineComment.SpacingBefore)
49 | ERROR | [ ] Comment indentation error, expected only 3 spaces (Drupal.Commenting.InlineComment.SpacingBefore)
51 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing
| | parentheses (Drupal.Commenting.InlineComment.InvalidEndChar)

The second issue is that PHPCS is evaluating a page generated by ddev that it should not. The entire ddev directory should be skipped by PHPCS. PHPCS Config should be added to do that.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States swirt Florida

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