Fix issues reported by PHPCS

Created on 2 August 2024, 5 months ago
Updated 16 August 2024, 4 months ago

Problem/Motivation

See pipelines

FILE: ...flare_stream/web/modules/custom/cloudflare_stream/cloudflare_stream.module
--------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 1 LINE
--------------------------------------------------------------------------------
 56 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
    |       |     (Drupal.WhiteSpace.ScopeIndent.IncorrectExact)
 56 | ERROR | [x] Closing brace indented incorrectly; expected 2 spaces, found
    |       |     4 (Drupal.WhiteSpace.ScopeClosingBrace.Indent)
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
Time: 334ms; Memory: 6MB
PHP CODE SNIFFER REPORT SUMMARY
--------------------------------------------------------------------------------
FILE                                                            ERRORS  WARNINGS
--------------------------------------------------------------------------------
...b/modules/custom/cloudflare_stream/cloudflare_stream.module  2       0
--------------------------------------------------------------------------------
A TOTAL OF 2 ERRORS AND 0 WARNINGS WERE FOUND IN 20 FILES
--------------------------------------------------------------------------------
PHPCBF CAN FIX 2 OF THESE SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
PHP CODE SNIFFER VIOLATION SOURCE SUMMARY
----------------------------------------------------------------------
    SOURCE                                                       COUNT
----------------------------------------------------------------------
[x] Drupal.WhiteSpace.ScopeClosingBrace.Indent                   1
[x] Drupal.WhiteSpace.ScopeIndent.IncorrectExact                 1
----------------------------------------------------------------------
A TOTAL OF 2 SNIFF VIOLATIONS WERE FOUND IN 2 SOURCES
----------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SOURCES AUTOMATICALLY (2 VIOLATIONS IN TOTAL)
----------------------------------------------------------------------

Steps to reproduce

See pipelines.

Proposed resolution

Fix

Remaining tasks

-

User interface changes

-

API changes

-

Data model changes

-

📌 Task
Status

Fixed

Version

3.0

Component

Code

Created by

🇧🇪Belgium tim-diels Belgium 🇧🇪

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

Comments & Activities

Production build 0.71.5 2024