Problem/Motivation

FILE: ...modules/contrib/stage_file_proxy/tests/src/Functional/SettingsFormTest.php
--------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------
 15 | ERROR | Missing member variable doc comment
--------------------------------------------------------------------------------


FILE: ...s/contrib/stage_file_proxy/src/Controller/ImageStyleDownloadController.php
--------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------
 23 | ERROR | Missing member variable doc comment
--------------------------------------------------------------------------------


FILE: ...b/modules/contrib/stage_file_proxy/src/EventSubscriber/ProxySubscriber.php
--------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
--------------------------------------------------------------------------------
 155 | WARNING | Unused variable $is_webp.
--------------------------------------------------------------------------------


FILE: ...stage_file_proxy/src/EventSubscriber/ImageDownloadControllerSubscriber.php
--------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 1 LINE
--------------------------------------------------------------------------------
 23 | ERROR | If there is no return value for a function, there must not be a
    |       | @return tag.
 23 | ERROR | Description for the @return value is missing
--------------------------------------------------------------------------------


FILE: ...s/contrib/stage_file_proxy/src/EventDispatcher/AlterExcludedPathsEvent.php
--------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
--------------------------------------------------------------------------------
 11 | WARNING | The class short comment should describe what the class does and
    |         | not simply repeat the class name
--------------------------------------------------------------------------------


FILE: ...rupal_9.4/drupal/web/modules/contrib/stage_file_proxy/src/FetchManager.php
--------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------
 101 | ERROR | The array declaration extends to column 111 (the limit is 80).
     |       | The array content should be split up over multiple lines
--------------------------------------------------------------------------------

Time: 1.6 secs; Memory: 12MB
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

Rohit Rana created an issue. See original summary.

rohit rana’s picture

StatusFileSize
new3.26 KB
rohit rana’s picture

Assigned: rohit rana » Unassigned
Status: Active » Needs review

Please Review.

dharti patel’s picture

Assigned: Unassigned » dharti patel

Hello,

I'll review this patch.

Thanks!

dharti patel’s picture

Assigned: dharti patel » Unassigned
StatusFileSize
new4.29 KB

Hello,

Review the #2 patch and after applying the patch face the below issues.

FILE: /home/drupal/d9-open/stage_file_proxy/INSTALL.md
----------------------------------------------------------------------
FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES
----------------------------------------------------------------------
 30 | WARNING | Line exceeds 80 characters; contains 92 characters
 43 | WARNING | Line exceeds 80 characters; contains 92 characters
 47 | WARNING | Line exceeds 80 characters; contains 90 characters
----------------------------------------------------------------------

Resolved the above issue and create a new patch for the same.
Kindly review this patch.

Thanks!

kuntal_d’s picture

StatusFileSize
new183.25 KB

Applied the patch #5. And it resolved all coding standard issues. Attaching screenshot for the reference.

Arturo-q’s picture

Status: Needs review » Reviewed & tested by the community

Hi, I reviewed the patch #5 and didn't find CS errors either, besides, the changes look good.
moving to RTBC

smustgrave made their first commit to this issue’s fork.

smustgrave’s picture

Status: Reviewed & tested by the community » Fixed

Thanks!

rohit rana’s picture

The issue shown above has been fixed by patch #2, and the additional issues have been resolved by Dharti Patel.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.