Created on 3 July 2024, 5 months ago
Updated 1 August 2024, 4 months ago

Problem/Motivation

Need to fix below phpcs issues

/web/modules/custom/ckeditor_infocard/

FILE: /web/modules/custom/ckeditor_infocard/src/Plugin/CKEditorPlugin/CKEditorInfoCardButton.php
-----------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
-----------------------------------------------------------------------------------------------------------------------------------------------------------
 28 | ERROR | [x] There must be no blank lines after the function comment
 31 | ERROR | [x] Expected 1 blank line before function; 2 found
-----------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: /web/modules/custom/ckeditor_infocard/README.md
----------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 7 WARNINGS AFFECTING 7 LINES
----------------------------------------------------------------------------------------------------------------
 15 | WARNING | Line exceeds 80 characters; contains 144 characters
 50 | WARNING | Line exceeds 80 characters; contains 111 characters
 57 | WARNING | Line exceeds 80 characters; contains 98 characters
 59 | WARNING | Line exceeds 80 characters; contains 108 characters
 60 | WARNING | Line exceeds 80 characters; contains 87 characters
 61 | WARNING | Line exceeds 80 characters; contains 97 characters
 62 | WARNING | Line exceeds 80 characters; contains 86 characters
----------------------------------------------------------------------------------------------------------------


FILE: /web/modules/custom/ckeditor_infocard/ckeditor_infocard.module
-------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------
 34 | ERROR | [x] Expected 1 blank line after function; 0 found
-------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------------------------------------------------


FILE: /web/modules/custom/ckeditor_infocard/ckeditor_infocard.info.yml
---------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 1 LINE
---------------------------------------------------------------------------------------------------------------------------------
 1 | WARNING | Remove "project" from the info file, it will be added by drupal.org packaging automatically
 1 | WARNING | Remove "datestamp" from the info file, it will be added by drupal.org packaging automatically
 1 | WARNING | Remove "version" from the info file, it will be added by drupal.org packaging automatically
---------------------------------------------------------------------------------------------------------------------------------


FILE: /web/modules/custom/ckeditor_infocard/tests/src/FunctionalJavascript/CKEditorInfoCardTest.php
--------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AND 3 WARNINGS AFFECTING 4 LINES
--------------------------------------------------------------------------------------------------------------------------------------------------------------
 110 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found 6
 191 | WARNING | [ ] Line exceeds 80 characters; contains 81 characters
 242 | WARNING | [ ] Line exceeds 80 characters; contains 82 characters
 297 | WARNING | [ ] Line exceeds 80 characters; contains 82 characters
--------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------------------------------------------------------------

Time: 147ms; Memory: 12MB
📌 Task
Status

Fixed

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

Production build 0.71.5 2024