Fix minor phpcs issues

Created on 15 July 2024, about 2 months ago

Problem/Motivation

web/modules/custom/ai_automator_extractor/

FILE: /web/modules/custom/ai_automator_extractor/src/Plugin/AiAutomatorType/StringRegExExtractor.php
---------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
---------------------------------------------------------------------------------------------------------------------------------------------------------------
 72 | ERROR | [x] Expected 1 space after "??"; 0 found
 92 | ERROR | [x] Case breaking statements must be followed by a single blank line
---------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: /web/modules/custom/ai_automator_extractor/src/Plugin/AiAutomatorType/RegExCounter.php
-------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------------
 91 | ERROR | [x] Case breaking statements must be followed by a single blank line
-------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: /web/modules/custom/ai_automator_extractor/src/Plugin/AiAutomatorType/TextRegExExtractor.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 2 LINES
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 67 | ERROR | [x] There should be no white space before a closing ")"
 67 | ERROR | [x] Expected 0 spaces before closing parenthesis; 1 found
 91 | ERROR | [x] Case breaking statements must be followed by a single blank line
-------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: /web/modules/custom/ai_automator_extractor/readme.md
---------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 4 WARNINGS AFFECTING 4 LINES
---------------------------------------------------------------------------------------------------------------------
  7 | WARNING | Line exceeds 80 characters; contains 165 characters
  9 | WARNING | Line exceeds 80 characters; contains 126 characters
 13 | WARNING | Line exceeds 80 characters; contains 116 characters
 32 | WARNING | Line exceeds 80 characters; contains 105 characters
---------------------------------------------------------------------------------------------------------------------

Time: 185ms; 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.
Sign in to follow issues

Merge Requests

Comments & Activities

  • Issue created by @dev2.addweb
  • Merge request !13461369 fixed phpcs issues. → (Open) created by Unnamed author
  • Pipeline finished with Success
    about 2 months ago
    Total: 128s
    #224480
  • Status changed to RTBC about 2 months ago
  • 🇮🇳India sarwan

    Hi @nilesh.addweb, Marcus_Johansson

    I have thoroughly reviewed MR !3 and can confirm that it resolves all the PHPCS issues.
    For additional clarity, please refer to the attached screenshot. Excellent work on this!
    Moving it to RTBC. Thanks!

Production build 0.71.5 2024