#options values usually have to run through t() for translation.

Created on 6 November 2022, about 2 years ago
Updated 12 April 2023, over 1 year ago

Problem/Motivation

FILE: ...ms/drupal9/web/modules/contrib/auto_node_translate/src/Form/ConfigForm.php
--------------------------------------------------------------------------------
FOUND 0 ERRORS AND 4 WARNINGS AFFECTING 4 LINES
--------------------------------------------------------------------------------
 10 | WARNING | The class short comment should describe what the class does and
    |         | not simply repeat the class name
 88 | WARNING | #options values usually have to run through t() for translation
 89 | WARNING | #options values usually have to run through t() for translation
 90 | WARNING | #options values usually have to run through t() for translation
--------------------------------------------------------------------------------


FILE: ...l9/web/modules/contrib/auto_node_translate/src/TranslationApiInterface.php
--------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
--------------------------------------------------------------------------------
 7 | WARNING | The class short comment should describe what the class does and
   |         | not simply repeat the class name
--------------------------------------------------------------------------------


FILE: ...l9/web/modules/contrib/auto_node_translate/src/IbmWatsonTranslationApi.php
--------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------
 49 | ERROR | The array declaration extends to column 177 (the limit is 80).
    |       | The array content should be split up over multiple lines
--------------------------------------------------------------------------------


FILE: ...upal9/web/modules/contrib/auto_node_translate/src/GoogleTranslationApi.php
--------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
--------------------------------------------------------------------------------
 20 | ERROR | [x] Expected 1 blank line before function; 0 found
 29 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
 30 | ERROR | [x] Whitespace found at end of line
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
📌 Task
Status

Fixed

Version

1.0

Component

Code

Created by

🇮🇳India Rohit Rana

Live updates comments and jobs are added and updated live.
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