Problem/Motivation
FILE: .../drupal10/web/modules/contrib/payment_omnikassa/payment_omnikassa.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:"
--------------------------------------------------------------------------------
FILE: ...es/contrib/payment_omnikassa/tests/src/Functional/PaymentOmnikassaTest.php
--------------------------------------------------------------------------------
FOUND 3 ERRORS AND 2 WARNINGS AFFECTING 5 LINES
--------------------------------------------------------------------------------
22 | ERROR | [ ] Missing short description in doc comment
69 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: 'EUR'
77 | ERROR | [ ] Public method name "PaymentOmnikassaTest::testCRUDProfile"
| | is not in lowerCamel format
101 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: 'test_rabo_omnikassa'
114 | ERROR | [x] Whitespace found at end of line
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
FILE: ...ib/payment_omnikassa/src/Plugin/Payment/Method/PaymentOmnikassaPayment.php
--------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------
249 | ERROR | [x] Parameter comment must end with a full stop
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
FILE: ...ent_omnikassa/src/Plugin/Payment/Method/PaymentOmnikassaPaymentDeriver.php
--------------------------------------------------------------------------------
FOUND 12 ERRORS AFFECTING 12 LINES
--------------------------------------------------------------------------------
61 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
62 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
63 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
64 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
65 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
66 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
67 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
68 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
69 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
70 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
71 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
72 | ERROR | [x] Array closing indentation error, expected 8 spaces but found
| | 10
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 12 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
FILE: ...nikassa/src/Plugin/Payment/MethodConfiguration/PaymentOmnikassaPayment.php
--------------------------------------------------------------------------------
FOUND 8 ERRORS AND 1 WARNING AFFECTING 9 LINES
--------------------------------------------------------------------------------
86 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
87 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
88 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
89 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
90 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
91 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
92 | ERROR | [x] Array closing indentation error, expected 4 spaces but
| | found 6
241 | WARNING | [ ] t() calls should be avoided in classes, use
| | \Drupal\Core\StringTranslation\StringTranslationTrait and
| | $this->t() instead
459 | ERROR | [x] Separate the @return and @throws sections by a blank line.
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 8 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
FILE: ...nikassa/src/Entity/PaymentOmnikassaProfile/PaymentOmnikassaProfileForm.php
--------------------------------------------------------------------------------
FOUND 9 ERRORS AND 2 WARNINGS AFFECTING 7 LINES
--------------------------------------------------------------------------------
13 | ERROR | [x] Non-namespaced classes/interfaces/traits should not be
| | referenced with use statements
111 | ERROR | [x] The first index in a multi-value array must be on a new
| | line
116 | ERROR | [x] Expected one space after the comma, 0 found
117 | ERROR | [x] Array indentation error, expected 2 spaces but found 6
117 | ERROR | [x] Closing parenthesis of array declaration must be on a new
| | line
118 | ERROR | [x] Comma not allowed after last value in single-line array
| | declaration
118 | ERROR | [x] Expected one space after the comma, 0 found
118 | ERROR | [x] There should be no white space before a closing "]"
118 | ERROR | [x] Closing parenthesis of array declaration must be on a new
| | line
140 | WARNING | [ ] t() calls should be avoided in classes, use
| | \Drupal\Core\StringTranslation\StringTranslationTrait and
| | $this->t() instead
141 | WARNING | [ ] t() calls should be avoided in classes, use
| | \Drupal\Core\StringTranslation\StringTranslationTrait and
| | $this->t() instead
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 9 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
FILE: .../src/Entity/PaymentOmnikassaProfile/PaymentOmnikassaProfileListBuilder.php
--------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
--------------------------------------------------------------------------------
26 | WARNING | [x] Inline @var declarations should use the /** */ delimiters
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
FILE: ...drupal10/web/modules/contrib/payment_omnikassa/src/Controller/Redirect.php
--------------------------------------------------------------------------------
FOUND 2 ERRORS AND 1 WARNING AFFECTING 3 LINES
--------------------------------------------------------------------------------
40 | ERROR | [x] Separate the @return and @throws sections by a blank line.
106 | WARNING | [ ] Line exceeds 80 characters; contains 86 characters
121 | ERROR | [x] Expected 1 space after closing brace; newline found
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
FILE: ...tml/contribution/drupal10/web/modules/contrib/payment_omnikassa/README.txt
--------------------------------------------------------------------------------
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 87 characters
--------------------------------------------------------------------------------
Time: 1.43 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_omnikassa/
Proposed resolution
Fix all reported issues for Drupal and DrupalPractice coding standards
Remaining tasks
Patch Review