Problem/Motivation
FILE: /var/www/html/vb/d_cont/stripe_pay/stripe_pay.routing.yml
--------------------------------------------------------------------------------
FOUND 1 ERROR AND 3 WARNINGS AFFECTING 4 LINES
--------------------------------------------------------------------------------
8 | WARNING | [ ] Open page callback found, please add a comment before the
| | line why there is no access restriction
16 | WARNING | [ ] Open page callback found, please add a comment before the
| | line why there is no access restriction
24 | WARNING | [ ] Open page callback found, please add a comment before the
| | line why there is no access restriction
32 | ERROR | [x] Expected 1 newline at end of file; 0 found
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
FILE: /var/www/html/vb/d_cont/stripe_pay/templates/stripe-payment.html.twig
---------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
---------------------------------------------------------------------------
90 | ERROR | [x] Expected 1 newline at end of file; 0 found
---------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------
FILE: /var/www/html/vb/d_cont/stripe_pay/src/Form/StripeConfig.php
--------------------------------------------------------------------------------
FOUND 65 ERRORS AND 3 WARNINGS AFFECTING 66 LINES
--------------------------------------------------------------------------------
9 | WARNING | [x] Unused use statement
11 | WARNING | [x] Unused use statement
12 | WARNING | [x] Unused use statement
18 | ERROR | [x] Opening brace should be on the same line as the
| | declaration
19 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
24 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
26 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
31 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
33 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
36 | ERROR | [x] Expected 1 spaces after parameter type; 14 found
41 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
42 | ERROR | [x] Opening brace should be on the same line as the
| | declaration
43 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
44 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
45 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
47 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
50 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
51 | ERROR | [x] Opening brace should be on the same line as the
| | declaration
52 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
56 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
58 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
61 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
62 | ERROR | [x] Opening brace should be on the same line as the
| | declaration
63 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
64 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
66 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
69 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
70 | ERROR | [x] Opening brace should be on the same line as the
| | declaration
71 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
74 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
76 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
79 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
80 | ERROR | [x] Opening brace should be on the same line as the
| | declaration
81 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
83 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
86 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE"
| | but found "true"
89 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
95 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
98 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE"
| | but found "true"
100 | ERROR | [x] Expected 1 space before "??"; 0 found
100 | ERROR | [x] Expected 1 space after "??"; 0 found
104 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
110 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
117 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
124 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
130 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
137 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
144 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
145 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
147 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
150 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
151 | ERROR | [x] Opening brace should be on the same line as the
| | declaration
152 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
154 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
155 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
156 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
157 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
158 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
159 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
160 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
161 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
162 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
163 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
164 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
165 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
166 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
167 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
168 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 68 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
FILE: /var/www/html/vb/d_cont/stripe_pay/src/Controller/StripeController.php
--------------------------------------------------------------------------------
FOUND 170 ERRORS AND 12 WARNINGS AFFECTING 111 LINES
--------------------------------------------------------------------------------
15 | ERROR | [x] Opening brace should be on the same line as the
| | declaration
16 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
25 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
25 | ERROR | [ ] Public method name "StripeController::payment_init" is not
| | in lowerCamel format
25 | ERROR | [x] Expected 1 blank line before function; 0 found
26 | ERROR | [x] Opening brace should be on the same line as the
| | declaration
28 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
28 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE"
| | but found "true"
29 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
29 | ERROR | [x] Expected 1 space before "??"; 0 found
29 | ERROR | [x] Expected 1 space after "??"; 0 found
30 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
30 | ERROR | [x] Expected 1 space before "??"; 0 found
30 | ERROR | [x] Expected 1 space after "??"; 0 found
31 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
31 | ERROR | [x] Expected 1 space before "??"; 0 found
31 | ERROR | [x] Expected 1 space after "??"; 0 found
32 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
32 | ERROR | [x] Expected 1 space before "??"; 0 found
32 | ERROR | [x] Expected 1 space after "??"; 0 found
33 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
33 | ERROR | [x] Expected 1 space before "??"; 0 found
33 | ERROR | [x] Expected 1 space after "??"; 0 found
35 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
35 | ERROR | [x] Expected 1 space after IF keyword; 0 found
36 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
37 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
39 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
40 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
42 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
42 | ERROR | [x] Expected 1 space after IF keyword; 0 found
43 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
43 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE"
| | but found "true"
44 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
46 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
46 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE"
| | but found "true"
47 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
47 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE"
| | but found "true"
48 | ERROR | [x] Functions must not contain multiple empty lines in a row;
| | found 2 empty lines
50 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
52 | WARNING | [ ] Unused variable $currency_code.
52 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
53 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
54 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
55 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
55 | ERROR | [x] Expected 1 space after IF keyword; 0 found
56 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
57 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
57 | ERROR | [x] Expected newline after closing brace
58 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
59 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
61 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
61 | ERROR | [x] Inline comments must end in full-stops, exclamation marks,
| | question marks, colons, or closing parentheses
62 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
62 | ERROR | [x] Namespaced classes/interfaces/traits should be referenced
| | with use statements
64 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
64 | ERROR | [x] Short array syntax must be used to define arrays
66 | ERROR | [x] Short array syntax must be used to define arrays
67 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: 'Invalid Request!'
68 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
71 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
71 | ERROR | [x] Expected 1 space before "??"; 0 found
71 | ERROR | [x] Expected 1 space after "??"; 0 found
73 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
75 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
75 | ERROR | [x] Inline comments must end in full-stops, exclamation marks,
| | question marks, colons, or closing parentheses
76 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
77 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
80 | ERROR | [x] Array indentation error, expected 22 spaces but found 24
83 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: $productID
84 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: ]
86 | ERROR | [x] Array indentation error, expected 22 spaces but found 24
87 | ERROR | [x] Array indentation error, expected 22 spaces but found 24
89 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: $quantity
90 | ERROR | [x] Closing parenthesis of array declaration must be on a new
| | line
92 | ERROR | [x] Concat operator must be surrounded by a single space
92 | ERROR | [x] Concat operator must be surrounded by a single space
92 | ERROR | [x] Concat operator must be surrounded by a single space
93 | ERROR | [x] Concat operator must be surrounded by a single space
93 | ERROR | [x] Concat operator must be surrounded by a single space
93 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: $url
95 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
95 | ERROR | [x] Expected newline after closing brace
95 | ERROR | [x] Expected 1 space after CATCH keyword; 0 found
96 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
97 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
98 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
100 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
100 | ERROR | [x] Expected 1 space after IF keyword; 0 found
101 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
101 | ERROR | [x] Short array syntax must be used to define arrays
104 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: id
106 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
106 | ERROR | [x] Expected newline after closing brace
107 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
107 | ERROR | [x] Short array syntax must be used to define arrays
109 | ERROR | [x] Short array syntax must be used to define arrays
110 | ERROR | [x] Concat operator must be surrounded by a single space
110 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: $api_error
111 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
113 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
115 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
115 | ERROR | [x] Inline comments must end in full-stops, exclamation marks,
| | question marks, colons, or closing parentheses
116 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
118 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
120 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
120 | ERROR | [x] Expected 1 blank line after function; 2 found
123 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
126 | ERROR | [ ] Doc comment for parameter $request does not match actual
| | variable name
129 | ERROR | [ ] @return doc comment specified, but function has no return
| | statement
132 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
132 | ERROR | [ ] Public method name "StripeController::payment_success" is
| | not in lowerCamel format
133 | ERROR | [x] Opening brace should be on the same line as the
| | declaration
134 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
136 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
138 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
139 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
141 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
143 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
144 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
146 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
146 | ERROR | [x] Expected 1 space after IF keyword; 0 found
147 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
147 | ERROR | [x] Expected 1 space after "="; 2 found
147 | ERROR | [x] Concat operator must be surrounded by a single space
147 | ERROR | [x] Concat operator must be surrounded by a single space
148 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
150 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
150 | WARNING | [ ] Only string literals should be passed to t() where
| | possible
152 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
152 | ERROR | [x] Expected 1 space after IF keyword; 0 found
153 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
154 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
154 | ERROR | [x] Expected 1 space after IF keyword; 0 found
155 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
155 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE"
| | but found "true"
156 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
157 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
159 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
159 | ERROR | [x] Expected 1 space after IF keyword; 0 found
160 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
161 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
161 | ERROR | [x] Inline comments must end in full-stops, exclamation marks,
| | question marks, colons, or closing parentheses
162 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
163 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
163 | ERROR | [x] Expected newline after closing brace
164 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
165 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
166 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
167 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
169 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
172 | ERROR | [ ] Doc comment for parameter $request does not match actual
| | variable name
175 | ERROR | [ ] @return doc comment specified, but function has no return
| | statement
178 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
178 | ERROR | [ ] Public method name "StripeController::payment_cancel" is
| | not in lowerCamel format
179 | ERROR | [x] Opening brace should be on the same line as the
| | declaration
181 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
183 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
184 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
186 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
186 | ERROR | [x] Expected 1 space after IF keyword; 0 found
187 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
188 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
188 | ERROR | [x] Expected 1 space after IF keyword; 0 found
189 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
189 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE"
| | but found "true"
190 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
191 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
193 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
195 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
196 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
198 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
198 | ERROR | [x] Expected 1 space after IF keyword; 0 found
199 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
199 | ERROR | [x] Expected 1 space after "="; 2 found
200 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
202 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
202 | WARNING | [ ] Only string literals should be passed to t() where
| | possible
204 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
205 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
207 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
207 | ERROR | [x] Expected 1 blank line after function; 0 found
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 172 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
FILE: ...vb/d_cont/stripe_pay/src/Plugin/Field/FieldType/StripePaymentFieldItem.php
--------------------------------------------------------------------------------
FOUND 35 ERRORS AND 6 WARNINGS AFFECTING 39 LINES
--------------------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one blank
| | line
4 | WARNING | [x] Unused use statement
5 | WARNING | [x] Unused use statement
12 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
13 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
14 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
15 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
16 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
18 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
19 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
20 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
21 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
24 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
36 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
37 | ERROR | [x] Opening brace should be on the same line as the
| | declaration
38 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
39 | ERROR | [x] Object operator not indented correctly; expected 10 spaces
| | but found 8
40 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
41 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
43 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
58 | WARNING | [ ] Line exceeds 80 characters; contains 81 characters
62 | WARNING | [ ] Line exceeds 80 characters; contains 81 characters
66 | WARNING | [ ] Line exceeds 80 characters; contains 81 characters
80 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
81 | ERROR | [x] Opening brace should be on the same line as the
| | declaration
82 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
82 | ERROR | [x] Short array syntax must be used to define arrays
83 | ERROR | [x] Short array syntax must be used to define arrays
84 | ERROR | [x] Array indentation error, expected 14 spaces but found 16
84 | ERROR | [x] Short array syntax must be used to define arrays
85 | ERROR | [x] Array indentation error, expected 18 spaces but found 20
86 | ERROR | [x] Array indentation error, expected 18 spaces but found 20
87 | ERROR | [x] Array indentation error, expected 18 spaces but found 20
88 | ERROR | [x] Array indentation error, expected 18 spaces but found 20
90 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
92 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
94 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
97 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
98 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
99 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
101 | ERROR | [x] Expected 1 newline at end of file; 0 found
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 38 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
FILE: ...ripe_pay/src/Plugin/Field/FieldFormatter/StripePaymentDefaultFormatter.php
--------------------------------------------------------------------------------
FOUND 114 ERRORS AND 7 WARNINGS AFFECTING 87 LINES
--------------------------------------------------------------------------------
5 | WARNING | [x] Unused use statement
6 | WARNING | [x] Unused use statement
25 | ERROR | [x] Opening brace should be on the same line as the
| | declaration
26 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
26 | ERROR | [ ] Class property $default_unit should use lowerCamel naming
| | without underscores
26 | ERROR | [ ] Missing member variable doc comment
28 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
29 | ERROR | [x] Expected 5 space(s) before asterisk; 6 found
30 | ERROR | [x] Expected 5 space(s) before asterisk; 6 found
31 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
32 | ERROR | [x] Opening brace should be on the same line as the
| | declaration
33 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
35 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
35 | ERROR | [x] Expected 1 space before "??"; 0 found
35 | ERROR | [x] Expected 1 space after "??"; 0 found
37 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
40 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE"
| | but found "false"
43 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
45 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 5
46 | ERROR | [x] Expected 6 space(s) before asterisk; 7 found
47 | ERROR | [x] Expected 6 space(s) before asterisk; 7 found
48 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 5
49 | ERROR | [x] Opening brace should be on the same line as the
| | declaration
50 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 9
52 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 9
52 | ERROR | [x] Expected 1 space before "??"; 0 found
52 | ERROR | [x] Expected 1 space after "??"; 0 found
54 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 9
55 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 9
56 | WARNING | [ ] Unused variable $currency_codes.
56 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 9
57 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 9
59 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 9
64 | ERROR | [x] Expected 1 space before "??"; 0 found
64 | ERROR | [x] Expected 1 space after "??"; 0 found
65 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: false
65 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE"
| | but found "false"
68 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 9
72 | ERROR | [x] Expected 1 space before "??"; 0 found
72 | ERROR | [x] Expected 1 space after "??"; 0 found
72 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE"
| | but found "false"
75 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 9
79 | ERROR | [x] Expected 1 space before "??"; 0 found
79 | ERROR | [x] Expected 1 space after "??"; 0 found
80 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: true
80 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE"
| | but found "true"
83 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 9
84 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 5
86 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 5
89 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 5
90 | ERROR | [x] Opening brace should be on the same line as the
| | declaration
91 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 9
93 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 9
95 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 9
96 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 9
97 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 9
99 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 9
101 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 9
102 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 9
103 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 9
105 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 9
105 | ERROR | [x] Concat operator must be surrounded by a single space
105 | ERROR | [x] Concat operator must be surrounded by a single space
106 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 9
106 | ERROR | [x] Concat operator must be surrounded by a single space
106 | ERROR | [x] Concat operator must be surrounded by a single space
107 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 9
107 | ERROR | [x] Concat operator must be surrounded by a single space
107 | ERROR | [x] Concat operator must be surrounded by a single space
108 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 9
108 | ERROR | [x] Concat operator must be surrounded by a single space
108 | ERROR | [x] Concat operator must be surrounded by a single space
110 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 9
111 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 9
111 | WARNING | [ ] Only string literals should be passed to t() where
| | possible
113 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 9
114 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 5
116 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 7
125 | WARNING | [ ] Line exceeds 80 characters; contains 81 characters
128 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 7
129 | ERROR | [x] Opening brace should be on the same line as the
| | declaration
130 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 11
130 | ERROR | [x] Short array syntax must be used to define arrays
131 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 11
133 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 11
135 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 11
136 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 11
137 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 11
139 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 11
141 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 11
143 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 11
144 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 15
145 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 15
147 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 15
148 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 15
149 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 15
151 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 15
151 | ERROR | [x] Short array syntax must be used to define arrays
163 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 15
164 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 15
164 | ERROR | [x] Short array syntax must be used to define arrays
169 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 11
171 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 11
171 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE"
| | but found "true"
173 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 11
175 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 11
176 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 11
177 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 11
178 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 11
178 | ERROR | [x] Expected 1 space after IF keyword; 0 found
179 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 15
180 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 11
180 | ERROR | [x] Expected newline after closing brace
181 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 15
182 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 11
184 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 11
185 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 11
186 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 11
188 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 11
189 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 7
189 | ERROR | [x] Expected 1 blank line after function; 0 found
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 116 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
FILE: ...ont/stripe_pay/src/Plugin/Field/FieldWidget/StripePaymentDefaultWidget.php
--------------------------------------------------------------------------------
FOUND 70 ERRORS AND 9 WARNINGS AFFECTING 62 LINES
--------------------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one blank
| | line
4 | WARNING | [x] Unused use statement
5 | WARNING | [x] Unused use statement
21 | ERROR | [x] There must be exactly one newline after the class comment
23 | ERROR | [x] Expected 1 space before opening brace; found 2
24 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
27 | WARNING | [ ] Line exceeds 80 characters; contains 82 characters
31 | WARNING | [ ] Line exceeds 80 characters; contains 82 characters
63 | WARNING | [ ] Line exceeds 80 characters; contains 81 characters
64 | WARNING | [ ] Line exceeds 80 characters; contains 81 characters
66 | WARNING | [ ] Line exceeds 80 characters; contains 82 characters
80 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
80 | ERROR | [x] Expected 1 blank line before function; 0 found
81 | ERROR | [x] Opening brace should be on the same line as the
| | declaration
83 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
84 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
85 | ERROR | [x] Functions must not contain multiple empty lines in a row;
| | found 2 empty lines
87 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
88 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
89 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
91 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
92 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
93 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
94 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
94 | ERROR | [x] Expected 1 space before "?"; 0 found
94 | ERROR | [x] Expected 1 space after "?"; 0 found
94 | ERROR | [x] Expected 1 space before ":"; 0 found
96 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
96 | ERROR | [x] Concat operator must be surrounded by a single space
97 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
97 | ERROR | [x] Expected 1 space after IF keyword; 0 found
98 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
99 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
101 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
102 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
104 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 6
107 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 6
109 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 10
111 | ERROR | [x] Array closing indentation error, expected 10 spaces but
| | found 8
112 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
112 | ERROR | [x] Closing brace indented incorrectly; expected 6 spaces,
| | found 4
114 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 6
117 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 6
118 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
119 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
119 | ERROR | [x] Short array syntax must be used to define arrays
120 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
123 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
125 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
126 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
127 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
128 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
128 | ERROR | [x] Expected 1 space before "??"; 0 found
128 | ERROR | [x] Expected 1 space after "??"; 0 found
129 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
130 | ERROR | [x] Array indentation error, expected 10 spaces but found 12
133 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
134 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
134 | ERROR | [x] Closing brace indented incorrectly; expected 6 spaces,
| | found 4
136 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 7
139 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 7
140 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
140 | ERROR | [x] Short array syntax must be used to define arrays
142 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
144 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
144 | ERROR | [x] Expected 1 space after IF keyword; 0 found
145 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
146 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
147 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
149 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
149 | ERROR | [x] Concat operator must be surrounded by a single space
149 | ERROR | [x] Concat operator must be surrounded by a single space
151 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
152 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
152 | WARNING | [ ] Only string literals should be passed to t() where
| | possible
154 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
155 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
155 | ERROR | [x] Closing brace indented incorrectly; expected 7 spaces,
| | found 4
157 | ERROR | [x] Expected 1 newline at end of file; 0 found
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 73 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
FILE: /var/www/html/vb/d_cont/stripe_pay/stripe_pay.links.menu.yml
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
11 | ERROR | [x] Expected 1 newline at end of file; 0 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: /var/www/html/vb/d_cont/stripe_pay/stripe_pay.module
--------------------------------------------------------------------------------
FOUND 240 ERRORS AND 11 WARNINGS AFFECTING 205 LINES
--------------------------------------------------------------------------------
1 | ERROR | [x] Missing file doc comment
4 | ERROR | [x] Doc comment short description must end with a full stop
7 | ERROR | [x] Opening brace should be on the same line as the
| | declaration
8 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
8 | ERROR | [x] Short array syntax must be used to define arrays
159 | ERROR | [x] Array closing indentation error, expected 4 spaces but
| | found 8
160 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
164 | ERROR | [x] Doc comment short description must end with a full stop
167 | ERROR | [x] Opening brace should be on the same line as the
| | declaration
168 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
168 | ERROR | [x] Short array syntax must be used to define arrays
169 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
170 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
171 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
172 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
173 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
174 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
175 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
176 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
177 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
178 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
179 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
180 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
181 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
182 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
183 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
184 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
185 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
186 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
187 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
188 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
189 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
190 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
191 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
192 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
193 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
194 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
195 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
196 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
197 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
198 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
199 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
200 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
201 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
202 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
203 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
204 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
205 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
206 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
207 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
208 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
209 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
210 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
211 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
212 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
213 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
214 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
215 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
216 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
217 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
218 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
219 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
220 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
221 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
222 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
223 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
224 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
225 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
226 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
227 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
228 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
229 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
230 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
231 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
232 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
233 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
234 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
235 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
236 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
237 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
238 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
239 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
240 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
241 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
242 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
243 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
244 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
245 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
246 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
247 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
248 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
249 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
250 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
251 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
252 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
253 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
254 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
255 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
256 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
257 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
258 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
259 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
260 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
261 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
262 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
263 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
264 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
265 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
266 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
267 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
268 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
269 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
270 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
271 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
272 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
273 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
274 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
275 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
276 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
277 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
278 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
279 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
280 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
281 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
282 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
283 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
284 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
285 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
286 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
287 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
288 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
289 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
290 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
291 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
292 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
293 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
294 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
295 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
296 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
297 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
298 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
299 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
300 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
301 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
302 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
303 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
304 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
305 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
306 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
307 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
308 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
309 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
310 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
311 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
312 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
313 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
314 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
315 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
316 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
317 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
318 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
319 | ERROR | [x] Array closing indentation error, expected 4 spaces but
| | found 8
321 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
321 | ERROR | [x] Expected 1 space before "??"; 0 found
321 | ERROR | [x] Expected 1 space after "??"; 0 found
322 | ERROR | [x] Expected 1 blank line after function; 0 found
324 | ERROR | [x] Doc comment short description must end with a full stop
327 | ERROR | [x] Opening brace should be on the same line as the
| | declaration
328 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
328 | ERROR | [x] Short array syntax must be used to define arrays
329 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
330 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
330 | WARNING | [ ] Translatable strings must not begin or end with white
| | spaces, use placeholders with t() for variables
330 | ERROR | [ ] Concatenating translatable strings is not allowed, use
| | placeholders instead and only one string literal
330 | ERROR | [x] Concat operator must be surrounded by a single space
330 | ERROR | [x] Concat operator must be surrounded by a single space
330 | ERROR | [x] Concat operator must be surrounded by a single space
331 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
331 | WARNING | [ ] Translatable strings must not begin or end with white
| | spaces, use placeholders with t() for variables
331 | ERROR | [ ] Concatenating translatable strings is not allowed, use
| | placeholders instead and only one string literal
331 | ERROR | [x] Concat operator must be surrounded by a single space
331 | ERROR | [x] Concat operator must be surrounded by a single space
331 | ERROR | [x] Concat operator must be surrounded by a single space
332 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
332 | WARNING | [ ] Translatable strings must not begin or end with white
| | spaces, use placeholders with t() for variables
332 | ERROR | [ ] Concatenating translatable strings is not allowed, use
| | placeholders instead and only one string literal
332 | ERROR | [x] Concat operator must be surrounded by a single space
332 | ERROR | [x] Concat operator must be surrounded by a single space
333 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
333 | WARNING | [ ] Translatable strings must not begin or end with white
| | spaces, use placeholders with t() for variables
333 | ERROR | [ ] Concatenating translatable strings is not allowed, use
| | placeholders instead and only one string literal
333 | ERROR | [x] Concat operator must be surrounded by a single space
333 | ERROR | [x] Concat operator must be surrounded by a single space
334 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
334 | WARNING | [ ] Only string literals should be passed to t() where
| | possible
334 | ERROR | [x] Concat operator must be surrounded by a single space
334 | ERROR | [x] Concat operator must be surrounded by a single space
335 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
335 | WARNING | [ ] Only string literals should be passed to t() where
| | possible
335 | ERROR | [x] Concat operator must be surrounded by a single space
336 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
336 | WARNING | [ ] Only string literals should be passed to t() where
| | possible
336 | ERROR | [x] Concat operator must be surrounded by a single space
337 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
337 | WARNING | [ ] Only string literals should be passed to t() where
| | possible
337 | ERROR | [x] Concat operator must be surrounded by a single space
338 | ERROR | [x] Array indentation error, expected 6 spaces but found 10
338 | WARNING | [ ] Only string literals should be passed to t() where
| | possible
338 | ERROR | [x] Concat operator must be surrounded by a single space
339 | ERROR | [x] Array closing indentation error, expected 4 spaces but
| | found 8
340 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
347 | ERROR | [x] Opening brace should be on the same line as the
| | declaration
348 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
348 | ERROR | [x] Short array syntax must be used to define arrays
349 | ERROR | [x] Short array syntax must be used to define arrays
350 | ERROR | [x] Short array syntax must be used to define arrays
351 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "NULL"
| | but found "null"
352 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "NULL"
| | but found "null"
353 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
354 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
359 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
359 | ERROR | [x] Doc comment short description must end with a full stop
360 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
360 | ERROR | [x] There must be exactly one blank line before the tags in a
| | doc comment
360 | ERROR | [ ] Missing parameter type
360 | ERROR | [x] Tag value indented incorrectly; expected 1 space but found
| | 2
360 | ERROR | [x] Parameter comment must be on the next line
361 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
361 | ERROR | [ ] Missing parameter type
361 | ERROR | [x] Tag value indented incorrectly; expected 1 space but found
| | 2
361 | ERROR | [x] Parameter comment must be on the next line
362 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
362 | ERROR | [x] Separate the @param and @return sections by a blank line.
362 | ERROR | [ ] Return type missing for @return tag in function comment
362 | ERROR | [ ] Description for the @return value is missing
363 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
365 | ERROR | [x] Opening brace should be on the same line as the
| | declaration
366 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
367 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
368 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
369 | ERROR | [x] Case breaking statement indented incorrectly; expected 10
| | spaces, found 12
371 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
372 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
373 | ERROR | [x] Case breaking statement indented incorrectly; expected 10
| | spaces, found 12
375 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
376 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
377 | ERROR | [x] Case breaking statement indented incorrectly; expected 10
| | spaces, found 12
379 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
380 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
381 | ERROR | [x] Case breaking statement indented incorrectly; expected 10
| | spaces, found 12
382 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 234 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
FILE: /var/www/html/vb/d_cont/stripe_pay/stripe_pay.info.yml
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
7 | ERROR | [x] Expected 1 newline at end of file; 0 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
Time: 192ms; Memory: 14MB
Steps to reproduce
Execute the command: phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml,twig stripe_pay/
Remaining tasks
Patch review
Providing initial patch