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
--------------------------------------------------------------------------------
CommentFileSizeAuthor
#2 issues-3319323-2.patch2.93 KBrohit rana

Comments

Rohit Rana created an issue. See original summary.

rohit rana’s picture

StatusFileSize
new2.93 KB
rohit rana’s picture

Assigned: rohit rana » Unassigned
Status: Active » Needs review
kallado’s picture

@Rohit Rana Those are the available API's for translation I don't think they should be translatable at all.

jmauricio’s picture

Assigned: Unassigned » jmauricio
Status: Needs review » Fixed

Applied patch in 8.x-1.x branch

jmauricio’s picture

Status: Fixed » Closed (fixed)
kallado’s picture

jmauricio’s picture

jmauricio’s picture

Assigned: jmauricio » Unassigned