Fix the issues reported by phpcs

Created on 11 April 2023, over 1 year ago
Updated 18 April 2023, over 1 year ago

vendor/bin/phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml,twig web/modules/contrib/imageapi_optimize_gd/

FILE: /var/www/html/drupalvb/web/modules/contrib/imageapi_optimize_gd/src/Plugin/ImageAPIOptimizeProcessor/GD.php
-----------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------------------------
84 | WARNING | #options values usually have to run through t() for translation
-----------------------------------------------------------------------------------------------------------------

FILE: /var/www/html/drupalvb/web/modules/contrib/imageapi_optimize_gd/imageapi_optimize_gd.install
--------------------------------------------------------------------------------------------------
FOUND 5 ERRORS AFFECTING 4 LINES
--------------------------------------------------------------------------------------------------
1 | ERROR | [x] Missing file doc comment
6 | ERROR | [ ] Missing parameter comment
6 | ERROR | [ ] Missing parameter type
8 | ERROR | [ ] Description for the @return value is missing
27 | ERROR | [x] Expected 1 newline at end of file; 0 found
--------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------

FILE: /var/www/html/drupalvb/web/modules/contrib/imageapi_optimize_gd/README.txt
--------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
--------------------------------------------------------------------------------
35 | WARNING | Line exceeds 80 characters; contains 91 characters
--------------------------------------------------------------------------------

📌 Task
Status

RTBC

Version

2.0

Component

Code

Created by

🇮🇳India dineshkumarbollu

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024