FILE: /var/www/html/contribution/web/modules/contrib/mail_login/src/AuthDecorator.php
-----------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AND 6 WARNINGS AFFECTING 7 LINES
-----------------------------------------------------------------------------------------------------------------------------------------
37 | ERROR | Parameter $entity_type_manager is not described in comment
42 | ERROR | Doc comment for parameter $entity_type_managerk does not match actual variable name $connection
57 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
70 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
80 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
80 | WARNING | t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
88 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
89 | WARNING | t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
-----------------------------------------------------------------------------------------------------------------------------------------
FILE: /var/www/html/contribution/web/modules/contrib/mail_login/src/Form/MailLoginAdminSettingsForm.php
-------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------
31 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
-------------------------------------------------------------------------------------------------------
FILE: /var/www/html/contribution/web/modules/contrib/mail_login/README.md
-------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------
48 | WARNING | Line exceeds 80 characters; contains 85 characters
-------------------------------------------------------------------------
Issue fork mail_login-3342236
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
Comment #3
himanshu_jhaloya commentedComment #4
Sonal Gyanani commentedComment #5
Sonal Gyanani commentedThanks @himanshu_jhaloya, MR looks good all errors and warnings are fixed now.
So moving it to RTBC
Comment #6
avpadernousestatements are alphabetically ordered.The parent class has the
config()method that code should use.Comment #8
avpadernoThe short description for a constructor starts with Constructs a new and ends with the class name (namespace included) and object.
A class that extends
ConfigFormBaseuses$this->config().Comment #10
himanshu_jhaloya commentedComment #12
mqannehThe merge requests branches have conflicts with t=8.x-2.x branch. I had to rewrite the patches.
Comment #13
mqanneh