- Issue created by @sidharth_soman
- Status changed to Needs work
almost 2 years ago 7:10am 16 February 2023 - 🇮🇳India sidharth_soman Bangalore
There are a huge number of coding standard errors. I will apply phpcbf to solve those that can be done automatically.
Working on it now. - 🇮🇳India sidharth_soman Bangalore
Applied phpcbf and manage to clean up 5194 errors in 57 files. I have opened an MR for the same. Please review.
- Issue was unassigned.
- Status changed to Needs review
almost 2 years ago 7:32am 16 February 2023 - Assigned to AditiVB
- Status changed to Needs work
almost 2 years ago 8:01am 16 February 2023 - 🇮🇳India AditiVB
-----------------------------------------------------------------------------------------------------------------------
3 | ERROR | Namespaced classes, interfaces and traits should not begin with a file doc comment
6 | WARNING | Line exceeds 80 characters; contains 106 characters
11 | ERROR | Missing short description in doc comment
19 | ERROR | The @var tag must be the first tag in a member variable comment
27 | ERROR | The @var tag must be the first tag in a member variable comment
35 | ERROR | The @var tag must be the first tag in a member variable comment
42 | ERROR | Doc comment for parameter $credential does not match actual variable name
44 | ERROR | Superfluous parameter comment
46 | ERROR | Superfluous parameter comment
-----------------------------------------------------------------------------------------------------------------------FILE: /var/www/html/drupal9/modules/contrib/chargelogic_payment-3342258/src/Models/Transaction.php
---------------------------------------------------------------------------------------------------------------------
FOUND 22 ERRORS AND 6 WARNINGS AFFECTING 28 LINES
---------------------------------------------------------------------------------------------------------------------
3 | ERROR | Namespaced classes, interfaces and traits should not begin with a file doc comment
6 | WARNING | Line exceeds 80 characters; contains 106 characters
12 | WARNING | Line exceeds 80 characters; contains 99 characters
13 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph
17 | WARNING | Line exceeds 80 characters; contains 96 characters
18 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph
22 | ERROR | The @var tag must be the first tag in a member variable comment
27 | WARNING | Line exceeds 80 characters; contains 104 characters
28 | WARNING | Line exceeds 80 characters; contains 104 characters
29 | WARNING | Line exceeds 80 characters; contains 101 characters
30 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph
34 | ERROR | The @var tag must be the first tag in a member variable comment
43 | ERROR | The @var tag must be the first tag in a member variable comment
51 | ERROR | The @var tag must be the first tag in a member variable comment
59 | ERROR | The @var tag must be the first tag in a member variable comment
67 | ERROR | The @var tag must be the first tag in a member variable comment
75 | ERROR | The @var tag must be the first tag in a member variable comment
84 | ERROR | The @var tag must be the first tag in a member variable comment
92 | ERROR | The @var tag must be the first tag in a member variable comment
99 | ERROR | Doc comment for parameter $amount does not match actual variable name
101 | ERROR | Superfluous parameter comment
103 | ERROR | Superfluous parameter comment
105 | ERROR | Superfluous parameter comment
107 | ERROR | Superfluous parameter comment
109 | ERROR | Superfluous parameter comment
111 | ERROR | Superfluous parameter comment
113 | ERROR | Superfluous parameter comment
115 | ERROR | Superfluous parameter comment
---------------------------------------------------------------------------------------------------------------------FILE: /var/www/html/drupal9/modules/contrib/chargelogic_payment-3342258/src/Models/Identification.php
--------------------------------------------------------------------------------------------------------------------
FOUND 10 ERRORS AND 3 WARNINGS AFFECTING 13 LINES
--------------------------------------------------------------------------------------------------------------------
3 | ERROR | Namespaced classes, interfaces and traits should not begin with a file doc comment
6 | WARNING | Line exceeds 80 characters; contains 106 characters
19 | ERROR | The @var tag must be the first tag in a member variable comment
24 | WARNING | Line exceeds 80 characters; contains 103 characters
25 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph
28 | ERROR | The @var tag must be the first tag in a member variable comment
33 | WARNING | Line exceeds 80 characters; contains 89 characters
36 | ERROR | The @var tag must be the first tag in a member variable comment
44 | ERROR | The @var tag must be the first tag in a member variable comment
51 | ERROR | Doc comment for parameter $birthDate does not match actual variable name
53 | ERROR | Superfluous parameter comment
55 | ERROR | Superfluous parameter comment
57 | ERROR | Superfluous parameter comment
--------------------------------------------------------------------------------------------------------------------FILE: /var/www/html/drupal9/modules/contrib/chargelogic_payment-3342258/src/Models/CreditCardTransactionModel.php
-----------------------------------------------------------------------------------------------------------------
FOUND 10 ERRORS AND 1 WARNING AFFECTING 11 LINES
-----------------------------------------------------------------------------------------------------------------
3 | ERROR | Namespaced classes, interfaces and traits should not begin with a file doc comment
6 | WARNING | Line exceeds 80 characters; contains 106 characters
11 | ERROR | Missing short description in doc comment
19 | ERROR | The @var tag must be the first tag in a member variable comment
27 | ERROR | The @var tag must be the first tag in a member variable comment
35 | ERROR | The @var tag must be the first tag in a member variable comment
43 | ERROR | The @var tag must be the first tag in a member variable comment
50 | ERROR | Doc comment for parameter $credential does not match actual variable name
52 | ERROR | Superfluous parameter comment
54 | ERROR | Superfluous parameter comment
56 | ERROR | Superfluous parameter comment
-----------------------------------------------------------------------------------------------------------------FILE: /var/www/html/drupal9/modules/contrib/chargelogic_payment-3342258/src/Models/Credential.php
--------------------------------------------------------------------------------------------------------------------
FOUND 13 ERRORS AND 6 WARNINGS AFFECTING 17 LINES
--------------------------------------------------------------------------------------------------------------------
3 | ERROR | Namespaced classes, interfaces and traits should not begin with a file doc comment
6 | WARNING | Line exceeds 80 characters; contains 106 characters
12 | WARNING | Line exceeds 80 characters; contains 101 characters
13 | WARNING | Line exceeds 80 characters; contains 99 characters
14 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph
18 | WARNING | Line exceeds 80 characters; contains 94 characters
19 | ERROR | Doc comment short description must end with a full stop
19 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph
23 | ERROR | The @var tag must be the first tag in a member variable comment
32 | ERROR | The @var tag must be the first tag in a member variable comment
41 | ERROR | The @var tag must be the first tag in a member variable comment
46 | WARNING | Line exceeds 80 characters; contains 102 characters
47 | WARNING | Line exceeds 80 characters; contains 84 characters
47 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph
51 | ERROR | The @var tag must be the first tag in a member variable comment
58 | ERROR | Doc comment for parameter $storeNo does not match actual variable name
60 | ERROR | Superfluous parameter comment
62 | ERROR | Superfluous parameter comment
64 | ERROR | Superfluous parameter comment
--------------------------------------------------------------------------------------------------------------------FILE: /var/www/html/drupal9/modules/contrib/chargelogic_payment-3342258/src/Models/ResponseModel.php
---------------------------------------------------------------------------------------------------------------------
FOUND 40 ERRORS AND 14 WARNINGS AFFECTING 53 LINES
---------------------------------------------------------------------------------------------------------------------
3 | ERROR | Namespaced classes, interfaces and traits should not begin with a file doc comment
6 | WARNING | Line exceeds 80 characters; contains 106 characters
12 | WARNING | Line exceeds 80 characters; contains 100 characters
13 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph
20 | ERROR | The @var tag must be the first tag in a member variable comment
25 | WARNING | Line exceeds 80 characters; contains 104 characters
28 | ERROR | The @var tag must be the first tag in a member variable comment
33 | WARNING | Line exceeds 80 characters; contains 100 characters
36 | ERROR | The @var tag must be the first tag in a member variable comment
44 | ERROR | The @var tag must be the first tag in a member variable comment
49 | WARNING | Line exceeds 80 characters; contains 95 characters
50 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph
53 | ERROR | The @var tag must be the first tag in a member variable comment
61 | ERROR | The @var tag must be the first tag in a member variable comment
69 | ERROR | The @var tag must be the first tag in a member variable comment
77 | ERROR | The @var tag must be the first tag in a member variable comment
82 | WARNING | Line exceeds 80 characters; contains 102 characters
83 | WARNING | Line exceeds 80 characters; contains 105 characters
84 | WARNING | Line exceeds 80 characters; contains 105 characters
85 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph
88 | ERROR | The @var tag must be the first tag in a member variable comment
93 | WARNING | Line exceeds 80 characters; contains 102 characters
94 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph
97 | ERROR | The @var tag must be the first tag in a member variable comment
102 | WARNING | Line exceeds 80 characters; contains 102 characters
105 | ERROR | The @var tag must be the first tag in a member variable comment
110 | WARNING | Line exceeds 80 characters; contains 84 characters
113 | ERROR | The @var tag must be the first tag in a member variable comment
118 | WARNING | Line exceeds 80 characters; contains 105 characters
119 | ERROR | Doc comment short description must end with a full stop
119 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph
122 | ERROR | The @var tag must be the first tag in a member variable comment
130 | ERROR | The @var tag must be the first tag in a member variable comment
135 | WARNING | Line exceeds 80 characters; contains 95 characters
136 | WARNING | Line exceeds 80 characters; contains 105 characters
137 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph
140 | ERROR | The @var tag must be the first tag in a member variable comment
148 | ERROR | The @var tag must be the first tag in a member variable comment
155 | ERROR | Doc comment for parameter $responseCode does not match actual variable name
157 | ERROR | Superfluous parameter comment
159 | ERROR | Superfluous parameter comment
161 | ERROR | Superfluous parameter comment
163 | ERROR | Superfluous parameter comment
165 | ERROR | Superfluous parameter comment
167 | ERROR | Superfluous parameter comment
169 | ERROR | Superfluous parameter comment
171 | ERROR | Superfluous parameter comment
173 | ERROR | Superfluous parameter comment
175 | ERROR | Superfluous parameter comment
177 | ERROR | Superfluous parameter comment
179 | ERROR | Superfluous parameter comment
181 | ERROR | Superfluous parameter comment
183 | ERROR | Superfluous parameter comment
185 | ERROR | Superfluous parameter comment
---------------------------------------------------------------------------------------------------------------------FILE: /var/www/html/drupal9/modules/contrib/chargelogic_payment-3342258/src/Models/TransactionResultModel.php
----------------------------------------------------------------------------------------------------------------------
FOUND 30 ERRORS AND 1 WARNING AFFECTING 31 LINES
----------------------------------------------------------------------------------------------------------------------
3 | ERROR | Namespaced classes, interfaces and traits should not begin with a file doc comment
6 | WARNING | Line exceeds 80 characters; contains 106 characters
11 | ERROR | Missing short description in doc comment
19 | ERROR | The @var tag must be the first tag in a member variable comment
27 | ERROR | The @var tag must be the first tag in a member variable comment
35 | ERROR | The @var tag must be the first tag in a member variable comment
43 | ERROR | The @var tag must be the first tag in a member variable comment
51 | ERROR | The @var tag must be the first tag in a member variable comment
59 | ERROR | The @var tag must be the first tag in a member variable comment
67 | ERROR | The @var tag must be the first tag in a member variable comment
75 | ERROR | The @var tag must be the first tag in a member variable comment
83 | ERROR | The @var tag must be the first tag in a member variable comment
91 | ERROR | The @var tag must be the first tag in a member variable comment
99 | ERROR | The @var tag must be the first tag in a member variable comment
107 | ERROR | The @var tag must be the first tag in a member variable comment
115 | ERROR | The @var tag must be the first tag in a member variable comment
123 | ERROR | The @var tag must be the first tag in a member variable comment
130 | ERROR | Doc comment for parameter $creditCardAuthorizeResult does not match actual variable name
133 | ERROR | Superfluous parameter comment
136 | ERROR | Superfluous parameter comment
139 | ERROR | Superfluous parameter comment
142 | ERROR | Superfluous parameter comment
145 | ERROR | Superfluous parameter comment
148 | ERROR | Superfluous parameter comment
151 | ERROR | Superfluous parameter comment
154 | ERROR | Superfluous parameter comment
157 | ERROR | Superfluous parameter comment
160 | ERROR | Superfluous parameter comment
163 | ERROR | Superfluous parameter comment
166 | ERROR | Superfluous parameter comment
170 | ERROR | Superfluous parameter comment
----------------------------------------------------------------------------------------------------------------------FILE: /var/www/html/drupal9/modules/contrib/chargelogic_payment-3342258/src/Models/LineItem.php
---------------------------------------------------------------------------------------------------------------------
FOUND 24 ERRORS AND 4 WARNINGS AFFECTING 27 LINES
---------------------------------------------------------------------------------------------------------------------
3 | ERROR | Namespaced classes, interfaces and traits should not begin with a file doc comment
6 | WARNING | Line exceeds 80 characters; contains 106 characters
20 | ERROR | The @var tag must be the first tag in a member variable comment
25 | WARNING | Line exceeds 80 characters; contains 94 characters
29 | ERROR | The @var tag must be the first tag in a member variable comment
38 | ERROR | The @var tag must be the first tag in a member variable comment
47 | ERROR | The @var tag must be the first tag in a member variable comment
56 | ERROR | The @var tag must be the first tag in a member variable comment
65 | ERROR | The @var tag must be the first tag in a member variable comment
70 | WARNING | Line exceeds 80 characters; contains 102 characters
71 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph
75 | ERROR | The @var tag must be the first tag in a member variable comment
84 | ERROR | The @var tag must be the first tag in a member variable comment
93 | ERROR | The @var tag must be the first tag in a member variable comment
98 | WARNING | Line exceeds 80 characters; contains 101 characters
99 | ERROR | Doc comment short description must end with a full stop
99 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph
102 | ERROR | The @var tag must be the first tag in a member variable comment
109 | ERROR | Doc comment for parameter $productCode does not match actual variable name
111 | ERROR | Superfluous parameter comment
113 | ERROR | Superfluous parameter comment
115 | ERROR | Superfluous parameter comment
117 | ERROR | Superfluous parameter comment
119 | ERROR | Superfluous parameter comment
121 | ERROR | Superfluous parameter comment
123 | ERROR | Superfluous parameter comment
125 | ERROR | Superfluous parameter comment
127 | ERROR | Superfluous parameter comment
---------------------------------------------------------------------------------------------------------------------FILE: /var/www/html/drupal9/modules/contrib/chargelogic_payment-3342258/src/Models/CheckTransactionModel.php
------------------------------------------------------------------------------------------------------------
FOUND 12 ERRORS AND 1 WARNING AFFECTING 13 LINES
------------------------------------------------------------------------------------------------------------
3 | ERROR | Namespaced classes, interfaces and traits should not begin with a file doc comment
6 | WARNING | Line exceeds 80 characters; contains 106 characters
11 | ERROR | Missing short description in doc comment
19 | ERROR | The @var tag must be the first tag in a member variable comment
27 | ERROR | The @var tag must be the first tag in a member variable comment
35 | ERROR | The @var tag must be the first tag in a member variable comment
43 | ERROR | The @var tag must be the first tag in a member variable comment
51 | ERROR | The @var tag must be the first tag in a member variable comment
58 | ERROR | Doc comment for parameter $credential does not match actual variable name
60 | ERROR | Superfluous parameter comment
62 | ERROR | Superfluous parameter comment
64 | ERROR | Superfluous parameter comment
66 | ERROR | Superfluous parameter comment
------------------------------------------------------------------------------------------------------------FILE: /var/www/html/drupal9/modules/contrib/chargelogic_payment-3342258/src/Models/Address.php
----------------------------------------------------------------------------------------------------
FOUND 19 ERRORS AND 2 WARNINGS AFFECTING 21 LINES
----------------------------------------------------------------------------------------------------
3 | ERROR | Namespaced classes, interfaces and traits should not begin with a file doc comment
6 | WARNING | Line exceeds 80 characters; contains 106 characters
12 | WARNING | Line exceeds 80 characters; contains 88 characters
19 | ERROR | The @var tag must be the first tag in a member variable comment
27 | ERROR | The @var tag must be the first tag in a member variable comment
35 | ERROR | The @var tag must be the first tag in a member variable comment
43 | ERROR | The @var tag must be the first tag in a member variable comment
51 | ERROR | The @var tag must be the first tag in a member variable comment
59 | ERROR | The @var tag must be the first tag in a member variable comment
67 | ERROR | The @var tag must be the first tag in a member variable comment
75 | ERROR | The @var tag must be the first tag in a member variable comment
83 | ERROR | The @var tag must be the first tag in a member variable comment
90 | ERROR | Doc comment for parameter $name does not match actual variable name
92 | ERROR | Superfluous parameter comment
94 | ERROR | Superfluous parameter comment
96 | ERROR | Superfluous parameter comment
98 | ERROR | Superfluous parameter comment
100 | ERROR | Superfluous parameter comment
102 | ERROR | Superfluous parameter comment
104 | ERROR | Superfluous parameter comment
106 | ERROR | Superfluous parameter comment
----------------------------------------------------------------------------------------------------FILE: /var/www/html/drupal9/modules/contrib/chargelogic_payment-3342258/src/Models/Shipment.php
----------------------------------------------------------------------------------------------------------
FOUND 15 ERRORS AND 2 WARNINGS AFFECTING 17 LINES
----------------------------------------------------------------------------------------------------------
3 | ERROR | Namespaced classes, interfaces and traits should not begin with a file doc comment
6 | WARNING | Line exceeds 80 characters; contains 106 characters
12 | WARNING | Line exceeds 80 characters; contains 81 characters
20 | ERROR | The @var tag must be the first tag in a member variable comment
28 | ERROR | The @var tag must be the first tag in a member variable comment
36 | ERROR | The @var tag must be the first tag in a member variable comment
44 | ERROR | The @var tag must be the first tag in a member variable comment
52 | ERROR | The @var tag must be the first tag in a member variable comment
60 | ERROR | The @var tag must be the first tag in a member variable comment
68 | ERROR | The @var tag must be the first tag in a member variable comment
75 | ERROR | Doc comment for parameter $shipmentNumber does not match actual variable name
77 | ERROR | Superfluous parameter comment
79 | ERROR | Superfluous parameter comment
81 | ERROR | Superfluous parameter comment
83 | ERROR | Superfluous parameter comment
85 | ERROR | Superfluous parameter comment
87 | ERROR | Superfluous parameter comment
----------------------------------------------------------------------------------------------------------FILE: /var/www/html/drupal9/modules/contrib/chargelogic_payment-3342258/src/Models/ExtraData.php
--------------------------------------------------------------------------------------------------------------------
FOUND 6 ERRORS AND 3 WARNINGS AFFECTING 9 LINES
--------------------------------------------------------------------------------------------------------------------
3 | ERROR | Namespaced classes, interfaces and traits should not begin with a file doc comment
6 | WARNING | Line exceeds 80 characters; contains 106 characters
12 | WARNING | Line exceeds 80 characters; contains 101 characters
13 | WARNING | Line exceeds 80 characters; contains 100 characters
14 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph
22 | ERROR | The @var tag must be the first tag in a member variable comment
31 | ERROR | The @var tag must be the first tag in a member variable comment
38 | ERROR | Doc comment for parameter $name does not match actual variable name
40 | ERROR | Superfluous parameter comment
--------------------------------------------------------------------------------------------------------------------FILE: /var/www/html/drupal9/modules/contrib/chargelogic_payment-3342258/src/Models/DemandDepositAccount.php
--------------------------------------------------------------------------------------------------------------------
FOUND 18 ERRORS AND 5 WARNINGS AFFECTING 21 LINES
--------------------------------------------------------------------------------------------------------------------
3 | ERROR | Namespaced classes, interfaces and traits should not begin with a file doc comment
6 | WARNING | Line exceeds 80 characters; contains 106 characters
12 | WARNING | Line exceeds 80 characters; contains 96 characters
13 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph
17 | WARNING | Line exceeds 80 characters; contains 104 characters
18 | ERROR | Doc comment short description must end with a full stop
18 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph
22 | ERROR | The @var tag must be the first tag in a member variable comment
31 | ERROR | The @var tag must be the first tag in a member variable comment
36 | ERROR | Doc comment short description must end with a full stop
40 | ERROR | The @var tag must be the first tag in a member variable comment
45 | WARNING | Line exceeds 80 characters; contains 82 characters
45 | ERROR | Doc comment short description must end with a full stop
49 | ERROR | The @var tag must be the first tag in a member variable comment
54 | WARNING | Line exceeds 80 characters; contains 98 characters
57 | ERROR | The @var tag must be the first tag in a member variable comment
65 | ERROR | The @var tag must be the first tag in a member variable comment
72 | ERROR | Doc comment for parameter $routingNumber does not match actual variable name
74 | ERROR | Superfluous parameter comment
76 | ERROR | Superfluous parameter comment
78 | ERROR | Superfluous parameter comment
80 | ERROR | Superfluous parameter comment
82 | ERROR | Superfluous parameter comment
--------------------------------------------------------------------------------------------------------------------FILE: /var/www/html/drupal9/modules/contrib/chargelogic_payment-3342258/src/Models/GiftCardBalanceModel.php
-----------------------------------------------------------------------------------------------------------
FOUND 6 ERRORS AND 1 WARNING AFFECTING 7 LINES
-----------------------------------------------------------------------------------------------------------
3 | ERROR | Namespaced classes, interfaces and traits should not begin with a file doc comment
6 | WARNING | Line exceeds 80 characters; contains 106 characters
11 | ERROR | Missing short description in doc comment
19 | ERROR | The @var tag must be the first tag in a member variable comment
27 | ERROR | The @var tag must be the first tag in a member variable comment
34 | ERROR | Doc comment for parameter $credential does not match actual variable name
36 | ERROR | Superfluous parameter comment
-----------------------------------------------------------------------------------------------------------FILE: /var/www/html/drupal9/modules/contrib/chargelogic_payment-3342258/src/Models/QueryOrdersResultModel.php
-------------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AND 1 WARNING AFFECTING 4 LINES
-------------------------------------------------------------------------------------------------------------
3 | ERROR | Namespaced classes, interfaces and traits should not begin with a file doc comment
6 | WARNING | Line exceeds 80 characters; contains 106 characters
11 | ERROR | Missing short description in doc comment
25 | ERROR | Doc comment for parameter $orders does not match actual variable name
-------------------------------------------------------------------------------------------------------------FILE: /var/www/html/drupal9/modules/contrib/chargelogic_payment-3342258/src/Models/FinalizeOrderModel.php
---------------------------------------------------------------------------------------------------------
FOUND 6 ERRORS AND 1 WARNING AFFECTING 7 LINES
---------------------------------------------------------------------------------------------------------
3 | ERROR | Namespaced classes, interfaces and traits should not begin with a file doc comment
6 | WARNING | Line exceeds 80 characters; contains 106 characters
11 | ERROR | Missing short description in doc comment
19 | ERROR | The @var tag must be the first tag in a member variable comment
27 | ERROR | The @var tag must be the first tag in a member variable comment
34 | ERROR | Doc comment for parameter $credential does not match actual variable name
36 | ERROR | Superfluous parameter comment
---------------------------------------------------------------------------------------------------------FILE: /var/www/html/drupal9/modules/contrib/chargelogic_payment-3342258/src/Models/EFTOrders.php
------------------------------------------------------------------------------------------------------
FOUND 6 ERRORS AND 1 WARNING AFFECTING 7 LINES
------------------------------------------------------------------------------------------------------
3 | ERROR | Namespaced classes, interfaces and traits should not begin with a file doc comment
6 | WARNING | Line exceeds 80 characters; contains 106 characters
11 | ERROR | Missing short description in doc comment
20 | ERROR | The @var tag must be the first tag in a member variable comment
28 | ERROR | The @var tag must be the first tag in a member variable comment
35 | ERROR | Doc comment for parameter $orderCount does not match actual variable name
37 | ERROR | Superfluous parameter comment
------------------------------------------------------------------------------------------------------FILE: /var/www/html/drupal9/modules/contrib/chargelogic_payment-3342258/src/Models/ReferenceTransaction.php
-------------------------------------------------------------------------------------------------------------------
FOUND 5 ERRORS AND 1 WARNING AFFECTING 6 LINES
-------------------------------------------------------------------------------------------------------------------
3 | ERROR | Namespaced classes, interfaces and traits should not begin with a file doc comment
6 | WARNING | Line exceeds 80 characters; contains 106 characters
20 | ERROR | The @var tag must be the first tag in a member variable comment
29 | ERROR | The @var tag must be the first tag in a member variable comment
36 | ERROR | Doc comment for parameter $originalReferenceNumber does not match actual variable name
38 | ERROR | Superfluous parameter comment
-------------------------------------------------------------------------------------------------------------------FILE: /var/www/html/drupal9/modules/contrib/chargelogic_payment-3342258/src/Models/Order.php
----------------------------------------------------------------------------------------------------
FOUND 63 ERRORS AND 4 WARNINGS AFFECTING 67 LINES
----------------------------------------------------------------------------------------------------
3 | ERROR | Namespaced classes, interfaces and traits should not begin with a file doc comment
6 | WARNING | Line exceeds 80 characters; contains 106 characters
12 | WARNING | Line exceeds 80 characters; contains 87 characters
20 | ERROR | The @var tag must be the first tag in a member variable comment
29 | ERROR | The @var tag must be the first tag in a member variable comment
38 | ERROR | The @var tag must be the first tag in a member variable comment
47 | ERROR | The @var tag must be the first tag in a member variable comment
56 | ERROR | The @var tag must be the first tag in a member variable comment
65 | ERROR | The @var tag must be the first tag in a member variable comment
74 | ERROR | The @var tag must be the first tag in a member variable comment
83 | ERROR | The @var tag must be the first tag in a member variable comment
92 | ERROR | The @var tag must be the first tag in a member variable comment
101 | ERROR | The @var tag must be the first tag in a member variable comment
110 | ERROR | The @var tag must be the first tag in a member variable comment
119 | ERROR | The @var tag must be the first tag in a member variable comment
128 | ERROR | The @var tag must be the first tag in a member variable comment
137 | ERROR | The @var tag must be the first tag in a member variable comment
146 | ERROR | The @var tag must be the first tag in a member variable comment
155 | ERROR | The @var tag must be the first tag in a member variable comment
164 | ERROR | The @var tag must be the first tag in a member variable comment
173 | ERROR | The @var tag must be the first tag in a member variable comment
182 | ERROR | The @var tag must be the first tag in a member variable comment
191 | ERROR | The @var tag must be the first tag in a member variable comment
200 | ERROR | The @var tag must be the first tag in a member variable comment
209 | ERROR | The @var tag must be the first tag in a member variable comment
218 | ERROR | The @var tag must be the first tag in a member variable comment
227 | ERROR | The @var tag must be the first tag in a member variable comment
236 | ERROR | The @var tag must be the first tag in a member variable comment
245 | ERROR | The @var tag must be the first tag in a member variable comment
254 | ERROR | The @var tag must be the first tag in a member variable comment
259 | WARNING | Line exceeds 80 characters; contains 93 characters
262 | ERROR | The @var tag must be the first tag in a member variable comment
270 | ERROR | The @var tag must be the first tag in a member variable comment
278 | ERROR | The @var tag must be the first tag in a member variable comment
283 | WARNING | Line exceeds 80 characters; contains 86 characters
286 | ERROR | The @var tag must be the first tag in a member variable comment
293 | ERROR | Doc comment for parameter $iD does not match actual variable name
295 | ERROR | Superfluous parameter comment
297 | ERROR | Superfluous parameter comment
299 | ERROR | Superfluous parameter comment
301 | ERROR | Superfluous parameter comment
303 | ERROR | Superfluous parameter comment
305 | ERROR | Superfluous parameter comment
307 | ERROR | Superfluous parameter comment
309 | ERROR | Superfluous parameter comment
311 | ERROR | Superfluous parameter comment
313 | ERROR | Superfluous parameter comment
315 | ERROR | Superfluous parameter comment
317 | ERROR | Superfluous parameter comment
319 | ERROR | Superfluous parameter comment
321 | ERROR | Superfluous parameter comment
323 | ERROR | Superfluous parameter comment
325 | ERROR | Superfluous parameter comment
327 | ERROR | Superfluous parameter comment
329 | ERROR | Superfluous parameter comment
331 | ERROR | Superfluous parameter comment
333 | ERROR | Superfluous parameter comment
335 | ERROR | Superfluous parameter comment
337 | ERROR | Superfluous parameter comment
339 | ERROR | Superfluous parameter comment
341 | ERROR | Superfluous parameter comment
343 | ERROR | Superfluous parameter comment
345 | ERROR | Superfluous parameter comment
347 | ERROR | Superfluous parameter comment
349 | ERROR | Superfluous parameter comment
351 | ERROR | Superfluous parameter comment
353 | ERROR | Superfluous parameter comment
----------------------------------------------------------------------------------------------------FILE: /var/www/html/drupal9/modules/contrib/chargelogic_payment-3342258/src/Models/ReferenceTransactionModel.php
----------------------------------------------------------------------------------------------------------------
FOUND 6 ERRORS AND 1 WARNING AFFECTING 7 LINES
----------------------------------------------------------------------------------------------------------------
3 | ERROR | Namespaced classes, interfaces and traits should not begin with a file doc comment
6 | WARNING | Line exceeds 80 characters; contains 106 characters
11 | ERROR | Missing short description in doc comment
19 | ERROR | The @var tag must be the first tag in a member variable comment
27 | ERROR | The @var tag must be the first tag in a member variable comment
34 | ERROR | Doc comment for parameter $credential does not match actual variable name
36 | ERROR | Superfluous parameter comment
----------------------------------------------------------------------------------------------------------------FILE: /var/www/html/drupal9/modules/contrib/chargelogic_payment-3342258/src/Models/Card.php
---------------------------------------------------------------------------------------------------------------------
FOUND 24 ERRORS AND 10 WARNINGS AFFECTING 33 LINES
---------------------------------------------------------------------------------------------------------------------
3 | ERROR | Namespaced classes, interfaces and traits should not begin with a file doc comment
6 | WARNING | Line exceeds 80 characters; contains 106 characters
12 | WARNING | Line exceeds 80 characters; contains 89 characters
13 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph
20 | ERROR | The @var tag must be the first tag in a member variable comment
25 | WARNING | Line exceeds 80 characters; contains 103 characters
26 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph
29 | ERROR | The @var tag must be the first tag in a member variable comment
34 | WARNING | Line exceeds 80 characters; contains 103 characters
35 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph
38 | ERROR | The @var tag must be the first tag in a member variable comment
43 | WARNING | Line exceeds 80 characters; contains 102 characters
44 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph
47 | ERROR | The @var tag must be the first tag in a member variable comment
52 | WARNING | Line exceeds 80 characters; contains 105 characters
53 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph
56 | ERROR | The @var tag must be the first tag in a member variable comment
61 | WARNING | Line exceeds 80 characters; contains 103 characters
62 | WARNING | Line exceeds 80 characters; contains 102 characters
62 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph
65 | ERROR | The @var tag must be the first tag in a member variable comment
70 | WARNING | Line exceeds 80 characters; contains 104 characters
71 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph
74 | ERROR | The @var tag must be the first tag in a member variable comment
79 | WARNING | Line exceeds 80 characters; contains 97 characters
82 | ERROR | The @var tag must be the first tag in a member variable comment
89 | ERROR | Doc comment for parameter $cardholderName does not match actual variable name
91 | ERROR | Superfluous parameter comment
93 | ERROR | Superfluous parameter comment
95 | ERROR | Superfluous parameter comment
97 | ERROR | Superfluous parameter comment
99 | ERROR | Superfluous parameter comment
101 | ERROR | Superfluous parameter comment
103 | ERROR | Superfluous parameter comment
---------------------------------------------------------------------------------------------------------------------FILE: /var/www/html/drupal9/modules/contrib/chargelogic_payment-3342258/src/Models/QueryOrderModel.php
------------------------------------------------------------------------------------------------------
FOUND 7 ERRORS AND 1 WARNING AFFECTING 8 LINES
------------------------------------------------------------------------------------------------------
3 | ERROR | Namespaced classes, interfaces and traits should not begin with a file doc comment
6 | WARNING | Line exceeds 80 characters; contains 106 characters
11 | ERROR | Missing short description in doc comment
19 | ERROR | The @var tag must be the first tag in a member variable comment
27 | ERROR | The @var tag must be the first tag in a member variable comment
41 | ERROR | Doc comment for parameter $credential does not match actual variable name
43 | ERROR | Superfluous parameter comment
45 | ERROR | Superfluous parameter comment
------------------------------------------------------------------------------------------------------FILE: /var/www/html/drupal9/modules/contrib/chargelogic_payment-3342258/src/Models/SetupHostedCheckTransactionModel.php
-----------------------------------------------------------------------------------------------------------------------
FOUND 14 ERRORS AND 1 WARNING AFFECTING 15 LINES
-----------------------------------------------------------------------------------------------------------------------
3 | ERROR | Namespaced classes, interfaces and traits should not begin with a file doc comment
6 | WARNING | Line exceeds 80 characters; contains 106 characters
11 | ERROR | Missing short description in doc comment
19 | ERROR | The @var tag must be the first tag in a member variable comment
27 | ERROR | The @var tag must be the first tag in a member variable comment
35 | ERROR | The @var tag must be the first tag in a member variable comment
43 | ERROR | The @var tag must be the first tag in a member variable comment
51 | ERROR | The @var tag must be the first tag in a member variable comment
59 | ERROR | The @var tag must be the first tag in a member variable comment
66 | ERROR | Doc comment for parameter $credential does not match actual variable name
68 | ERROR | Superfluous parameter comment
70 | ERROR | Superfluous parameter comment
72 | ERROR | Superfluous parameter comment
74 | ERROR | Superfluous parameter comment
76 | ERROR | Superfluous parameter comment
-----------------------------------------------------------------------------------------------------------------------FILE: /var/www/html/drupal9/modules/contrib/chargelogic_payment-3342258/src/Models/HostedPayment.php
---------------------------------------------------------------------------------------------------------------------
FOUND 67 ERRORS AND 41 WARNINGS AFFECTING 103 LINES
---------------------------------------------------------------------------------------------------------------------
3 | ERROR | Namespaced classes, interfaces and traits should not begin with a file doc comment
6 | WARNING | Line exceeds 80 characters; contains 106 characters
12 | WARNING | Line exceeds 80 characters; contains 98 characters
13 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph
17 | WARNING | Line exceeds 80 characters; contains 98 characters
18 | ERROR | Doc comment short description must end with a full stop
18 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph
22 | ERROR | The @var tag must be the first tag in a member variable comment
27 | WARNING | Line exceeds 80 characters; contains 104 characters
31 | WARNING | Line exceeds 80 characters; contains 104 characters
32 | WARNING | Line exceeds 80 characters; contains 104 characters
33 | WARNING | Line exceeds 80 characters; contains 101 characters
34 | WARNING | Line exceeds 80 characters; contains 101 characters
35 | WARNING | Line exceeds 80 characters; contains 104 characters
36 | WARNING | Line exceeds 80 characters; contains 100 characters
37 | WARNING | Line exceeds 80 characters; contains 103 characters
38 | WARNING | Line exceeds 80 characters; contains 100 characters
38 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph
42 | ERROR | The @var tag must be the first tag in a member variable comment
47 | WARNING | Line exceeds 80 characters; contains 103 characters
48 | ERROR | Doc comment short description must end with a full stop
48 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph
52 | ERROR | The @var tag must be the first tag in a member variable comment
57 | WARNING | Line exceeds 80 characters; contains 104 characters
61 | WARNING | Line exceeds 80 characters; contains 104 characters
62 | WARNING | Line exceeds 80 characters; contains 104 characters
63 | WARNING | Line exceeds 80 characters; contains 101 characters
64 | WARNING | Line exceeds 80 characters; contains 101 characters
65 | WARNING | Line exceeds 80 characters; contains 104 characters
66 | WARNING | Line exceeds 80 characters; contains 100 characters
67 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph
70 | ERROR | The @var tag must be the first tag in a member variable comment
78 | ERROR | The @var tag must be the first tag in a member variable comment
83 | WARNING | Line exceeds 80 characters; contains 104 characters
84 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph
87 | ERROR | The @var tag must be the first tag in a member variable comment
92 | WARNING | Line exceeds 80 characters; contains 103 characters
93 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph
96 | ERROR | The @var tag must be the first tag in a member variable comment
101 | WARNING | Line exceeds 80 characters; contains 104 characters
102 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph
105 | ERROR | The @var tag must be the first tag in a member variable comment
110 | WARNING | Line exceeds 80 characters; contains 105 characters
113 | ERROR | The @var tag must be the first tag in a member variable comment
118 | WARNING | Line exceeds 80 characters; contains 100 characters
119 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph
122 | ERROR | The @var tag must be the first tag in a member variable comment
127 | WARNING | Line exceeds 80 characters; contains 96 characters
130 | ERROR | The @var tag must be the first tag in a member variable comment
135 | WARNING | Line exceeds 80 characters; contains 87 characters
138 | ERROR | The @var tag must be the first tag in a member variable comment
143 | WARNING | Line exceeds 80 characters; contains 96 characters
146 | ERROR | The @var tag must be the first tag in a member variable comment
151 | WARNING | Line exceeds 80 characters; contains 97 characters
154 | ERROR | The @var tag must be the first tag in a member variable comment
159 | WARNING | Line exceeds 80 characters; contains 92 characters
162 | ERROR | The @var tag must be the first tag in a member variable comment
167 | WARNING | Line exceeds 80 characters; contains 98 characters
170 | ERROR | The @var tag must be the first tag in a member variable comment
175 | WARNING | Line exceeds 80 characters; contains 100 characters
176 | ERROR | Doc comment short description must end with a full stop
176 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph
179 | ERROR | The @var tag must be the first tag in a member variable comment
184 | WARNING | Line exceeds 80 characters; contains 97 characters
185 | WARNING | Line exceeds 80 characters; contains 102 characters
186 | WARNING | Line exceeds 80 characters; contains 96 characters
186 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph
189 | ERROR | The @var tag must be the first tag in a member variable comment
194 | WARNING | Line exceeds 80 characters; contains 97 characters
195 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph
198 | ERROR | The @var tag must be the first tag in a member variable comment
203 | WARNING | Line exceeds 80 characters; contains 92 characters
206 | ERROR | The @var tag must be the first tag in a member variable comment
211 | WARNING | Line exceeds 80 characters; contains 104 characters
212 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph
215 | ERROR | The @var tag must be the first tag in a member variable comment
220 | WARNING | Line exceeds 80 characters; contains 95 characters
223 | ERROR | The @var tag must be the first tag in a member variable comment
228 | WARNING | Line exceeds 80 characters; contains 98 characters
231 | ERROR | The @var tag must be the first tag in a member variable comment
236 | WARNING | Line exceeds 80 characters; contains 104 characters
239 | ERROR | The @var tag must be the first tag in a member variable comment
247 | ERROR | The @var tag must be the first tag in a member variable comment
254 | ERROR | Doc comment for parameter $requireCVV does not match actual variable name
256 | ERROR | Superfluous parameter comment
258 | ERROR | Superfluous parameter comment
260 | ERROR | Superfluous parameter comment
262 | ERROR | Superfluous parameter comment
264 | ERROR | Superfluous parameter comment
266 | ERROR | Superfluous parameter comment
268 | ERROR | Superfluous parameter comment
270 | ERROR | Superfluous parameter comment
272 | ERROR | Superfluous parameter comment
274 | ERROR | Superfluous parameter comment
276 | ERROR | Superfluous parameter comment
278 | ERROR | Superfluous parameter comment
280 | ERROR | Superfluous parameter comment
282 | ERROR | Superfluous parameter comment
284 | ERROR | Superfluous parameter comment
286 | ERROR | Superfluous parameter comment
288 | ERROR | Superfluous parameter comment
290 | ERROR | Superfluous parameter comment
292 | ERROR | Superfluous parameter comment
294 | ERROR | Superfluous parameter comment
296 | ERROR | Superfluous parameter comment
298 | ERROR | Superfluous parameter comment
300 | ERROR | Superfluous parameter comment
302 | ERROR | Superfluous parameter comment
---------------------------------------------------------------------------------------------------------------------FILE: /var/www/html/drupal9/modules/contrib/chargelogic_payment-3342258/src/Models/Comment.php
--------------------------------------------------------------------------------------------------------------------
FOUND 5 ERRORS AND 2 WARNINGS AFFECTING 6 LINES
--------------------------------------------------------------------------------------------------------------------
3 | ERROR | Namespaced classes, interfaces and traits should not begin with a file doc comment
6 | WARNING | Line exceeds 80 characters; contains 106 characters
16 | WARNING | Line exceeds 80 characters; contains 100 characters
17 | ERROR | Doc comment short description must end with a full stop
17 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph
21 | ERROR | The @var tag must be the first tag in a member variable comment
28 | ERROR | Doc comment for parameter $commentLine does not match actual variable name
--------------------------------------------------------------------------------------------------------------------FILE: /var/www/html/drupal9/modules/contrib/chargelogic_payment-3342258/src/Models/CheckReferenceModel.php
----------------------------------------------------------------------------------------------------------
FOUND 6 ERRORS AND 1 WARNING AFFECTING 7 LINES
----------------------------------------------------------------------------------------------------------
3 | ERROR | Namespaced classes, interfaces and traits should not begin with a file doc comment
6 | WARNING | Line exceeds 80 characters; contains 106 characters
11 | ERROR | Missing short description in doc comment
19 | ERROR | The @var tag must be the first tag in a member variable comment
27 | ERROR | The @var tag must be the first tag in a member variable comment
34 | ERROR | Doc comment for parameter $credential does not match actual variable name
36 | ERROR | Superfluous parameter comment
----------------------------------------------------------------------------------------------------------FILE: /var/www/html/drupal9/modules/contrib/chargelogic_payment-3342258/src/Models/SetupHostedCreditCardTransactionModel.php
----------------------------------------------------------------------------------------------------------------------------
FOUND 12 ERRORS AND 1 WARNING AFFECTING 13 LINES
----------------------------------------------------------------------------------------------------------------------------
3 | ERROR | Namespaced classes, interfaces and traits should not begin with a file doc comment
6 | WARNING | Line exceeds 80 characters; contains 106 characters
11 | ERROR | Missing short description in doc comment
19 | ERROR | The @var tag must be the first tag in a member variable comment
27 | ERROR | The @var tag must be the first tag in a member variable comment
35 | ERROR | The @var tag must be the first tag in a member variable comment
43 | ERROR | The @var tag must be the first tag in a member variable comment
51 | ERROR | The @var tag must be the first tag in a member variable comment
58 | ERROR | Doc comment for parameter $credential does not match actual variable name
60 | ERROR | Superfluous parameter comment
62 | ERROR | Superfluous parameter comment
64 | ERROR | Superfluous parameter comment
66 | ERROR | Superfluous parameter comment
----------------------------------------------------------------------------------------------------------------------------FILE: /var/www/html/drupal9/modules/contrib/chargelogic_payment-3342258/src/Models/SetupHostedPaymentResultModel.php
--------------------------------------------------------------------------------------------------------------------
FOUND 8 ERRORS AND 1 WARNING AFFECTING 9 LINES
--------------------------------------------------------------------------------------------------------------------
3 | ERROR | Namespaced classes, interfaces and traits should not begin with a file doc comment
6 | WARNING | Line exceeds 80 characters; contains 106 characters
11 | ERROR | Missing short description in doc comment
19 | ERROR | The @var tag must be the first tag in a member variable comment
27 | ERROR | The @var tag must be the first tag in a member variable comment
35 | ERROR | The @var tag must be the first tag in a member variable comment
42 | ERROR | Doc comment for parameter $returnValue does not match actual variable name
44 | ERROR | Superfluous parameter comment
46 | ERROR | Superfluous parameter comment
--------------------------------------------------------------------------------------------------------------------FILE: /var/www/html/drupal9/modules/contrib/chargelogic_payment-3342258/src/Plugin/Commerce/PaymentMethodType/ChargelogicCreditCard.php
---------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
---------------------------------------------------------------------------------------------------------------------------------------
56 | ERROR | The array declaration extends to column 102 (the limit is 80). The array content should be split up over multiple lines
---------------------------------------------------------------------------------------------------------------------------------------FILE: /var/www/html/drupal9/modules/contrib/chargelogic_payment-3342258/src/Plugin/Commerce/PaymentMethodType/CheckingPayment.php
-----------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------------------------------------------------
48 | WARNING | t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
-----------------------------------------------------------------------------------------------------------------------------------------FILE: /var/www/html/drupal9/modules/contrib/chargelogic_payment-3342258/src/Plugin/Commerce/PaymentGateway/CheckingOnsite.php
-----------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 5 WARNINGS AFFECTING 5 LINES
-----------------------------------------------------------------------------------------------------------------------------
30 | WARNING | Possible useless method overriding detected
95 | WARNING | Unused variable $buyer_id.
97 | WARNING | Unused variable $encryption_service.
100 | WARNING | Unused variable $amount.
102 | WARNING | Unused variable $convert_to_try.
-----------------------------------------------------------------------------------------------------------------------------FILE: /var/www/html/drupal9/modules/contrib/chargelogic_payment-3342258/src/Plugin/Commerce/PaymentGateway/Onsite.php
-----------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 10 WARNINGS AFFECTING 10 LINES
-----------------------------------------------------------------------------------------------------------------------
38 | WARNING | Possible useless method overriding detected
58 | WARNING | Translatable strings must not begin or end with white spaces, use placeholders with t() for variables
65 | WARNING | Translatable strings must not begin or end with white spaces, use placeholders with t() for variables
71 | WARNING | Translatable strings must not begin or end with white spaces, use placeholders with t() for variables
72 | WARNING | Translatable strings must not begin or end with white spaces, use placeholders with t() for variables
114 | WARNING | Unused variable $buyer_id.
119 | WARNING | Unused variable $amount.
121 | WARNING | Unused variable $convert_to_try.
179 | WARNING | Translatable strings must not begin or end with white spaces, use placeholders with t() for variables
184 | WARNING | Translatable strings must not begin or end with white spaces, use placeholders with t() for variables
-----------------------------------------------------------------------------------------------------------------------FILE: /var/www/html/drupal9/modules/contrib/chargelogic_payment-3342258/src/ChargeLogicConnectClient.php
--------------------------------------------------------------------------------------------------------
FOUND 6 ERRORS AND 1 WARNING AFFECTING 7 LINES
--------------------------------------------------------------------------------------------------------
3 | ERROR | Namespaced classes, interfaces and traits should not begin with a file doc comment
6 | WARNING | Line exceeds 80 characters; contains 106 characters
36 | ERROR | Description for the @return value must be on the next line
45 | ERROR | Description for the @return value must be on the next line
54 | ERROR | Description for the @return value must be on the next line
63 | ERROR | Description for the @return value must be on the next line
72 | ERROR | Description for the @return value must be on the next line
--------------------------------------------------------------------------------------------------------FILE: /var/www/html/drupal9/modules/contrib/chargelogic_payment-3342258/src/Servers.php
---------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AND 1 WARNING AFFECTING 3 LINES
---------------------------------------------------------------------------------------------------
3 | ERROR | Namespaced classes, interfaces and traits should not begin with a file doc comment
6 | WARNING | Line exceeds 80 characters; contains 106 characters
15 | ERROR | Missing short description in doc comment
---------------------------------------------------------------------------------------------------FILE: /var/www/html/drupal9/modules/contrib/chargelogic_payment-3342258/src/APIException.php
-----------------------------------------------------------------------------------------------------
FOUND 9 ERRORS AND 1 WARNING AFFECTING 10 LINES
-----------------------------------------------------------------------------------------------------
3 | ERROR | Namespaced classes, interfaces and traits should not begin with a file doc comment
6 | WARNING | Line exceeds 80 characters; contains 106 characters
29 | ERROR | Parameter $context is not described in comment
33 | ERROR | Parameter comment must start with a capital letter
34 | ERROR | Doc comment for parameter $responseCode does not match actual variable name $context
36 | ERROR | Doc comment for parameter $responseBody does not match actual variable name $context
58 | ERROR | Description for the @return value is missing
67 | ERROR | Description for the @return value is missing
76 | ERROR | Description for the @return value is missing
85 | ERROR | Description for the @return value is missing
-----------------------------------------------------------------------------------------------------FILE: /var/www/html/drupal9/modules/contrib/chargelogic_payment-3342258/src/Form/PaymentConfigurationForm.php
----------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AND 1 WARNING AFFECTING 3 LINES
----------------------------------------------------------------------------------------------------------------------------------------
10 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
86 | ERROR | The array declaration extends to column 203 (the limit is 80). The array content should be split up over multiple lines
99 | ERROR | The array declaration extends to column 204 (the limit is 80). The array content should be split up over multiple lines
----------------------------------------------------------------------------------------------------------------------------------------FILE: /var/www/html/drupal9/modules/contrib/chargelogic_payment-3342258/src/PluginForm/ChargeLogicPaymentRefundForm.php
-----------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 4 WARNINGS AFFECTING 4 LINES
-----------------------------------------------------------------------------------------------------------------------------------------
10 | WARNING | Line exceeds 80 characters; contains 82 characters
21 | WARNING | t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
24 | WARNING | t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
43 | WARNING | t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
-----------------------------------------------------------------------------------------------------------------------------------------FILE: /var/www/html/drupal9/modules/contrib/chargelogic_payment-3342258/src/PluginForm/PaymentMethodAddForm.php
---------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
---------------------------------------------------------------------------------------------------------------------------------------
28 | ERROR | Missing member variable doc comment
159 | ERROR | The array declaration extends to column 203 (the limit is 80). The array content should be split up over multiple lines
---------------------------------------------------------------------------------------------------------------------------------------FILE: /var/www/html/drupal9/modules/contrib/chargelogic_payment-3342258/src/PluginForm/CheckingMethodAddForm.php
----------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 6 WARNINGS AFFECTING 6 LINES
----------------------------------------------------------------------------------------------------------------
13 | WARNING | Line exceeds 80 characters; contains 82 characters
151 | WARNING | #options values usually have to run through t() for translation
152 | WARNING | #options values usually have to run through t() for translation
153 | WARNING | #options values usually have to run through t() for translation
154 | WARNING | #options values usually have to run through t() for translation
183 | WARNING | Unused variable $values.
----------------------------------------------------------------------------------------------------------------FILE: /var/www/html/drupal9/modules/contrib/chargelogic_payment-3342258/src/Environments.php
---------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AND 1 WARNING AFFECTING 3 LINES
---------------------------------------------------------------------------------------------------
3 | ERROR | Namespaced classes, interfaces and traits should not begin with a file doc comment
6 | WARNING | Line exceeds 80 characters; contains 106 characters
15 | ERROR | Missing short description in doc comment
---------------------------------------------------------------------------------------------------FILE: /var/www/html/drupal9/modules/contrib/chargelogic_payment-3342258/src/Http/HttpCallBack.php
--------------------------------------------------------------------------------------------------------
FOUND 5 ERRORS AND 1 WARNING AFFECTING 6 LINES
--------------------------------------------------------------------------------------------------------
3 | ERROR | Namespaced classes, interfaces and traits should not begin with a file doc comment
6 | WARNING | Line exceeds 80 characters; contains 106 characters
55 | ERROR | Description for the @return value must be on the next line
74 | ERROR | Description for the @return value must be on the next line
92 | ERROR | Parameter $httpContext is not described in comment
95 | ERROR | Doc comment for parameter $httpRequest does not match actual variable name $httpContext
--------------------------------------------------------------------------------------------------------FILE: /var/www/html/drupal9/modules/contrib/chargelogic_payment-3342258/src/Http/HttpContext.php
---------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AND 1 WARNING AFFECTING 4 LINES
---------------------------------------------------------------------------------------------------
3 | ERROR | Namespaced classes, interfaces and traits should not begin with a file doc comment
6 | WARNING | Line exceeds 80 characters; contains 106 characters
45 | ERROR | Description for the @return value must be on the next line
54 | ERROR | Description for the @return value must be on the next line
---------------------------------------------------------------------------------------------------FILE: /var/www/html/drupal9/modules/contrib/chargelogic_payment-3342258/src/Http/HttpRequest.php
----------------------------------------------------------------------------------------------------
FOUND 6 ERRORS AND 1 WARNING AFFECTING 7 LINES
----------------------------------------------------------------------------------------------------
3 | ERROR | Namespaced classes, interfaces and traits should not begin with a file doc comment
6 | WARNING | Line exceeds 80 characters; contains 106 characters
65 | ERROR | Description for the @return value is missing
84 | ERROR | Description for the @return value must be on the next line
103 | ERROR | Description for the @return value must be on the next line
122 | ERROR | Description for the @return value must be on the next line
134 | ERROR | Type hint "array" missing for $parameters
----------------------------------------------------------------------------------------------------FILE: /var/www/html/drupal9/modules/contrib/chargelogic_payment-3342258/src/Http/HttpResponse.php
---------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AND 1 WARNING AFFECTING 5 LINES
---------------------------------------------------------------------------------------------------
3 | ERROR | Namespaced classes, interfaces and traits should not begin with a file doc comment
6 | WARNING | Line exceeds 80 characters; contains 106 characters
55 | ERROR | Description for the @return value must be on the next line
64 | ERROR | Description for the @return value must be on the next line
73 | ERROR | Description for the @return value must be on the next line
---------------------------------------------------------------------------------------------------FILE: /var/www/html/drupal9/modules/contrib/chargelogic_payment-3342258/src/Http/HttpMethod.php
--------------------------------------------------------------------------------------------------
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
--------------------------------------------------------------------------------------------------
3 | ERROR | Namespaced classes, interfaces and traits should not begin with a file doc comment
6 | WARNING | Line exceeds 80 characters; contains 106 characters
--------------------------------------------------------------------------------------------------FILE: /var/www/html/drupal9/modules/contrib/chargelogic_payment-3342258/chargelogic_payment.routing.yml
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
23 | WARNING | The administration page callback should probably use "administer site configuration" - which implies the user can change something - rather than "access administration pages" which is about viewing but not changing
| | configurations.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------FILE: /var/www/html/drupal9/modules/contrib/chargelogic_payment-3342258/chargelogic_payment.info.yml
----------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------
1 | WARNING | "core_version_requirement" property is missing in the info.yml file
----------------------------------------------------------------------------------------------------FILE: /var/www/html/drupal9/modules/contrib/chargelogic_payment-3342258/chargelogic_payment.module
--------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------------------------
73 | ERROR | Doc comment is empty
--------------------------------------------------------------------------------------------------Time: 638ms; Memory: 14MB
- 🇮🇹Italy apaderno Brescia, 🇮🇹
Issue summary should always describe what the issue is trying to fix and, in the case, of coding standards issues, report which command has been used, which arguments have been used, and which report that command shown.
- Issue was unassigned.
- Status changed to Needs review
over 1 year ago 10:30am 21 April 2023 - 🇮🇳India sidharth_soman Bangalore
@Aditi Saraf - Your patch applied cleanly. All of the remaining errors are to do with filling up or editiing documentation and doc comments... which I think should ideally be resolved by the maintainers themselves. Hence, moving to needs review.
- Status changed to Needs work
over 1 year ago 3:38pm 21 April 2023 - 🇮🇹Italy apaderno Brescia, 🇮🇹
The issue summary should always describe what the issue is trying to fix and, in the case, of coding standards issues, show which command has been used, which arguments have been used, and which report that command shown.
(The issue summary is the part wrote in the Issue summary field, which is not empty. Comments posted in the issue are not issue summary.)
- Status changed to Needs review
over 1 year ago 11:09am 29 June 2023 - 🇮🇳India sidharth_soman Bangalore
Added a commit with the updates on phpissue-3342258-1.patch
- Status changed to Needs work
4 months ago 6:04am 20 August 2024 - 🇵🇭Philippines cleavinjosh
Hi @sidharth_soman,
I applied MR!1, it was not applied smoothly and fixed most of the phpcs issues.
These are the remaining issues after I ran
phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml
:➜ chargelogic_payment git:(8.x-1.5) curl https://git.drupalcode.org/project/chargelogic_payment/-/merge_requests/1.diff | patch -p1 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 389k 0 389k 0 0 739k 0 --:--:-- --:--:-- --:--:-- 739k patching file chargelogic_payment.info.yml Hunk #1 succeeded at 4 with fuzz 2 (offset 1 line). patching file chargelogic_payment.module patching file chargelogic_payment.routing.yml Reversed (or previously applied) patch detected! Assume -R? [n] n Apply anyway? [n] n Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file chargelogic_payment.routing.yml.rej patching file src/APIException.php patching file src/APIHelper.php patching file src/ChargeLogicConnectClient.php patching file src/Configuration.php patching file src/Controller/BaseControllerCustom.php patching file src/Controller/CheckPaymentController.php patching file src/Controller/CheckTransactionsController.php patching file src/Controller/CreditCardPaymentController.php patching file src/Controller/CreditCardTransactionsController.php patching file src/Controller/GiftCardTransactionsController.php patching file src/Controller/HostedOrdersController.php patching file src/Controller/ReportingController.php patching file src/Environments.php patching file src/Form/PaymentConfigurationForm.php patching file src/Http/HttpCallBack.php patching file src/Http/HttpContext.php patching file src/Http/HttpMethod.php patching file src/Http/HttpRequest.php patching file src/Http/HttpResponse.php patching file src/Models/Address.php patching file src/Models/Card.php patching file src/Models/CheckReferenceModel.php patching file src/Models/CheckTransactionModel.php patching file src/Models/Comment.php patching file src/Models/Credential.php patching file src/Models/CreditCardTransactionModel.php patching file src/Models/CreditCardVerifyTransactionModel.php patching file src/Models/DemandDepositAccount.php patching file src/Models/EFTOrders.php patching file src/Models/ExtraData.php patching file src/Models/FinalizeOrderModel.php patching file src/Models/GiftCardBalanceModel.php patching file src/Models/GiftCardTransactionModel.php patching file src/Models/HostedPayment.php patching file src/Models/Identification.php patching file src/Models/LineItem.php patching file src/Models/Order.php patching file src/Models/QueryOrderModel.php patching file src/Models/QueryOrdersResultModel.php patching file src/Models/ReferenceTransaction.php patching file src/Models/ReferenceTransactionModel.php patching file src/Models/ResponseModel.php patching file src/Models/SetupHostedCheckTransactionModel.php patching file src/Models/SetupHostedCreditCardTransactionModel.php patching file src/Models/SetupHostedPaymentResultModel.php patching file src/Models/Shipment.php patching file src/Models/Transaction.php patching file src/Models/TransactionResultModel.php patching file src/Plugin/Commerce/PaymentGateway/CheckingOnsite.php patching file src/Plugin/Commerce/PaymentGateway/Onsite.php Hunk #4 FAILED at 111. 1 out of 6 hunks FAILED -- saving rejects to file src/Plugin/Commerce/PaymentGateway/Onsite.php.rej patching file src/Plugin/Commerce/PaymentMethodType/ChargelogicCreditCard.php patching file src/Plugin/Commerce/PaymentMethodType/CheckingPayment.php patching file src/PluginForm/ChargeLogicPaymentRefundForm.php patching file src/PluginForm/CheckingMethodAddForm.php patching file src/PluginForm/PaymentMethodAddForm.php Hunk #6 FAILED at 236. 1 out of 8 hunks FAILED -- saving rejects to file src/PluginForm/PaymentMethodAddForm.php.rej patching file src/Servers.php ➜ chargelogic_payment git:(8.x-1.5) ✗ .. ➜ contrib phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml chargelogic_payment FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/chargelogic_payment/chargelogic_payment.module ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 76 | ERROR | All functions defined in a module file must be prefixed with the module's name, found "financial_institution_values_function" but expected | | "chargelogic_payment_financial_institution_values_function" ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/chargelogic_payment/src/PluginForm/CheckingMethodAddForm.php -------------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE -------------------------------------------------------------------------------------------------------------------------------------------- 6 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\commerce_payment\Exception\DeclineException. -------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------------------------------------------------------------------------- FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/chargelogic_payment/src/PluginForm/PaymentMethodAddForm.php ---------------------------------------------------------------------------------------------------------------------------------------------- FOUND 5 ERRORS AFFECTING 5 LINES ---------------------------------------------------------------------------------------------------------------------------------------------- 7 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\commerce_payment\Exception\DeclineException. 239 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6 240 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6 241 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6 242 | ERROR | [x] Functions must not contain multiple empty lines in a row; found 2 empty lines ---------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------------------------------------------------------------------- FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/chargelogic_payment/src/ChargeLogicConnectClient.php -------------------------------------------------------------------------------------------------------------------------------------- FOUND 5 ERRORS AFFECTING 4 LINES -------------------------------------------------------------------------------------------------------------------------------------- 7 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Controller\CreditCardTransactionsController. 20 | ERROR | [x] Multi-line function declaration not indented correctly; expected 4 spaces but found 8 21 | ERROR | [x] Multi-line function declaration not indented correctly; expected 4 spaces but found 8 21 | ERROR | [x] Multi-line function declarations must have a trailing comma after the last parameter 22 | ERROR | [x] Multi-line function declaration not indented correctly; expected 2 spaces but found 4 -------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------------------------------------------------------------------- FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/chargelogic_payment/src/Plugin/Commerce/PaymentGateway/CheckingOnsite.php ---------------------------------------------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ---------------------------------------------------------------------------------------------------------------------------------------------- 30 | WARNING | Possible useless method overriding detected ---------------------------------------------------------------------------------------------------------------------------------------------- FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/chargelogic_payment/src/Plugin/Commerce/PaymentGateway/Onsite.php --------------------------------------------------------------------------------------------------------------------------------------------- FOUND 15 ERRORS AND 7 WARNINGS AFFECTING 19 LINES --------------------------------------------------------------------------------------------------------------------------------------------- 8 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\commerce_payment\Entity\PaymentInterface. 38 | WARNING | [ ] Possible useless method overriding detected 114 | WARNING | [ ] Unused variable $buyer_id. 115 | ERROR | [x] Whitespace found at end of line 117 | WARNING | [x] There must be no blank line following an inline comment 117 | WARNING | [ ] There must be no blank line following an inline comment 118 | ERROR | [x] Whitespace found at end of line 120 | WARNING | [ ] Unused variable $amount. 120 | ERROR | [x] Expected 1 space after "="; 2 found 122 | WARNING | [ ] Unused variable $convert_to_try. 124 | ERROR | [x] Short array syntax must be used to define arrays 126 | ERROR | [x] Expected 1 space after "=>"; 2 found 132 | ERROR | [x] Short array syntax must be used to define arrays 133 | ERROR | [x] Array indentation error, expected 6 spaces but found 8 133 | ERROR | [x] Expected 1 space after "=>"; 2 found 134 | ERROR | [x] Array indentation error, expected 6 spaces but found 8 135 | ERROR | [x] Array indentation error, expected 6 spaces but found 8 136 | ERROR | [x] Array indentation error, expected 6 spaces but found 8 139 | ERROR | [x] Short array syntax must be used to define arrays 143 | ERROR | [x] Expected 1 space after "=>"; 2 found 148 | WARNING | [x] A comma should follow the last multiline array item. Found: ) 151 | ERROR | [x] Expected 1 space after "="; 2 found --------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 17 MARKED SNIFF VIOLATIONS AUTOMATICALLY --------------------------------------------------------------------------------------------------------------------------------------------- FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/chargelogic_payment/src/Plugin/Commerce/PaymentMethodType/ChargelogicCreditCard.php -------------------------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE -------------------------------------------------------------------------------------------------------------------------------------------------------- 6 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\commerce_payment\CreditCard. -------------------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------------------------------------------------------------------------------------- FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/chargelogic_payment/src/Plugin/Commerce/PaymentMethodType/CheckingPayment.php -------------------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE -------------------------------------------------------------------------------------------------------------------------------------------------- 6 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\commerce_payment\Entity\PaymentMethodInterface. -------------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------------------------------------------------------------------------------- FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/chargelogic_payment/src/Models/GiftCardBalanceModel.php ---------------------------------------------------------------------------------------------------------------------------- FOUND 6 ERRORS AND 1 WARNING AFFECTING 7 LINES ---------------------------------------------------------------------------------------------------------------------------- 3 | ERROR | Namespaced classes, interfaces and traits should not begin with a file doc comment 6 | WARNING | Line exceeds 80 characters; contains 106 characters 11 | ERROR | Missing short description in doc comment 19 | ERROR | The @var tag must be the first tag in a member variable comment 27 | ERROR | The @var tag must be the first tag in a member variable comment 34 | ERROR | Doc comment for parameter $credential does not match actual variable name <undefined> 36 | ERROR | Superfluous parameter comment ---------------------------------------------------------------------------------------------------------------------------- FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/chargelogic_payment/src/Models/Card.php -------------------------------------------------------------------------------------------------------------------- FOUND 7 ERRORS AND 8 WARNINGS AFFECTING 14 LINES -------------------------------------------------------------------------------------------------------------------- 20 | WARNING | Line exceeds 80 characters; contains 103 characters 21 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph 29 | WARNING | Line exceeds 80 characters; contains 103 characters 30 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph 38 | WARNING | Line exceeds 80 characters; contains 102 characters 39 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph 47 | WARNING | Line exceeds 80 characters; contains 105 characters 48 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph 56 | WARNING | Line exceeds 80 characters; contains 103 characters 57 | WARNING | Line exceeds 80 characters; contains 102 characters 57 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph 65 | WARNING | Line exceeds 80 characters; contains 104 characters 66 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph 74 | WARNING | Line exceeds 80 characters; contains 97 characters 82 | ERROR | Doc comment short description must end with a full stop -------------------------------------------------------------------------------------------------------------------- FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/chargelogic_payment/src/Models/Shipment.php ---------------------------------------------------------------------------------------------------------------- FOUND 15 ERRORS AND 2 WARNINGS AFFECTING 17 LINES ---------------------------------------------------------------------------------------------------------------- 3 | ERROR | Namespaced classes, interfaces and traits should not begin with a file doc comment 6 | WARNING | Line exceeds 80 characters; contains 106 characters 12 | WARNING | Line exceeds 80 characters; contains 81 characters 20 | ERROR | The @var tag must be the first tag in a member variable comment 28 | ERROR | The @var tag must be the first tag in a member variable comment 36 | ERROR | The @var tag must be the first tag in a member variable comment 44 | ERROR | The @var tag must be the first tag in a member variable comment 52 | ERROR | The @var tag must be the first tag in a member variable comment 60 | ERROR | The @var tag must be the first tag in a member variable comment 68 | ERROR | The @var tag must be the first tag in a member variable comment 75 | ERROR | Doc comment for parameter $shipmentNumber does not match actual variable name <undefined> 77 | ERROR | Superfluous parameter comment 79 | ERROR | Superfluous parameter comment 81 | ERROR | Superfluous parameter comment 83 | ERROR | Superfluous parameter comment 85 | ERROR | Superfluous parameter comment 87 | ERROR | Superfluous parameter comment ---------------------------------------------------------------------------------------------------------------- FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/chargelogic_payment/src/Models/GiftCardTransactionModel.php -------------------------------------------------------------------------------------------------------------------------------- FOUND 8 ERRORS AND 1 WARNING AFFECTING 9 LINES -------------------------------------------------------------------------------------------------------------------------------- 3 | ERROR | Namespaced classes, interfaces and traits should not begin with a file doc comment 6 | WARNING | Line exceeds 80 characters; contains 106 characters 11 | ERROR | Missing short description in doc comment 19 | ERROR | The @var tag must be the first tag in a member variable comment 27 | ERROR | The @var tag must be the first tag in a member variable comment 35 | ERROR | The @var tag must be the first tag in a member variable comment 42 | ERROR | Doc comment for parameter $credential does not match actual variable name <undefined> 44 | ERROR | Superfluous parameter comment 46 | ERROR | Superfluous parameter comment -------------------------------------------------------------------------------------------------------------------------------- FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/chargelogic_payment/src/Models/Transaction.php --------------------------------------------------------------------------------------------------------------------- FOUND 22 ERRORS AND 6 WARNINGS AFFECTING 28 LINES --------------------------------------------------------------------------------------------------------------------- 3 | ERROR | Namespaced classes, interfaces and traits should not begin with a file doc comment 6 | WARNING | Line exceeds 80 characters; contains 106 characters 12 | WARNING | Line exceeds 80 characters; contains 99 characters 13 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph 17 | WARNING | Line exceeds 80 characters; contains 96 characters 18 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph 22 | ERROR | The @var tag must be the first tag in a member variable comment 27 | WARNING | Line exceeds 80 characters; contains 104 characters 28 | WARNING | Line exceeds 80 characters; contains 104 characters 29 | WARNING | Line exceeds 80 characters; contains 101 characters 30 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph 34 | ERROR | The @var tag must be the first tag in a member variable comment 43 | ERROR | The @var tag must be the first tag in a member variable comment 51 | ERROR | The @var tag must be the first tag in a member variable comment 59 | ERROR | The @var tag must be the first tag in a member variable comment 67 | ERROR | The @var tag must be the first tag in a member variable comment 75 | ERROR | The @var tag must be the first tag in a member variable comment 84 | ERROR | The @var tag must be the first tag in a member variable comment 92 | ERROR | The @var tag must be the first tag in a member variable comment 99 | ERROR | Doc comment for parameter $amount does not match actual variable name <undefined> 101 | ERROR | Superfluous parameter comment 103 | ERROR | Superfluous parameter comment 105 | ERROR | Superfluous parameter comment 107 | ERROR | Superfluous parameter comment 109 | ERROR | Superfluous parameter comment 111 | ERROR | Superfluous parameter comment 113 | ERROR | Superfluous parameter comment 115 | ERROR | Superfluous parameter comment --------------------------------------------------------------------------------------------------------------------- FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/chargelogic_payment/src/Models/CreditCardVerifyTransactionModel.php ---------------------------------------------------------------------------------------------------------------------------------------- FOUND 8 ERRORS AND 1 WARNING AFFECTING 9 LINES ---------------------------------------------------------------------------------------------------------------------------------------- 3 | ERROR | Namespaced classes, interfaces and traits should not begin with a file doc comment 6 | WARNING | Line exceeds 80 characters; contains 106 characters 11 | ERROR | Missing short description in doc comment 19 | ERROR | The @var tag must be the first tag in a member variable comment 27 | ERROR | The @var tag must be the first tag in a member variable comment 35 | ERROR | The @var tag must be the first tag in a member variable comment 42 | ERROR | Doc comment for parameter $credential does not match actual variable name <undefined> 44 | ERROR | Superfluous parameter comment 46 | ERROR | Superfluous parameter comment ---------------------------------------------------------------------------------------------------------------------------------------- FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/chargelogic_payment/src/Models/FinalizeOrderModel.php -------------------------------------------------------------------------------------------------------------------------- FOUND 6 ERRORS AND 1 WARNING AFFECTING 7 LINES -------------------------------------------------------------------------------------------------------------------------- 3 | ERROR | Namespaced classes, interfaces and traits should not begin with a file doc comment 6 | WARNING | Line exceeds 80 characters; contains 106 characters 11 | ERROR | Missing short description in doc comment 19 | ERROR | The @var tag must be the first tag in a member variable comment 27 | ERROR | The @var tag must be the first tag in a member variable comment 34 | ERROR | Doc comment for parameter $credential does not match actual variable name <undefined> 36 | ERROR | Superfluous parameter comment -------------------------------------------------------------------------------------------------------------------------- FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/chargelogic_payment/src/Models/Order.php ------------------------------------------------------------------------------------------------------------- FOUND 31 ERRORS AND 3 WARNINGS AFFECTING 34 LINES ------------------------------------------------------------------------------------------------------------- 6 | WARNING | Line exceeds 80 characters; contains 87 characters 253 | WARNING | Line exceeds 80 characters; contains 93 characters 277 | WARNING | Line exceeds 80 characters; contains 86 characters 287 | ERROR | Doc comment for parameter $iD does not match actual variable name <undefined> 289 | ERROR | Superfluous parameter comment 291 | ERROR | Superfluous parameter comment 293 | ERROR | Superfluous parameter comment 295 | ERROR | Superfluous parameter comment 297 | ERROR | Superfluous parameter comment 299 | ERROR | Superfluous parameter comment 301 | ERROR | Superfluous parameter comment 303 | ERROR | Superfluous parameter comment 305 | ERROR | Superfluous parameter comment 307 | ERROR | Superfluous parameter comment 309 | ERROR | Superfluous parameter comment 311 | ERROR | Superfluous parameter comment 313 | ERROR | Superfluous parameter comment 315 | ERROR | Superfluous parameter comment 317 | ERROR | Superfluous parameter comment 319 | ERROR | Superfluous parameter comment 321 | ERROR | Superfluous parameter comment 323 | ERROR | Superfluous parameter comment 325 | ERROR | Superfluous parameter comment 327 | ERROR | Superfluous parameter comment 329 | ERROR | Superfluous parameter comment 331 | ERROR | Superfluous parameter comment 333 | ERROR | Superfluous parameter comment 335 | ERROR | Superfluous parameter comment 337 | ERROR | Superfluous parameter comment 339 | ERROR | Superfluous parameter comment 341 | ERROR | Superfluous parameter comment 343 | ERROR | Superfluous parameter comment 345 | ERROR | Superfluous parameter comment 347 | ERROR | Superfluous parameter comment ------------------------------------------------------------------------------------------------------------- FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/chargelogic_payment/src/Models/QueryOrdersResultModel.php ------------------------------------------------------------------------------------------------------------------------------ FOUND 3 ERRORS AND 1 WARNING AFFECTING 4 LINES ------------------------------------------------------------------------------------------------------------------------------ 3 | ERROR | Namespaced classes, interfaces and traits should not begin with a file doc comment 6 | WARNING | Line exceeds 80 characters; contains 106 characters 11 | ERROR | Missing short description in doc comment 25 | ERROR | Doc comment for parameter $orders does not match actual variable name <undefined> ------------------------------------------------------------------------------------------------------------------------------ FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/chargelogic_payment/src/Models/HostedPayment.php --------------------------------------------------------------------------------------------------------------------- FOUND 63 ERRORS AND 40 WARNINGS AFFECTING 99 LINES --------------------------------------------------------------------------------------------------------------------- 6 | WARNING | Line exceeds 80 characters; contains 98 characters 7 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph 11 | WARNING | Line exceeds 80 characters; contains 98 characters 12 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph 21 | WARNING | Line exceeds 80 characters; contains 104 characters 25 | WARNING | Line exceeds 80 characters; contains 104 characters 26 | WARNING | Line exceeds 80 characters; contains 104 characters 27 | WARNING | Line exceeds 80 characters; contains 101 characters 28 | WARNING | Line exceeds 80 characters; contains 101 characters 29 | WARNING | Line exceeds 80 characters; contains 104 characters 30 | WARNING | Line exceeds 80 characters; contains 100 characters 31 | WARNING | Line exceeds 80 characters; contains 103 characters 32 | WARNING | Line exceeds 80 characters; contains 100 characters 32 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph 41 | WARNING | Line exceeds 80 characters; contains 103 characters 42 | ERROR | Doc comment short description must end with a full stop 42 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph 46 | ERROR | The @var tag must be the first tag in a member variable comment 51 | WARNING | Line exceeds 80 characters; contains 104 characters 55 | WARNING | Line exceeds 80 characters; contains 104 characters 56 | WARNING | Line exceeds 80 characters; contains 104 characters 57 | WARNING | Line exceeds 80 characters; contains 101 characters 58 | WARNING | Line exceeds 80 characters; contains 101 characters 59 | WARNING | Line exceeds 80 characters; contains 104 characters 60 | WARNING | Line exceeds 80 characters; contains 100 characters 61 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph 64 | ERROR | The @var tag must be the first tag in a member variable comment 72 | ERROR | The @var tag must be the first tag in a member variable comment 77 | WARNING | Line exceeds 80 characters; contains 104 characters 78 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph 81 | ERROR | The @var tag must be the first tag in a member variable comment 86 | WARNING | Line exceeds 80 characters; contains 103 characters 87 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph 90 | ERROR | The @var tag must be the first tag in a member variable comment 95 | WARNING | Line exceeds 80 characters; contains 104 characters 96 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph 99 | ERROR | The @var tag must be the first tag in a member variable comment 104 | WARNING | Line exceeds 80 characters; contains 105 characters 107 | ERROR | The @var tag must be the first tag in a member variable comment 112 | WARNING | Line exceeds 80 characters; contains 100 characters 113 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph 116 | ERROR | The @var tag must be the first tag in a member variable comment 121 | WARNING | Line exceeds 80 characters; contains 96 characters 124 | ERROR | The @var tag must be the first tag in a member variable comment 129 | WARNING | Line exceeds 80 characters; contains 87 characters 132 | ERROR | The @var tag must be the first tag in a member variable comment 137 | WARNING | Line exceeds 80 characters; contains 96 characters 140 | ERROR | The @var tag must be the first tag in a member variable comment 145 | WARNING | Line exceeds 80 characters; contains 97 characters 148 | ERROR | The @var tag must be the first tag in a member variable comment 153 | WARNING | Line exceeds 80 characters; contains 92 characters 156 | ERROR | The @var tag must be the first tag in a member variable comment 161 | WARNING | Line exceeds 80 characters; contains 98 characters 164 | ERROR | The @var tag must be the first tag in a member variable comment 169 | WARNING | Line exceeds 80 characters; contains 100 characters 170 | ERROR | Doc comment short description must end with a full stop 170 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph 173 | ERROR | The @var tag must be the first tag in a member variable comment 178 | WARNING | Line exceeds 80 characters; contains 97 characters 179 | WARNING | Line exceeds 80 characters; contains 102 characters 180 | WARNING | Line exceeds 80 characters; contains 96 characters 180 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph 183 | ERROR | The @var tag must be the first tag in a member variable comment 188 | WARNING | Line exceeds 80 characters; contains 97 characters 189 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph 192 | ERROR | The @var tag must be the first tag in a member variable comment 197 | WARNING | Line exceeds 80 characters; contains 92 characters 200 | ERROR | The @var tag must be the first tag in a member variable comment 205 | WARNING | Line exceeds 80 characters; contains 104 characters 206 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph 209 | ERROR | The @var tag must be the first tag in a member variable comment 214 | WARNING | Line exceeds 80 characters; contains 95 characters 217 | ERROR | The @var tag must be the first tag in a member variable comment 222 | WARNING | Line exceeds 80 characters; contains 98 characters 225 | ERROR | The @var tag must be the first tag in a member variable comment 230 | WARNING | Line exceeds 80 characters; contains 104 characters 233 | ERROR | The @var tag must be the first tag in a member variable comment 241 | ERROR | The @var tag must be the first tag in a member variable comment 248 | ERROR | Doc comment for parameter $requireCVV does not match actual variable name <undefined> 250 | ERROR | Superfluous parameter comment 252 | ERROR | Superfluous parameter comment 254 | ERROR | Superfluous parameter comment 256 | ERROR | Superfluous parameter comment 258 | ERROR | Superfluous parameter comment 260 | ERROR | Superfluous parameter comment 262 | ERROR | Superfluous parameter comment 264 | ERROR | Superfluous parameter comment 266 | ERROR | Superfluous parameter comment 268 | ERROR | Superfluous parameter comment 270 | ERROR | Superfluous parameter comment 272 | ERROR | Superfluous parameter comment 274 | ERROR | Superfluous parameter comment 276 | ERROR | Superfluous parameter comment 278 | ERROR | Superfluous parameter comment 280 | ERROR | Superfluous parameter comment 282 | ERROR | Superfluous parameter comment 284 | ERROR | Superfluous parameter comment 286 | ERROR | Superfluous parameter comment 288 | ERROR | Superfluous parameter comment 290 | ERROR | Superfluous parameter comment 292 | ERROR | Superfluous parameter comment 294 | ERROR | Superfluous parameter comment 296 | ERROR | Superfluous parameter comment --------------------------------------------------------------------------------------------------------------------- FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/chargelogic_payment/src/Models/CreditCardTransactionModel.php ---------------------------------------------------------------------------------------------------------------------------------- FOUND 10 ERRORS AND 1 WARNING AFFECTING 11 LINES ---------------------------------------------------------------------------------------------------------------------------------- 3 | ERROR | Namespaced classes, interfaces and traits should not begin with a file doc comment 6 | WARNING | Line exceeds 80 characters; contains 106 characters 11 | ERROR | Missing short description in doc comment 19 | ERROR | The @var tag must be the first tag in a member variable comment 27 | ERROR | The @var tag must be the first tag in a member variable comment 35 | ERROR | The @var tag must be the first tag in a member variable comment 43 | ERROR | The @var tag must be the first tag in a member variable comment 50 | ERROR | Doc comment for parameter $credential does not match actual variable name <undefined> 52 | ERROR | Superfluous parameter comment 54 | ERROR | Superfluous parameter comment 56 | ERROR | Superfluous parameter comment ---------------------------------------------------------------------------------------------------------------------------------- FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/chargelogic_payment/src/Models/Address.php --------------------------------------------------------------------------------------------------------------- FOUND 19 ERRORS AND 2 WARNINGS AFFECTING 21 LINES --------------------------------------------------------------------------------------------------------------- 3 | ERROR | Namespaced classes, interfaces and traits should not begin with a file doc comment 6 | WARNING | Line exceeds 80 characters; contains 106 characters 12 | WARNING | Line exceeds 80 characters; contains 88 characters 19 | ERROR | The @var tag must be the first tag in a member variable comment 27 | ERROR | The @var tag must be the first tag in a member variable comment 35 | ERROR | The @var tag must be the first tag in a member variable comment 43 | ERROR | The @var tag must be the first tag in a member variable comment 51 | ERROR | The @var tag must be the first tag in a member variable comment 59 | ERROR | The @var tag must be the first tag in a member variable comment 67 | ERROR | The @var tag must be the first tag in a member variable comment 75 | ERROR | The @var tag must be the first tag in a member variable comment 83 | ERROR | The @var tag must be the first tag in a member variable comment 90 | ERROR | Doc comment for parameter $name does not match actual variable name <undefined> 92 | ERROR | Superfluous parameter comment 94 | ERROR | Superfluous parameter comment 96 | ERROR | Superfluous parameter comment 98 | ERROR | Superfluous parameter comment 100 | ERROR | Superfluous parameter comment 102 | ERROR | Superfluous parameter comment 104 | ERROR | Superfluous parameter comment 106 | ERROR | Superfluous parameter comment --------------------------------------------------------------------------------------------------------------- FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/chargelogic_payment/src/Models/TransactionResultModel.php ------------------------------------------------------------------------------------------------------------------------------ FOUND 30 ERRORS AND 1 WARNING AFFECTING 31 LINES ------------------------------------------------------------------------------------------------------------------------------ 3 | ERROR | Namespaced classes, interfaces and traits should not begin with a file doc comment 6 | WARNING | Line exceeds 80 characters; contains 106 characters 11 | ERROR | Missing short description in doc comment 19 | ERROR | The @var tag must be the first tag in a member variable comment 27 | ERROR | The @var tag must be the first tag in a member variable comment 35 | ERROR | The @var tag must be the first tag in a member variable comment 43 | ERROR | The @var tag must be the first tag in a member variable comment 51 | ERROR | The @var tag must be the first tag in a member variable comment 59 | ERROR | The @var tag must be the first tag in a member variable comment 67 | ERROR | The @var tag must be the first tag in a member variable comment 75 | ERROR | The @var tag must be the first tag in a member variable comment 83 | ERROR | The @var tag must be the first tag in a member variable comment 91 | ERROR | The @var tag must be the first tag in a member variable comment 99 | ERROR | The @var tag must be the first tag in a member variable comment 107 | ERROR | The @var tag must be the first tag in a member variable comment 115 | ERROR | The @var tag must be the first tag in a member variable comment 123 | ERROR | The @var tag must be the first tag in a member variable comment 130 | ERROR | Doc comment for parameter $creditCardAuthorizeResult does not match actual variable name <undefined> 133 | ERROR | Superfluous parameter comment 136 | ERROR | Superfluous parameter comment 139 | ERROR | Superfluous parameter comment 142 | ERROR | Superfluous parameter comment 145 | ERROR | Superfluous parameter comment 148 | ERROR | Superfluous parameter comment 151 | ERROR | Superfluous parameter comment 154 | ERROR | Superfluous parameter comment 157 | ERROR | Superfluous parameter comment 160 | ERROR | Superfluous parameter comment 163 | ERROR | Superfluous parameter comment 166 | ERROR | Superfluous parameter comment 170 | ERROR | Superfluous parameter comment ------------------------------------------------------------------------------------------------------------------------------ FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/chargelogic_payment/src/Models/CheckTransactionModel.php ----------------------------------------------------------------------------------------------------------------------------- FOUND 12 ERRORS AND 1 WARNING AFFECTING 13 LINES ----------------------------------------------------------------------------------------------------------------------------- 3 | ERROR | Namespaced classes, interfaces and traits should not begin with a file doc comment 6 | WARNING | Line exceeds 80 characters; contains 106 characters 11 | ERROR | Missing short description in doc comment 19 | ERROR | The @var tag must be the first tag in a member variable comment 27 | ERROR | The @var tag must be the first tag in a member variable comment 35 | ERROR | The @var tag must be the first tag in a member variable comment 43 | ERROR | The @var tag must be the first tag in a member variable comment 51 | ERROR | The @var tag must be the first tag in a member variable comment 58 | ERROR | Doc comment for parameter $credential does not match actual variable name <undefined> 60 | ERROR | Superfluous parameter comment 62 | ERROR | Superfluous parameter comment 64 | ERROR | Superfluous parameter comment 66 | ERROR | Superfluous parameter comment ----------------------------------------------------------------------------------------------------------------------------- FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/chargelogic_payment/src/Models/ResponseModel.php --------------------------------------------------------------------------------------------------------------------- FOUND 40 ERRORS AND 14 WARNINGS AFFECTING 53 LINES --------------------------------------------------------------------------------------------------------------------- 3 | ERROR | Namespaced classes, interfaces and traits should not begin with a file doc comment 6 | WARNING | Line exceeds 80 characters; contains 106 characters 12 | WARNING | Line exceeds 80 characters; contains 100 characters 13 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph 20 | ERROR | The @var tag must be the first tag in a member variable comment 25 | WARNING | Line exceeds 80 characters; contains 104 characters 28 | ERROR | The @var tag must be the first tag in a member variable comment 33 | WARNING | Line exceeds 80 characters; contains 100 characters 36 | ERROR | The @var tag must be the first tag in a member variable comment 44 | ERROR | The @var tag must be the first tag in a member variable comment 49 | WARNING | Line exceeds 80 characters; contains 95 characters 50 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph 53 | ERROR | The @var tag must be the first tag in a member variable comment 61 | ERROR | The @var tag must be the first tag in a member variable comment 69 | ERROR | The @var tag must be the first tag in a member variable comment 77 | ERROR | The @var tag must be the first tag in a member variable comment 82 | WARNING | Line exceeds 80 characters; contains 102 characters 83 | WARNING | Line exceeds 80 characters; contains 105 characters 84 | WARNING | Line exceeds 80 characters; contains 105 characters 85 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph 88 | ERROR | The @var tag must be the first tag in a member variable comment 93 | WARNING | Line exceeds 80 characters; contains 102 characters 94 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph 97 | ERROR | The @var tag must be the first tag in a member variable comment 102 | WARNING | Line exceeds 80 characters; contains 102 characters 105 | ERROR | The @var tag must be the first tag in a member variable comment 110 | WARNING | Line exceeds 80 characters; contains 84 characters 113 | ERROR | The @var tag must be the first tag in a member variable comment 118 | WARNING | Line exceeds 80 characters; contains 105 characters 119 | ERROR | Doc comment short description must end with a full stop 119 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph 122 | ERROR | The @var tag must be the first tag in a member variable comment 130 | ERROR | The @var tag must be the first tag in a member variable comment 135 | WARNING | Line exceeds 80 characters; contains 95 characters 136 | WARNING | Line exceeds 80 characters; contains 105 characters 137 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph 140 | ERROR | The @var tag must be the first tag in a member variable comment 148 | ERROR | The @var tag must be the first tag in a member variable comment 155 | ERROR | Doc comment for parameter $responseCode does not match actual variable name <undefined> 157 | ERROR | Superfluous parameter comment 159 | ERROR | Superfluous parameter comment 161 | ERROR | Superfluous parameter comment 163 | ERROR | Superfluous parameter comment 165 | ERROR | Superfluous parameter comment 167 | ERROR | Superfluous parameter comment 169 | ERROR | Superfluous parameter comment 171 | ERROR | Superfluous parameter comment 173 | ERROR | Superfluous parameter comment 175 | ERROR | Superfluous parameter comment 177 | ERROR | Superfluous parameter comment 179 | ERROR | Superfluous parameter comment 181 | ERROR | Superfluous parameter comment 183 | ERROR | Superfluous parameter comment 185 | ERROR | Superfluous parameter comment --------------------------------------------------------------------------------------------------------------------- FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/chargelogic_payment/src/Models/DemandDepositAccount.php ---------------------------------------------------------------------------------------------------------------------------- FOUND 18 ERRORS AND 5 WARNINGS AFFECTING 21 LINES ---------------------------------------------------------------------------------------------------------------------------- 3 | ERROR | Namespaced classes, interfaces and traits should not begin with a file doc comment 6 | WARNING | Line exceeds 80 characters; contains 106 characters 12 | WARNING | Line exceeds 80 characters; contains 96 characters 13 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph 17 | WARNING | Line exceeds 80 characters; contains 104 characters 18 | ERROR | Doc comment short description must end with a full stop 18 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph 22 | ERROR | The @var tag must be the first tag in a member variable comment 31 | ERROR | The @var tag must be the first tag in a member variable comment 36 | ERROR | Doc comment short description must end with a full stop 40 | ERROR | The @var tag must be the first tag in a member variable comment 45 | WARNING | Line exceeds 80 characters; contains 82 characters 45 | ERROR | Doc comment short description must end with a full stop 49 | ERROR | The @var tag must be the first tag in a member variable comment 54 | WARNING | Line exceeds 80 characters; contains 98 characters 57 | ERROR | The @var tag must be the first tag in a member variable comment 65 | ERROR | The @var tag must be the first tag in a member variable comment 72 | ERROR | Doc comment for parameter $routingNumber does not match actual variable name <undefined> 74 | ERROR | Superfluous parameter comment 76 | ERROR | Superfluous parameter comment 78 | ERROR | Superfluous parameter comment 80 | ERROR | Superfluous parameter comment 82 | ERROR | Superfluous parameter comment ---------------------------------------------------------------------------------------------------------------------------- FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/chargelogic_payment/src/Models/Credential.php -------------------------------------------------------------------------------------------------------------------- FOUND 13 ERRORS AND 6 WARNINGS AFFECTING 17 LINES -------------------------------------------------------------------------------------------------------------------- 3 | ERROR | Namespaced classes, interfaces and traits should not begin with a file doc comment 6 | WARNING | Line exceeds 80 characters; contains 106 characters 12 | WARNING | Line exceeds 80 characters; contains 101 characters 13 | WARNING | Line exceeds 80 characters; contains 99 characters 14 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph 18 | WARNING | Line exceeds 80 characters; contains 94 characters 19 | ERROR | Doc comment short description must end with a full stop 19 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph 23 | ERROR | The @var tag must be the first tag in a member variable comment 32 | ERROR | The @var tag must be the first tag in a member variable comment 41 | ERROR | The @var tag must be the first tag in a member variable comment 46 | WARNING | Line exceeds 80 characters; contains 102 characters 47 | WARNING | Line exceeds 80 characters; contains 84 characters 47 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph 51 | ERROR | The @var tag must be the first tag in a member variable comment 58 | ERROR | Doc comment for parameter $storeNo does not match actual variable name <undefined> 60 | ERROR | Superfluous parameter comment 62 | ERROR | Superfluous parameter comment 64 | ERROR | Superfluous parameter comment -------------------------------------------------------------------------------------------------------------------- FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/chargelogic_payment/src/Models/ExtraData.php -------------------------------------------------------------------------------------------------------------------- FOUND 6 ERRORS AND 3 WARNINGS AFFECTING 9 LINES -------------------------------------------------------------------------------------------------------------------- 3 | ERROR | Namespaced classes, interfaces and traits should not begin with a file doc comment 6 | WARNING | Line exceeds 80 characters; contains 106 characters 12 | WARNING | Line exceeds 80 characters; contains 101 characters 13 | WARNING | Line exceeds 80 characters; contains 100 characters 14 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph 22 | ERROR | The @var tag must be the first tag in a member variable comment 31 | ERROR | The @var tag must be the first tag in a member variable comment 38 | ERROR | Doc comment for parameter $name does not match actual variable name <undefined> 40 | ERROR | Superfluous parameter comment -------------------------------------------------------------------------------------------------------------------- FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/chargelogic_payment/src/Models/LineItem.php --------------------------------------------------------------------------------------------------------------------- FOUND 24 ERRORS AND 4 WARNINGS AFFECTING 27 LINES --------------------------------------------------------------------------------------------------------------------- 3 | ERROR | Namespaced classes, interfaces and traits should not begin with a file doc comment 6 | WARNING | Line exceeds 80 characters; contains 106 characters 20 | ERROR | The @var tag must be the first tag in a member variable comment 25 | WARNING | Line exceeds 80 characters; contains 94 characters 29 | ERROR | The @var tag must be the first tag in a member variable comment 38 | ERROR | The @var tag must be the first tag in a member variable comment 47 | ERROR | The @var tag must be the first tag in a member variable comment 56 | ERROR | The @var tag must be the first tag in a member variable comment 65 | ERROR | The @var tag must be the first tag in a member variable comment 70 | WARNING | Line exceeds 80 characters; contains 102 characters 71 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph 75 | ERROR | The @var tag must be the first tag in a member variable comment 84 | ERROR | The @var tag must be the first tag in a member variable comment 93 | ERROR | The @var tag must be the first tag in a member variable comment 98 | WARNING | Line exceeds 80 characters; contains 101 characters 99 | ERROR | Doc comment short description must end with a full stop 99 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph 102 | ERROR | The @var tag must be the first tag in a member variable comment 109 | ERROR | Doc comment for parameter $productCode does not match actual variable name <undefined> 111 | ERROR | Superfluous parameter comment 113 | ERROR | Superfluous parameter comment 115 | ERROR | Superfluous parameter comment 117 | ERROR | Superfluous parameter comment 119 | ERROR | Superfluous parameter comment 121 | ERROR | Superfluous parameter comment 123 | ERROR | Superfluous parameter comment 125 | ERROR | Superfluous parameter comment 127 | ERROR | Superfluous parameter comment --------------------------------------------------------------------------------------------------------------------- FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/chargelogic_payment/src/Models/Comment.php --------------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE --------------------------------------------------------------------------------------------------------------- 10 | WARNING | Line exceeds 80 characters; contains 96 characters --------------------------------------------------------------------------------------------------------------- FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/chargelogic_payment/src/Models/EFTOrders.php ----------------------------------------------------------------------------------------------------------------- FOUND 6 ERRORS AND 1 WARNING AFFECTING 7 LINES ----------------------------------------------------------------------------------------------------------------- 3 | ERROR | Namespaced classes, interfaces and traits should not begin with a file doc comment 6 | WARNING | Line exceeds 80 characters; contains 106 characters 11 | ERROR | Missing short description in doc comment 20 | ERROR | The @var tag must be the first tag in a member variable comment 28 | ERROR | The @var tag must be the first tag in a member variable comment 35 | ERROR | Doc comment for parameter $orderCount does not match actual variable name <undefined> 37 | ERROR | Superfluous parameter comment ----------------------------------------------------------------------------------------------------------------- FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/chargelogic_payment/src/Models/Identification.php ---------------------------------------------------------------------------------------------------------------------- FOUND 10 ERRORS AND 3 WARNINGS AFFECTING 13 LINES ---------------------------------------------------------------------------------------------------------------------- 3 | ERROR | Namespaced classes, interfaces and traits should not begin with a file doc comment 6 | WARNING | Line exceeds 80 characters; contains 106 characters 19 | ERROR | The @var tag must be the first tag in a member variable comment 24 | WARNING | Line exceeds 80 characters; contains 103 characters 25 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph 28 | ERROR | The @var tag must be the first tag in a member variable comment 33 | WARNING | Line exceeds 80 characters; contains 89 characters 36 | ERROR | The @var tag must be the first tag in a member variable comment 44 | ERROR | The @var tag must be the first tag in a member variable comment 51 | ERROR | Doc comment for parameter $birthDate does not match actual variable name <undefined> 53 | ERROR | Superfluous parameter comment 55 | ERROR | Superfluous parameter comment 57 | ERROR | Superfluous parameter comment ---------------------------------------------------------------------------------------------------------------------- FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/chargelogic_payment/src/Models/ReferenceTransaction.php ---------------------------------------------------------------------------------------------------------------------------- FOUND 5 ERRORS AND 1 WARNING AFFECTING 6 LINES ---------------------------------------------------------------------------------------------------------------------------- 3 | ERROR | Namespaced classes, interfaces and traits should not begin with a file doc comment 6 | WARNING | Line exceeds 80 characters; contains 106 characters 20 | ERROR | The @var tag must be the first tag in a member variable comment 29 | ERROR | The @var tag must be the first tag in a member variable comment 36 | ERROR | Doc comment for parameter $originalReferenceNumber does not match actual variable name <undefined> 38 | ERROR | Superfluous parameter comment ---------------------------------------------------------------------------------------------------------------------------- FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/chargelogic_payment/src/Configuration.php -------------------------------------------------------------------------------------------------------------------- FOUND 4 ERRORS AND 1 WARNING AFFECTING 5 LINES -------------------------------------------------------------------------------------------------------------------- 3 | ERROR | Namespaced classes, interfaces and traits should not begin with a file doc comment 6 | WARNING | Line exceeds 80 characters; contains 106 characters 13 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph 17 | ERROR | Doc comment short description must end with a full stop 50 | ERROR | Description for the @return value must be on the next line -------------------------------------------------------------------------------------------------------------------- FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/chargelogic_payment/src/Controller/CreditCardPaymentController.php ------------------------------------------------------------------------------------------------------------------------------------------------ FOUND 11 ERRORS AND 1 WARNING AFFECTING 10 LINES ------------------------------------------------------------------------------------------------------------------------------------------------ 6 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\chargelogic_payment\ChargeLogicConnectClient. 12 | WARNING | [ ] The class short comment should describe what the class does and not simply repeat the class name 20 | ERROR | [ ] Missing @var tag in member variable comment 23 | ERROR | [ ] Doc comment is empty 41 | ERROR | [ ] Doc comment is empty 44 | ERROR | [ ] Public method name "CreditCardPaymentController::MakePayment" is not in lowerCamel format 67 | ERROR | [ ] Doc comment is empty 70 | ERROR | [ ] Public method name "CreditCardPaymentController::MakeReversePayment" is not in lowerCamel format 70 | ERROR | [ ] Variable "OriginalReferenceNumber" starts with a capital letter, but only $lowerCamelCase or $snake_case is allowed 70 | ERROR | [ ] Variable "Amount" starts with a capital letter, but only $lowerCamelCase or $snake_case is allowed 81 | ERROR | [ ] Variable "OriginalReferenceNumber" starts with a capital letter, but only $lowerCamelCase or $snake_case is allowed 82 | ERROR | [ ] Variable "Amount" starts with a capital letter, but only $lowerCamelCase or $snake_case is allowed ------------------------------------------------------------------------------------------------------------------------------------------------ PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------------------------------------------------------------------ FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/chargelogic_payment/src/Controller/CreditCardTransactionsController.php -------------------------------------------------------------------------------------------------------------------------------------------- FOUND 44 ERRORS AND 9 WARNINGS AFFECTING 47 LINES -------------------------------------------------------------------------------------------------------------------------------------------- 3 | ERROR | [ ] Namespaced classes, interfaces and traits should not begin with a file doc comment 6 | WARNING | [ ] Line exceeds 80 characters; contains 106 characters 12 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\chargelogic_payment\APIHelper. 20 | ERROR | [ ] Missing short description in doc comment 24 | ERROR | [ ] Missing short description in doc comment 32 | ERROR | [ ] Description for the @return value must be on the next line 43 | WARNING | [ ] Line exceeds 80 characters; contains 87 characters 46 | ERROR | [ ] Parameter comment must start with a capital letter 48 | ERROR | [ ] Description for the @return value must be on the next line 50 | ERROR | [ ] @throws comment must be on the next line 52 | ERROR | [ ] Public method name "CreditCardTransactionsController::createSetupHostedCreditCardAVS" is not in lowerCamel format 53 | ERROR | [x] Multi-line function declaration not indented correctly; expected 4 spaces but found 8 53 | ERROR | [x] Multi-line function declarations must have a trailing comma after the last parameter 54 | ERROR | [x] Multi-line function declaration not indented correctly; expected 2 spaces but found 4 101 | WARNING | [ ] Line exceeds 80 characters; contains 99 characters 102 | ERROR | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph 105 | ERROR | [ ] Parameter comment must start with a capital letter 107 | ERROR | [ ] Description for the @return value must be on the next line 109 | ERROR | [ ] @throws comment must be on the next line 112 | ERROR | [x] Multi-line function declaration not indented correctly; expected 4 spaces but found 8 112 | ERROR | [x] Multi-line function declarations must have a trailing comma after the last parameter 113 | ERROR | [x] Multi-line function declaration not indented correctly; expected 2 spaces but found 4 160 | WARNING | [ ] Line exceeds 80 characters; contains 89 characters 161 | WARNING | [ ] Line exceeds 80 characters; contains 103 characters 162 | ERROR | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph 165 | ERROR | [ ] Parameter comment must start with a capital letter 167 | ERROR | [ ] Description for the @return value must be on the next line 169 | ERROR | [ ] @throws comment must be on the next line 172 | ERROR | [x] Multi-line function declaration not indented correctly; expected 4 spaces but found 8 172 | ERROR | [x] Multi-line function declarations must have a trailing comma after the last parameter 173 | ERROR | [x] Multi-line function declaration not indented correctly; expected 2 spaces but found 4 223 | ERROR | [ ] Parameter comment must start with a capital letter 225 | ERROR | [ ] Description for the @return value must be on the next line 227 | ERROR | [ ] @throws comment must be on the next line 230 | ERROR | [x] Multi-line function declaration not indented correctly; expected 4 spaces but found 8 230 | ERROR | [x] Multi-line function declarations must have a trailing comma after the last parameter 231 | ERROR | [x] Multi-line function declaration not indented correctly; expected 2 spaces but found 4 272 | WARNING | [ ] Unused variable $mapper. 274 | WARNING | [ ] Line exceeds 80 characters; contains 110 characters 281 | ERROR | [ ] Parameter comment must start with a capital letter 283 | ERROR | [ ] Description for the @return value must be on the next line 285 | ERROR | [ ] @throws comment must be on the next line 288 | ERROR | [x] Multi-line function declaration not indented correctly; expected 4 spaces but found 8 288 | ERROR | [x] Multi-line function declarations must have a trailing comma after the last parameter 289 | ERROR | [x] Multi-line function declaration not indented correctly; expected 2 spaces but found 4 339 | ERROR | [ ] Parameter comment must start with a capital letter 341 | ERROR | [ ] Description for the @return value must be on the next line 343 | ERROR | [ ] @throws comment must be on the next line 346 | ERROR | [x] Multi-line function declaration not indented correctly; expected 4 spaces but found 8 346 | ERROR | [x] Multi-line function declarations must have a trailing comma after the last parameter 347 | ERROR | [x] Multi-line function declaration not indented correctly; expected 2 spaces but found 4 388 | WARNING | [ ] Unused variable $mapper. 392 | WARNING | [ ] Line exceeds 80 characters; contains 111 characters -------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 19 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------------------------------------------------------------------------- FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/chargelogic_payment/src/Controller/GiftCardTransactionsController.php ------------------------------------------------------------------------------------------------------------------------------------------ FOUND 71 ERRORS AND 1 WARNING AFFECTING 61 LINES ------------------------------------------------------------------------------------------------------------------------------------------ 3 | ERROR | [ ] Namespaced classes, interfaces and traits should not begin with a file doc comment 6 | WARNING | [ ] Line exceeds 80 characters; contains 106 characters 12 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\chargelogic_payment\APIHelper. 20 | ERROR | [ ] Missing short description in doc comment 24 | ERROR | [ ] Missing short description in doc comment 32 | ERROR | [ ] Description for the @return value must be on the next line 46 | ERROR | [ ] Parameter comment must start with a capital letter 48 | ERROR | [ ] Description for the @return value must be on the next line 50 | ERROR | [ ] @throws comment must be on the next line 53 | ERROR | [x] Multi-line function declaration not indented correctly; expected 4 spaces but found 8 53 | ERROR | [x] Multi-line function declarations must have a trailing comma after the last parameter 54 | ERROR | [x] Multi-line function declaration not indented correctly; expected 2 spaces but found 4 104 | ERROR | [ ] Parameter comment must start with a capital letter 106 | ERROR | [ ] Description for the @return value must be on the next line 108 | ERROR | [ ] @throws comment must be on the next line 111 | ERROR | [x] Multi-line function declaration not indented correctly; expected 4 spaces but found 8 111 | ERROR | [x] Multi-line function declarations must have a trailing comma after the last parameter 112 | ERROR | [x] Multi-line function declaration not indented correctly; expected 2 spaces but found 4 162 | ERROR | [ ] Parameter comment must start with a capital letter 164 | ERROR | [ ] Description for the @return value must be on the next line 166 | ERROR | [ ] @throws comment must be on the next line 169 | ERROR | [x] Multi-line function declaration not indented correctly; expected 4 spaces but found 8 169 | ERROR | [x] Multi-line function declarations must have a trailing comma after the last parameter 170 | ERROR | [x] Multi-line function declaration not indented correctly; expected 2 spaces but found 4 220 | ERROR | [ ] Parameter comment must start with a capital letter 222 | ERROR | [ ] Description for the @return value must be on the next line 224 | ERROR | [ ] @throws comment must be on the next line 227 | ERROR | [x] Multi-line function declaration not indented correctly; expected 4 spaces but found 8 227 | ERROR | [x] Multi-line function declarations must have a trailing comma after the last parameter 228 | ERROR | [x] Multi-line function declaration not indented correctly; expected 2 spaces but found 4 278 | ERROR | [ ] Parameter comment must start with a capital letter 280 | ERROR | [ ] Description for the @return value must be on the next line 282 | ERROR | [ ] @throws comment must be on the next line 285 | ERROR | [x] Multi-line function declaration not indented correctly; expected 4 spaces but found 8 285 | ERROR | [x] Multi-line function declarations must have a trailing comma after the last parameter 286 | ERROR | [x] Multi-line function declaration not indented correctly; expected 2 spaces but found 4 336 | ERROR | [ ] Parameter comment must start with a capital letter 338 | ERROR | [ ] Description for the @return value must be on the next line 340 | ERROR | [ ] @throws comment must be on the next line 343 | ERROR | [x] Multi-line function declaration not indented correctly; expected 4 spaces but found 8 343 | ERROR | [x] Multi-line function declarations must have a trailing comma after the last parameter 344 | ERROR | [x] Multi-line function declaration not indented correctly; expected 2 spaces but found 4 394 | ERROR | [ ] Parameter comment must start with a capital letter 396 | ERROR | [ ] Description for the @return value must be on the next line 398 | ERROR | [ ] @throws comment must be on the next line 401 | ERROR | [x] Multi-line function declaration not indented correctly; expected 4 spaces but found 8 401 | ERROR | [x] Multi-line function declarations must have a trailing comma after the last parameter 402 | ERROR | [x] Multi-line function declaration not indented correctly; expected 2 spaces but found 4 452 | ERROR | [ ] Parameter comment must start with a capital letter 454 | ERROR | [ ] Description for the @return value must be on the next line 456 | ERROR | [ ] @throws comment must be on the next line 459 | ERROR | [x] Multi-line function declaration not indented correctly; expected 4 spaces but found 8 459 | ERROR | [x] Multi-line function declarations must have a trailing comma after the last parameter 460 | ERROR | [x] Multi-line function declaration not indented correctly; expected 2 spaces but found 4 510 | ERROR | [ ] Parameter comment must start with a capital letter 512 | ERROR | [ ] Description for the @return value must be on the next line 514 | ERROR | [ ] @throws comment must be on the next line 517 | ERROR | [x] Multi-line function declaration not indented correctly; expected 4 spaces but found 8 517 | ERROR | [x] Multi-line function declarations must have a trailing comma after the last parameter 518 | ERROR | [x] Multi-line function declaration not indented correctly; expected 2 spaces but found 4 568 | ERROR | [ ] Parameter comment must start with a capital letter 570 | ERROR | [ ] Description for the @return value must be on the next line 572 | ERROR | [ ] @throws comment must be on the next line 575 | ERROR | [x] Multi-line function declaration not indented correctly; expected 4 spaces but found 8 575 | ERROR | [x] Multi-line function declarations must have a trailing comma after the last parameter 576 | ERROR | [x] Multi-line function declaration not indented correctly; expected 2 spaces but found 4 626 | ERROR | [ ] Parameter comment must start with a capital letter 628 | ERROR | [ ] Description for the @return value must be on the next line 630 | ERROR | [ ] @throws comment must be on the next line 633 | ERROR | [x] Multi-line function declaration not indented correctly; expected 4 spaces but found 8 633 | ERROR | [x] Multi-line function declarations must have a trailing comma after the last parameter 634 | ERROR | [x] Multi-line function declaration not indented correctly; expected 2 spaces but found 4 ------------------------------------------------------------------------------------------------------------------------------------------ PHPCBF CAN FIX THE 34 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------------------------------------------------------------ FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/chargelogic_payment/src/Controller/ReportingController.php --------------------------------------------------------------------------------------------------------------------------------- FOUND 11 ERRORS AND 1 WARNING AFFECTING 11 LINES --------------------------------------------------------------------------------------------------------------------------------- 3 | ERROR | [ ] Namespaced classes, interfaces and traits should not begin with a file doc comment 6 | WARNING | [ ] Line exceeds 80 characters; contains 106 characters 12 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\chargelogic_payment\APIHelper. 20 | ERROR | [ ] Missing short description in doc comment 24 | ERROR | [ ] Missing short description in doc comment 32 | ERROR | [ ] Description for the @return value must be on the next line 46 | ERROR | [ ] Parameter comment must start with a capital letter 48 | ERROR | [ ] Description for the @return value must be on the next line 50 | ERROR | [ ] @throws comment must be on the next line 53 | ERROR | [x] Multi-line function declaration not indented correctly; expected 4 spaces but found 8 53 | ERROR | [x] Multi-line function declarations must have a trailing comma after the last parameter 54 | ERROR | [x] Multi-line function declaration not indented correctly; expected 2 spaces but found 4 --------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY --------------------------------------------------------------------------------------------------------------------------------- FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/chargelogic_payment/src/Controller/CheckPaymentController.php ------------------------------------------------------------------------------------------------------------------------------------------------ FOUND 4 ERRORS AND 1 WARNING AFFECTING 5 LINES ------------------------------------------------------------------------------------------------------------------------------------------------ 6 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\chargelogic_payment\ChargeLogicConnectClient. 12 | WARNING | [ ] The class short comment should describe what the class does and not simply repeat the class name 20 | ERROR | [ ] Missing @var tag in member variable comment 23 | ERROR | [ ] Doc comment is empty 47 | ERROR | [ ] Public method name "CheckPaymentController::CheckPayment" is not in lowerCamel format ------------------------------------------------------------------------------------------------------------------------------------------------ PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------------------------------------------------------------------ FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/chargelogic_payment/src/Controller/BaseControllerCustom.php ------------------------------------------------------------------------------------------------------------------------------------ FOUND 5 ERRORS AND 1 WARNING AFFECTING 6 LINES ------------------------------------------------------------------------------------------------------------------------------------ 3 | ERROR | [ ] Namespaced classes, interfaces and traits should not begin with a file doc comment 6 | WARNING | [ ] Line exceeds 80 characters; contains 106 characters 14 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\chargelogic_payment\APIException. 48 | ERROR | [ ] Description for the @return value must be on the next line 57 | ERROR | [ ] Description for the @return value must be on the next line 64 | ERROR | [ ] Doc comment is empty ------------------------------------------------------------------------------------------------------------------------------------ PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------------------------------------------------------ FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/chargelogic_payment/src/Controller/HostedOrdersController.php ---------------------------------------------------------------------------------------------------------------------------------- FOUND 26 ERRORS AND 5 WARNINGS AFFECTING 28 LINES ---------------------------------------------------------------------------------------------------------------------------------- 3 | ERROR | [ ] Namespaced classes, interfaces and traits should not begin with a file doc comment 6 | WARNING | [ ] Line exceeds 80 characters; contains 106 characters 12 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\chargelogic_payment\APIHelper. 20 | ERROR | [ ] Missing short description in doc comment 24 | ERROR | [ ] Missing short description in doc comment 32 | ERROR | [ ] Description for the @return value must be on the next line 43 | WARNING | [ ] Line exceeds 80 characters; contains 104 characters 44 | WARNING | [ ] Line exceeds 80 characters; contains 96 characters 45 | ERROR | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph 48 | ERROR | [ ] Parameter comment must start with a capital letter 50 | ERROR | [ ] Description for the @return value must be on the next line 52 | ERROR | [ ] @throws comment must be on the next line 55 | ERROR | [x] Multi-line function declaration not indented correctly; expected 4 spaces but found 8 55 | ERROR | [x] Multi-line function declarations must have a trailing comma after the last parameter 56 | ERROR | [x] Multi-line function declaration not indented correctly; expected 2 spaces but found 4 103 | WARNING | [ ] Line exceeds 80 characters; contains 100 characters 104 | ERROR | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph 107 | ERROR | [ ] Parameter comment must start with a capital letter 109 | ERROR | [ ] Description for the @return value must be on the next line 111 | ERROR | [ ] @throws comment must be on the next line 114 | ERROR | [x] Multi-line function declaration not indented correctly; expected 4 spaces but found 8 114 | ERROR | [x] Multi-line function declarations must have a trailing comma after the last parameter 115 | ERROR | [x] Multi-line function declaration not indented correctly; expected 2 spaces but found 4 157 | WARNING | [ ] Line exceeds 80 characters; contains 101 characters 158 | ERROR | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph 161 | ERROR | [ ] Parameter comment must start with a capital letter 163 | ERROR | [ ] Description for the @return value must be on the next line 165 | ERROR | [ ] @throws comment must be on the next line 168 | ERROR | [x] Multi-line function declaration not indented correctly; expected 4 spaces but found 8 168 | ERROR | [x] Multi-line function declarations must have a trailing comma after the last parameter 169 | ERROR | [x] Multi-line function declaration not indented correctly; expected 2 spaces but found 4 ---------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 10 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------------------------------------------------------- FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/chargelogic_payment/src/Controller/CheckTransactionsController.php --------------------------------------------------------------------------------------------------------------------------------------- FOUND 17 ERRORS AND 3 WARNINGS AFFECTING 18 LINES --------------------------------------------------------------------------------------------------------------------------------------- 3 | ERROR | [ ] Namespaced classes, interfaces and traits should not begin with a file doc comment 6 | WARNING | [ ] Line exceeds 80 characters; contains 106 characters 12 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\chargelogic_payment\APIHelper. 20 | ERROR | [ ] Missing short description in doc comment 24 | ERROR | [ ] Missing short description in doc comment 32 | ERROR | [ ] Description for the @return value must be on the next line 46 | ERROR | [ ] Parameter comment must start with a capital letter 48 | ERROR | [ ] Description for the @return value must be on the next line 50 | ERROR | [ ] @throws comment must be on the next line 53 | ERROR | [x] Multi-line function declaration not indented correctly; expected 4 spaces but found 8 53 | ERROR | [x] Multi-line function declarations must have a trailing comma after the last parameter 54 | ERROR | [x] Multi-line function declaration not indented correctly; expected 2 spaces but found 4 95 | WARNING | [ ] Unused variable $mapper. 97 | WARNING | [ ] Line exceeds 80 characters; contains 110 characters 104 | ERROR | [ ] Parameter comment must start with a capital letter 106 | ERROR | [ ] Description for the @return value must be on the next line 108 | ERROR | [ ] @throws comment must be on the next line 111 | ERROR | [x] Multi-line function declaration not indented correctly; expected 4 spaces but found 8 111 | ERROR | [x] Multi-line function declarations must have a trailing comma after the last parameter 112 | ERROR | [x] Multi-line function declaration not indented correctly; expected 2 spaces but found 4 --------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 7 MARKED SNIFF VIOLATIONS AUTOMATICALLY --------------------------------------------------------------------------------------------------------------------------------------- FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/chargelogic_payment/src/APIHelper.php ---------------------------------------------------------------------------------------------------------- FOUND 9 ERRORS AND 1 WARNING AFFECTING 10 LINES ---------------------------------------------------------------------------------------------------------- 3 | ERROR | Namespaced classes, interfaces and traits should not begin with a file doc comment 6 | WARNING | Line exceeds 80 characters; contains 106 characters 26 | ERROR | Description for the @return value must be on the next line 68 | ERROR | Description for the @return value is missing 94 | ERROR | Description for the @return value must be on the next line 126 | ERROR | Description for the @return value must be on the next line 143 | ERROR | Parameter $arr is not described in comment 146 | ERROR | Doc comment for parameter $array does not match actual variable name $arr 149 | ERROR | Description for the @return value must be on the next line 167 | ERROR | Description for the @return value must be on the next line ---------------------------------------------------------------------------------------------------------- Time: 1.28 secs; Memory: 14MB ➜ contrib
I then add the "js" extension just like in the description, and there are still issues I encountered.
Thank you.
- Merge request !2Created a new merge request to get the list of all the PHP_CodeSniffer errors/warnings to fix → (Open) created by apaderno
- 🇮🇹Italy apaderno Brescia, 🇮🇹
avpaderno → changed the visibility of the branch 3342258-gitlab-ci-reports to hidden.
- 🇮🇹Italy apaderno Brescia, 🇮🇹
- Assigned to cleavinjosh
- 🇵🇭Philippines cleavinjosh
Hi,
Can anyone look at the composer error? I don't know why this is not passing now.
Thank you.