I found that in AmazonAuthSettingsForm.php file, there is t() call in class, which is coding standards violation.
$ phpcs --standard=DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md /c/Bitnami/drupal-8.7.10-0/apps/drupal/htdocs/modules/contrib/social_auth_amazon
FILE: C:\Bitnami\drupal-8.7.10-0\apps\drupal\htdocs\modules\contrib\social_auth_amazon\src\Form\AmazonAuthSettingsForm.php
-----------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------------------------------------------------
90 | WARNING | t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
-----------------------------------------------------------------------------------------------------------------------------------------
Comments
Comment #2
agrochal commentedI've created proper patch.
Module is not causing any drupal coding standards violation anymore.
Comment #3
gvsoLet's also fix the other issue:
Comment #4
gvsoComment #5
agrochal commentedHere's a patch.
Comment #6
agrochal commentedComment #7
urvashi_vora commentedHi,
I tried resolving all coding standard issues.
Please review this patch.
Thanks
Comment #9
berramou commentedThank you @agrochal, for your report and thank you @urvashi_vora for the patch.
I reviewed the patch and also add some fixes, It's committed, it will be in the next release.
Comment #10
berramou commentedComment #11
berramou commented