Problem/Motivation

FILE: .../contribution/drupal10/web/modules/contrib/payment_rabo_smartpay/README.md
--------------------------------------------------------------------------------
FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES
--------------------------------------------------------------------------------
13 | WARNING | Line exceeds 80 characters; contains 83 characters
24 | WARNING | Line exceeds 80 characters; contains 92 characters
25 | WARNING | Line exceeds 80 characters; contains 109 characters
--------------------------------------------------------------------------------

FILE: ...tpay/src/Plugin/Payment/MethodConfiguration/PaymentRaboSmartpayPayment.php
--------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
--------------------------------------------------------------------------------
241 | WARNING | t() calls should be avoided in classes, use
| | \Drupal\Core\StringTranslation\StringTranslationTrait and
| | $this->t() instead
--------------------------------------------------------------------------------

FILE: ...y/src/Entity/PaymentRaboSmartpayProfile/PaymentRaboSmartpayProfileForm.php
--------------------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
--------------------------------------------------------------------------------
143 | WARNING | t() calls should be avoided in classes, use
| | \Drupal\Core\StringTranslation\StringTranslationTrait and
| | $this->t() instead
144 | WARNING | t() calls should be avoided in classes, use
| | \Drupal\Core\StringTranslation\StringTranslationTrait and
| | $this->t() instead
--------------------------------------------------------------------------------

FILE: ...0/web/modules/contrib/payment_rabo_smartpay/payment_rabo_smartpay.info.yml
--------------------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
--------------------------------------------------------------------------------
9 | WARNING | All dependencies must be prefixed with the project name, for
| | example "drupal:"
10 | WARNING | All dependencies must be prefixed with the project name, for
| | example "drupal:"
--------------------------------------------------------------------------------

Time: 1.31 secs; Memory: 12MB

Steps to reproduce

Execute the command: phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,js,info,txt,md,yml,twig payment_rabo_smartpay/

Proposed resolution

Resolve all issues for Drupal and DrupalPractice coding standards

Remaining tasks

Patch Review

CommentFileSizeAuthor
coding-standard-fixes.patch3.11 KBurvashi_vora

Comments

urvashi_vora created an issue. See original summary.

joshahubbers’s picture

drupal:currency
drupal:payment

should be:

currency:currency
payment:payment

  • JoshaHubbers authored a5767eb5 on 1.0.x
    Issue #3354179 by urvashi_vora, JoshaHubbers: Fix the issues reported by...
joshahubbers’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.