Fix phpcs issues

Created on 10 July 2024, 5 months ago

Problem/Motivation

Need to fix below phpcs issues

/web/modules/custom/ai_automator_pixabay/src/Plugin/AiAutomatorType/PixaBayImage.php
----------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------------------------------------------------------------------------------------
 28 | ERROR | [ ] Class name doesn't match filename; expected "class PixaBayImage"
 67 | ERROR | [x] Expected 1 blank line before function; 2 found
----------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------------------------------------------------------------------------


FILE: /web/modules/custom/ai_automator_pixabay/readme.md
------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 7 WARNINGS AFFECTING 7 LINES
------------------------------------------------------------------------------------------------------------------
  7 | WARNING | Line exceeds 80 characters; contains 194 characters
  9 | WARNING | Line exceeds 80 characters; contains 100 characters
 11 | WARNING | Line exceeds 80 characters; contains 116 characters
 14 | WARNING | Line exceeds 80 characters; contains 111 characters
 24 | WARNING | Line exceeds 80 characters; contains 85 characters
 28 | WARNING | Line exceeds 80 characters; contains 82 characters
 32 | WARNING | Line exceeds 80 characters; contains 92 characters
------------------------------------------------------------------------------------------------------------------

Time: 138ms; Memory: 10MB
📌 Task
Status

RTBC

Version

1.0

Component

Code

Created by

🇮🇳India dev2.addweb

Live updates comments and jobs are added and updated live.
  • Coding standards

    It involves compliance with, or the content of coding standards. Requires broad community agreement.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024