Issues reported by phpcs

Created on 29 March 2025, 6 months ago

Problem/Motivation

There is a files need to fixed with coding standards.
Here is the command : -

phpcs --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml \web\modules\contrib\embed_media_image

FILE: \modules\contrib\embed_media_image\src\Plugin\entity_embed\EntityEmbedDisplay\MediaImage.php
-------------------------------------------------------------------------------------------------------------------------
FOUND 10 ERRORS AFFECTING 10 LINES
-------------------------------------------------------------------------------------------------------------------------
106 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
107 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
108 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
109 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
110 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
111 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
112 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
113 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
114 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
115 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
-------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 10 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------------------------------------------

Time: 433ms; Memory: 8MB

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇮🇳India dev.drupal.ln

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

Comments & Activities

Production build 0.71.5 2024