Problem/Motivation
FILE: /var/www/project/send_emails/modules/send_emails_manual/src/Form/EmailManualSendByRole.php
--------------------------------------------------------------------------------------------------------------------------
FOUND 313 ERRORS AND 11 WARNINGS AFFECTING 219 LINES
--------------------------------------------------------------------------------------------------------------------------
2 | ERROR | [ ] Missing short description in doc comment
5 | WARNING | [ ] PHP version not specified
5 | ERROR | [ ] Missing @category tag in file comment
5 | ERROR | [ ] Missing @package tag in file comment
5 | ERROR | [ ] Missing @author tag in file comment
5 | ERROR | [ ] Missing @license tag in file comment
5 | ERROR | [ ] Missing @link tag in file comment
25 | ERROR | [ ] Missing doc comment for class EmailManualSendByRole
25 | ERROR | [x] Opening brace of a class must be on the line after the definition
26 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
31 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
31 | ERROR | [x] TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
33 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
38 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
40 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
40 | ERROR | [ ] Missing short description in doc comment
41 | ERROR | [x] Expected 3 space(s) before asterisk; 4 found
42 | ERROR | [x] Expected 3 space(s) before asterisk; 4 found
43 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
45 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
45 | ERROR | [ ] Missing short description in doc comment
46 | ERROR | [x] Expected 3 space(s) before asterisk; 4 found
47 | ERROR | [x] Expected 3 space(s) before asterisk; 4 found
48 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
50 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
50 | ERROR | [ ] Missing short description in doc comment
53 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
55 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
55 | ERROR | [ ] Missing short description in doc comment
56 | ERROR | [x] Expected 3 space(s) before asterisk; 4 found
57 | ERROR | [x] Expected 3 space(s) before asterisk; 4 found
58 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
60 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
65 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
67 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
70 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
72 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
72 | ERROR | [ ] Doc comment for parameter "$config_factory" missing
72 | ERROR | [ ] Doc comment for parameter "$entityTypeManager" missing
72 | ERROR | [ ] Doc comment for parameter "$dateFormatter" missing
72 | ERROR | [ ] Doc comment for parameter "$cacheRender" missing
72 | ERROR | [ ] Doc comment for parameter "$emailApi" missing
74 | ERROR | [x] There must be exactly one blank line before the tags in a doc comment
74 | ERROR | [ ] Missing parameter comment
74 | ERROR | [ ] Doc comment for parameter $current_route_match does not match actual variable name $config_factory
76 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
76 | WARNING | [ ] Line exceeds 85 characters; contains 244 characters
76 | ERROR | [x] Opening brace should be on a new line
77 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
78 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
79 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
79 | WARNING | [ ] Line exceeds 85 characters; contains 91 characters
80 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
82 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
82 | ERROR | [ ] Doc comment for parameter "$container" missing
84 | ERROR | [ ] Missing @return tag in function comment
85 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
85 | ERROR | [x] Opening brace should be on a new line
86 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
87 | ERROR | [x] Multi-line function call not indented correctly; expected 8 spaces but found 6
87 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
88 | ERROR | [x] Multi-line function call not indented correctly; expected 8 spaces but found 6
88 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
89 | ERROR | [x] Multi-line function call not indented correctly; expected 8 spaces but found 6
89 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
90 | ERROR | [x] Multi-line function call not indented correctly; expected 8 spaces but found 6
90 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
91 | ERROR | [x] Multi-line function call not indented correctly; expected 8 spaces but found 6
91 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
92 | ERROR | [x] Multi-line function call not indented correctly; expected 8 spaces but found 6
92 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
93 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
94 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
96 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
99 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
101 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
103 | ERROR | [ ] Missing @return tag in function comment
104 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
104 | ERROR | [x] Opening brace should be on a new line
105 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
106 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
108 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
108 | ERROR | [ ] Doc comment for parameter "$form" missing
108 | ERROR | [ ] Doc comment for parameter "$form_state" missing
108 | ERROR | [ ] Doc comment for parameter "$email_to_send" missing
110 | ERROR | [ ] Missing @return tag in function comment
111 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
111 | ERROR | [x] TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
111 | WARNING | [ ] Line exceeds 85 characters; contains 97 characters
111 | ERROR | [x] Opening brace should be on a new line
112 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
114 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
115 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
116 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4
117 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
118 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4
120 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
121 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
123 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
124 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
125 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4
126 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
127 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
128 | ERROR | [x] Line indented incorrectly; expected 12 spaces, found 6
129 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 8
130 | ERROR | [x] Line indented incorrectly; expected 12 spaces, found 6
132 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
133 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
133 | ERROR | [x] Opening statement of multi-line function call not indented correctly; expected 4 spaces but found 6
134 | ERROR | [x] Multi-line function call not indented correctly; expected 10 spaces but found 8
134 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
135 | ERROR | [x] Multi-line function call not indented correctly; expected 10 spaces but found 8
135 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
136 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 10
137 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 10
138 | ERROR | [x] Multi-line function call not indented correctly; expected 10 spaces but found 8
138 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
139 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 6
140 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4
141 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4
141 | ERROR | [ ] Expected "} else {\n"; found "}\n else {\n"
142 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
143 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
143 | ERROR | [x] Opening statement of multi-line function call not indented correctly; expected 4 spaces but found 6
144 | ERROR | [x] Multi-line function call not indented correctly; expected 10 spaces but found 8
144 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
145 | ERROR | [x] Multi-line function call not indented correctly; expected 10 spaces but found 8
145 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
146 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 10
147 | ERROR | [x] Multi-line function call not indented correctly; expected 10 spaces but found 8
147 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
148 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 6
149 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4
151 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
152 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
154 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
155 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
157 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
158 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
158 | ERROR | [x] TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
160 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
161 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
162 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
164 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
165 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4
166 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
167 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
168 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
169 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
170 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
170 | ERROR | [x] TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE"
171 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
172 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4
174 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
175 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
177 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
178 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
179 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
180 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
181 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
182 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
183 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
184 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
185 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
186 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
187 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
192 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
193 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
195 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
196 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
198 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
198 | ERROR | [ ] Doc comment for parameter "$form" missing
198 | ERROR | [ ] Doc comment for parameter "$form_state" missing
200 | ERROR | [ ] Missing @return tag in function comment
201 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
201 | ERROR | [x] Opening brace should be on a new line
202 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
203 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
205 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
206 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
207 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 6
209 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
210 | ERROR | [x] Line indented incorrectly; expected 12 spaces, found 8
211 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 10
212 | ERROR | [x] Line indented incorrectly; expected 12 spaces, found 8
213 | ERROR | [x] Line indented incorrectly; expected 12 spaces, found 8
213 | ERROR | [ ] Expected "} else {\n"; found "}\n else {\n"
214 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 10
214 | WARNING | [ ] Line exceeds 85 characters; contains 89 characters
215 | ERROR | [x] Line indented incorrectly; expected 12 spaces, found 8
217 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
218 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
220 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
221 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
222 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
224 | ERROR | [x] Line indented incorrectly; expected 12 spaces, found 8
225 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 10
226 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 10
227 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 10
229 | ERROR | [x] Line indented incorrectly; expected 16 spaces, found 10
230 | ERROR | [x] Line indented incorrectly; expected 20 spaces, found 12
231 | ERROR | [x] Line indented incorrectly; expected at least 24 spaces, found 14
231 | ERROR | [x] Space after opening parenthesis of function call prohibited
231 | WARNING | [ ] Line exceeds 85 characters; contains 119 characters
233 | ERROR | [x] Line indented incorrectly; expected 24 spaces, found 14
234 | ERROR | [x] Line indented incorrectly; expected at least 28 spaces, found 16
234 | WARNING | [ ] Line exceeds 85 characters; contains 89 characters
235 | ERROR | [x] Line indented incorrectly; expected 24 spaces, found 14
236 | ERROR | [x] Line indented incorrectly; expected 24 spaces, found 14
236 | ERROR | [ ] Expected "} else {\n"; found "}\n else {\n"
237 | ERROR | [x] Line indented incorrectly; expected at least 28 spaces, found 16
237 | WARNING | [ ] Line exceeds 85 characters; contains 88 characters
238 | ERROR | [x] Line indented incorrectly; expected 24 spaces, found 14
239 | ERROR | [x] Line indented incorrectly; expected 20 spaces, found 12
240 | ERROR | [x] Line indented incorrectly; expected 16 spaces, found 10
241 | ERROR | [x] Line indented incorrectly; expected 16 spaces, found 10
242 | ERROR | [x] Line indented incorrectly; expected at least 20 spaces, found 12
242 | ERROR | [x] Opening parenthesis of a multi-line function call must be the last content on the line
243 | ERROR | [x] Multi-line function call not indented correctly; expected 16 spaces but found 14
243 | ERROR | [x] Multi-line function call not indented correctly; expected 16 spaces but found 14
243 | ERROR | [x] Line indented incorrectly; expected at least 20 spaces, found 14
243 | WARNING | [ ] Line exceeds 85 characters; contains 103 characters
244 | ERROR | [x] Multi-line function call not indented correctly; expected 16 spaces but found 14
244 | ERROR | [x] Multi-line function call not indented correctly; expected 16 spaces but found 14
244 | ERROR | [x] Line indented incorrectly; expected at least 20 spaces, found 14
245 | ERROR | [x] Line indented incorrectly; expected at least 20 spaces, found 12
245 | ERROR | [x] Closing parenthesis of a multi-line function call must be on a line by itself
246 | ERROR | [x] Line indented incorrectly; expected 16 spaces, found 10
248 | ERROR | [x] Line indented incorrectly; expected 16 spaces, found 10
249 | ERROR | [x] Line indented incorrectly; expected at least 20 spaces, found 12
249 | ERROR | [x] Opening parenthesis of a multi-line function call must be the last content on the line
250 | ERROR | [x] Multi-line function call not indented correctly; expected 16 spaces but found 14
250 | ERROR | [x] Multi-line function call not indented correctly; expected 16 spaces but found 14
250 | ERROR | [x] Line indented incorrectly; expected at least 20 spaces, found 14
251 | ERROR | [x] Multi-line function call not indented correctly; expected 16 spaces but found 14
251 | ERROR | [x] Multi-line function call not indented correctly; expected 16 spaces but found 14
251 | ERROR | [x] Line indented incorrectly; expected at least 20 spaces, found 14
252 | ERROR | [x] Multi-line function call not indented correctly; expected 16 spaces but found 14
252 | ERROR | [x] Multi-line function call not indented correctly; expected 16 spaces but found 14
252 | ERROR | [x] Line indented incorrectly; expected at least 20 spaces, found 14
253 | ERROR | [x] Multi-line function call not indented correctly; expected 16 spaces but found 14
253 | ERROR | [x] Multi-line function call not indented correctly; expected 16 spaces but found 14
253 | ERROR | [x] Line indented incorrectly; expected at least 20 spaces, found 14
254 | ERROR | [x] Line indented incorrectly; expected at least 20 spaces, found 12
254 | ERROR | [x] Closing parenthesis of a multi-line function call must be on a line by itself
255 | ERROR | [x] Line indented incorrectly; expected 16 spaces, found 10
257 | ERROR | [x] Line indented incorrectly; expected 16 spaces, found 10
258 | ERROR | [x] Line indented incorrectly; expected at least 20 spaces, found 12
258 | ERROR | [x] Opening parenthesis of a multi-line function call must be the last content on the line
259 | ERROR | [x] Multi-line function call not indented correctly; expected 16 spaces but found 14
259 | ERROR | [x] Multi-line function call not indented correctly; expected 16 spaces but found 14
259 | ERROR | [x] Line indented incorrectly; expected at least 20 spaces, found 14
260 | ERROR | [x] Multi-line function call not indented correctly; expected 16 spaces but found 14
260 | ERROR | [x] Multi-line function call not indented correctly; expected 16 spaces but found 14
260 | ERROR | [x] Line indented incorrectly; expected at least 20 spaces, found 14
260 | WARNING | [ ] Line exceeds 85 characters; contains 113 characters
261 | ERROR | [x] Multi-line function call not indented correctly; expected 16 spaces but found 14
261 | ERROR | [x] Multi-line function call not indented correctly; expected 16 spaces but found 14
261 | ERROR | [x] Line indented incorrectly; expected at least 20 spaces, found 14
261 | WARNING | [ ] Line exceeds 85 characters; contains 114 characters
262 | ERROR | [x] Multi-line function call not indented correctly; expected 16 spaces but found 14
262 | ERROR | [x] Multi-line function call not indented correctly; expected 16 spaces but found 14
262 | ERROR | [x] Line indented incorrectly; expected at least 20 spaces, found 14
263 | ERROR | [x] Line indented incorrectly; expected at least 20 spaces, found 12
263 | ERROR | [x] Closing parenthesis of a multi-line function call must be on a line by itself
264 | ERROR | [x] Line indented incorrectly; expected 16 spaces, found 10
265 | ERROR | [x] Line indented incorrectly; expected 12 spaces, found 8
266 | ERROR | [x] Line indented incorrectly; expected 12 spaces, found 8
266 | ERROR | [ ] Expected "} else {\n"; found "}\n else {\n"
267 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 10
267 | ERROR | [x] Opening statement of multi-line function call not indented correctly; expected 8 spaces but found 10
267 | ERROR | [x] Opening statement of multi-line function call not indented correctly; expected 8 spaces but found 10
267 | ERROR | [x] Opening parenthesis of a multi-line function call must be the last content on the line
268 | ERROR | [x] Multi-line function call not indented correctly; expected 14 spaces but found 12
268 | ERROR | [x] Multi-line function call not indented correctly; expected 14 spaces but found 12
268 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 12
269 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 10
269 | ERROR | [x] Closing parenthesis of a multi-line function call must be on a line by itself
270 | ERROR | [x] Line indented incorrectly; expected 12 spaces, found 8
271 | ERROR | [x] Case breaking statement indented incorrectly; expected 10 spaces, found 8
273 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 6
274 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
275 | ERROR | [x] Case breaking statement indented incorrectly; expected 10 spaces, found 8
277 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 6
278 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
278 | ERROR | [x] Opening parenthesis of a multi-line function call must be the last content on the line
279 | ERROR | [x] Multi-line function call not indented correctly; expected 12 spaces but found 10
279 | ERROR | [x] Multi-line function call not indented correctly; expected 12 spaces but found 10
279 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 10
280 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
280 | ERROR | [x] Closing parenthesis of a multi-line function call must be on a line by itself
281 | ERROR | [x] Case breaking statement indented incorrectly; expected 10 spaces, found 8
282 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4
283 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
285 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
285 | ERROR | [ ] Doc comment for parameter "$form" missing
285 | ERROR | [ ] Doc comment for parameter "$form_state" missing
287 | ERROR | [ ] Missing @return tag in function comment
288 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
288 | ERROR | [x] Opening brace should be on a new line
289 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
290 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
291 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
293 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
295 | ERROR | [ ] Missing @return tag in function comment
296 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
296 | ERROR | [x] Opening brace should be on a new line
297 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4
298 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
300 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
300 | ERROR | [x] Opening statement of multi-line function call not indented correctly; expected 4 spaces but found 6
300 | ERROR | [x] Opening parenthesis of a multi-line function call must be the last content on the line
301 | ERROR | [x] Multi-line function call not indented correctly; expected 10 spaces but found 8
301 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 8
302 | ERROR | [x] Line indented incorrectly; expected 12 spaces, found 6
302 | ERROR | [x] Closing parenthesis of a multi-line function call must be on a line by itself
304 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 6
305 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 6
306 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 6
307 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 6
309 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 6
310 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4
312 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
313 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
--------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 277 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------------------------
FILE: /var/www/project/send_emails/src/EmailApi.php
---------------------------------------------------------------------------------------------------------------------------
FOUND 429 ERRORS AND 23 WARNINGS AFFECTING 316 LINES
---------------------------------------------------------------------------------------------------------------------------
3 | ERROR | [ ] Missing short description in doc comment
6 | WARNING | [ ] PHP version not specified
6 | ERROR | [ ] Missing @category tag in file comment
6 | ERROR | [ ] Missing @package tag in file comment
6 | ERROR | [ ] Missing @author tag in file comment
6 | ERROR | [ ] Missing @license tag in file comment
6 | ERROR | [ ] Missing @link tag in file comment
31 | ERROR | [ ] Missing @category tag in class comment
31 | ERROR | [ ] Missing @author tag in class comment
31 | ERROR | [ ] Missing @license tag in class comment
31 | ERROR | [ ] Missing @link tag in class comment
32 | ERROR | [x] Opening brace of a class must be on the line after the definition
33 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
35 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
36 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
37 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
38 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
40 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
41 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
41 | ERROR | [ ] Private member variable "emailConfig" must be prefixed with an underscore
42 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
42 | ERROR | [ ] Private member variable "logger" must be prefixed with an underscore
44 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
47 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
49 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
49 | ERROR | [ ] Missing short description in doc comment
52 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
52 | ERROR | [ ] Private member variable "bodyTemplateOverride" must be prefixed with an underscore
54 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
54 | ERROR | [ ] Missing short description in doc comment
57 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
57 | ERROR | [ ] Private member variable "subjectTemplateOverride" must be prefixed with an underscore
59 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
59 | ERROR | [ ] Doc comment for parameter "$entity_type_manager" missing
59 | ERROR | [ ] Doc comment for parameter "$mail_manager" missing
59 | ERROR | [ ] Doc comment for parameter "$config" missing
59 | ERROR | [ ] Doc comment for parameter "$logger" missing
59 | ERROR | [ ] Doc comment for parameter "$connection" missing
59 | ERROR | [ ] Doc comment for parameter "$dateFormatter" missing
62 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
62 | WARNING | [ ] Line exceeds 85 characters; contains 214 characters
62 | ERROR | [x] Opening brace should be on a new line
63 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
64 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
65 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
66 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
68 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
69 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
71 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
73 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
75 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
76 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
78 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
79 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
80 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
82 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
85 | WARNING | [ ] Line exceeds 85 characters; contains 97 characters
86 | ERROR | [x] Expected 5 spaces after parameter name; 1 found
87 | ERROR | [x] Expected 2 spaces after parameter name; 1 found
88 | ERROR | [x] Expected 6 spaces after parameter name; 1 found
89 | ERROR | [ ] Missing @return tag in function comment
90 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
90 | WARNING | [ ] Line exceeds 85 characters; contains 118 characters
90 | ERROR | [x] Opening brace should be on a new line
92 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
93 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
93 | ERROR | [x] Object operator not indented correctly; expected 8 spaces but found 6
94 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
94 | ERROR | [x] Object operator not indented correctly; expected 8 spaces but found 6
94 | ERROR | [x] Opening statement of multi-line function call not indented correctly; expected 4 spaces but found 6
94 | ERROR | [x] Opening parenthesis of a multi-line function call must be the last content on the line
95 | ERROR | [x] Multi-line function call not indented correctly; expected 10 spaces but found 8
96 | ERROR | [x] Multi-line function call not indented correctly; expected 10 spaces but found 8
97 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
97 | ERROR | [x] Closing parenthesis of a multi-line function call must be on a line by itself
99 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
100 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
102 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
105 | ERROR | [x] Expected 7 spaces after parameter name; 1 found
106 | ERROR | [x] Expected 4 spaces after parameter name; 1 found
108 | ERROR | [x] Expected 5 spaces after parameter name; 1 found
109 | ERROR | [ ] Missing @return tag in function comment
110 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
110 | WARNING | [ ] Line exceeds 85 characters; contains 106 characters
110 | ERROR | [x] Opening brace should be on a new line
111 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
113 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4
113 | ERROR | [ ] Expected "foreach (...) {\n"; found "foreach (...){\n"
114 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
115 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
117 | ERROR | [x] Line indented incorrectly; expected 12 spaces, found 8
118 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 12
118 | WARNING | [ ] Line exceeds 85 characters; contains 87 characters
119 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 12
120 | ERROR | [x] Line indented incorrectly; expected 12 spaces, found 8
122 | ERROR | [x] Line indented incorrectly; expected 12 spaces, found 8
123 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 10
124 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 10
124 | ERROR | [x] Opening statement of multi-line function call not indented correctly; expected 8 spaces but found 10
125 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 14
125 | ERROR | [x] Opening statement of multi-line function call not indented correctly; expected 12 spaces but found 14
125 | ERROR | [x] Opening parenthesis of a multi-line function call must be the last content on the line
126 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 14
126 | WARNING | [ ] Line exceeds 85 characters; contains 100 characters
126 | ERROR | [x] Closing parenthesis of a multi-line function call must be on a line by itself
127 | ERROR | [x] Line indented incorrectly; expected at least 20 spaces, found 10
128 | ERROR | [x] Line indented incorrectly; expected 12 spaces, found 8
129 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4
131 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
132 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
134 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
134 | ERROR | [ ] Doc comment for parameter "$emailDetails" missing
137 | ERROR | [ ] Doc comment for parameter $details does not match actual variable name $emailDetails
137 | ERROR | [x] Expected 5 spaces after parameter name; 1 found
138 | ERROR | [x] Expected 4 spaces after parameter name; 1 found
140 | ERROR | [x] Expected 5 spaces after parameter name; 1 found
141 | ERROR | [x] Expected 8 spaces after parameter name; 1 found
142 | ERROR | [ ] Missing @return tag in function comment
143 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
143 | WARNING | [ ] Line exceeds 85 characters; contains 133 characters
143 | ERROR | [x] Opening brace should be on a new line
144 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
146 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
147 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
149 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4
150 | ERROR | [x] Line indented incorrectly; expected 12 spaces, found 8
151 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 10
152 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 10
153 | ERROR | [x] Line indented incorrectly; expected 12 spaces, found 8
154 | ERROR | [x] Line indented incorrectly; expected 12 spaces, found 8
154 | ERROR | [ ] Expected "} else {\n"; found "}\n else {\n"
155 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 10
156 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 10
158 | ERROR | [x] Line indented incorrectly; expected 16 spaces, found 10
159 | ERROR | [x] Line indented incorrectly; expected at least 20 spaces, found 14
159 | WARNING | [ ] Line exceeds 85 characters; contains 104 characters
160 | ERROR | [x] Line indented incorrectly; expected at least 20 spaces, found 14
161 | ERROR | [x] Line indented incorrectly; expected 16 spaces, found 10
163 | ERROR | [x] Line indented incorrectly; expected 16 spaces, found 10
164 | ERROR | [x] Line indented incorrectly; expected at least 20 spaces, found 12
165 | ERROR | [x] Line indented incorrectly; expected at least 20 spaces, found 12
165 | WARNING | [ ] Line exceeds 85 characters; contains 87 characters
166 | ERROR | [x] Line indented incorrectly; expected 16 spaces, found 10
167 | ERROR | [x] Line indented incorrectly; expected 12 spaces, found 8
169 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4
171 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4
172 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
172 | ERROR | [x] Opening statement of multi-line function call not indented correctly; expected 4 spaces but found 6
173 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 10
173 | ERROR | [x] Opening statement of multi-line function call not indented correctly; expected 8 spaces but found 10
173 | ERROR | [x] Opening parenthesis of a multi-line function call must be the last content on the line
174 | ERROR | [x] Multi-line function call not indented correctly; expected 6 spaces but found 10
174 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 10
174 | ERROR | [x] Closing parenthesis of a multi-line function call must be on a line by itself
174 | ERROR | [x] Closing parenthesis of a multi-line function call must be on a line by itself
175 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4
177 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4
178 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
178 | ERROR | [x] Opening statement of multi-line function call not indented correctly; expected 4 spaces but found 6
179 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 10
179 | ERROR | [x] Opening statement of multi-line function call not indented correctly; expected 8 spaces but found 10
179 | ERROR | [x] Opening parenthesis of a multi-line function call must be the last content on the line
180 | ERROR | [x] Multi-line function call not indented correctly; expected 6 spaces but found 10
180 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 10
180 | ERROR | [x] Closing parenthesis of a multi-line function call must be on a line by itself
180 | ERROR | [x] Closing parenthesis of a multi-line function call must be on a line by itself
180 | WARNING | [ ] Line exceeds 85 characters; contains 89 characters
181 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 6
181 | ERROR | [x] Opening statement of multi-line function call not indented correctly; expected 4 spaces but found 6
182 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 10
182 | ERROR | [x] Opening statement of multi-line function call not indented correctly; expected 8 spaces but found 10
182 | ERROR | [x] Opening parenthesis of a multi-line function call must be the last content on the line
183 | ERROR | [x] Multi-line function call not indented correctly; expected 6 spaces but found 10
183 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 10
183 | ERROR | [x] Closing parenthesis of a multi-line function call must be on a line by itself
183 | ERROR | [x] Closing parenthesis of a multi-line function call must be on a line by itself
184 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4
186 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
187 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
189 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
192 | ERROR | [x] Expected 8 spaces after parameter name; 1 found
193 | ERROR | [x] Expected 4 spaces after parameter name; 1 found
195 | ERROR | [x] Expected 5 spaces after parameter name; 1 found
196 | ERROR | [x] Expected 8 spaces after parameter name; 1 found
197 | ERROR | [x] Expected 5 spaces after parameter name; 1 found
201 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
201 | WARNING | [ ] Line exceeds 85 characters; contains 143 characters
201 | ERROR | [x] Opening brace should be on a new line
203 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
204 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4
204 | ERROR | [x] First condition of a multi-line IF statement must directly follow the opening parenthesis
205 | ERROR | [x] Line indented incorrectly; expected 12 spaces, found 6
206 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 8
207 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 8
208 | ERROR | [x] Line indented incorrectly; expected 12 spaces, found 6
209 | ERROR | [x] Line indented incorrectly; expected 12 spaces, found 6
209 | ERROR | [ ] Expected "} else {\n"; found "}\n else {\n"
210 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 8
211 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 8
212 | ERROR | [x] Line indented incorrectly; expected 12 spaces, found 6
213 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4
215 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
216 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
217 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
217 | WARNING | [ ] Line exceeds 85 characters; contains 101 characters
218 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
218 | ERROR | [x] TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE"
218 | WARNING | [ ] Line exceeds 85 characters; contains 87 characters
220 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
221 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
226 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
228 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
229 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
230 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
231 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
232 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
234 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4
235 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
235 | ERROR | [x] Opening statement of multi-line function call not indented correctly; expected 4 spaces but found 6
236 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 10
236 | ERROR | [x] Opening statement of multi-line function call not indented correctly; expected 8 spaces but found 10
236 | ERROR | [x] Opening parenthesis of a multi-line function call must be the last content on the line
236 | WARNING | [ ] Line exceeds 85 characters; contains 102 characters
237 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 10
237 | WARNING | [ ] Line exceeds 85 characters; contains 101 characters
237 | ERROR | [x] Closing parenthesis of a multi-line function call must be on a line by itself
238 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 6
239 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 6
240 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4
241 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4
241 | ERROR | [ ] Expected "} else {\n"; found "}\n else {\n"
242 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
242 | WARNING | [ ] Line exceeds 85 characters; contains 94 characters
243 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4
245 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
246 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
248 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
248 | ERROR | [ ] Doc comment for parameter "$data" missing
251 | ERROR | [x] Expected 4 spaces after parameter name; 1 found
252 | ERROR | [x] Expected 4 spaces after parameter name; 1 found
254 | ERROR | [x] Expected 5 spaces after parameter name; 1 found
260 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
260 | WARNING | [ ] Line exceeds 85 characters; contains 132 characters
260 | ERROR | [x] Opening brace should be on a new line
262 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4
263 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
264 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4
266 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
267 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4
268 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
268 | WARNING | [ ] Line exceeds 85 characters; contains 92 characters
269 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4
271 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4
272 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
273 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4
275 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
276 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4
276 | ERROR | [x] No space found after comma in argument list
276 | ERROR | [x] No space found after comma in argument list
277 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
278 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4
280 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
281 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
282 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
283 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
285 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
286 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
287 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
289 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
290 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
293 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
293 | ERROR | [ ] Doc comment for parameter "$to" missing
293 | ERROR | [ ] Doc comment for parameter "$subject" missing
293 | ERROR | [ ] Doc comment for parameter "$body" missing
297 | ERROR | [ ] There must be no blank lines after the function comment
299 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
299 | ERROR | [x] Opening brace should be on a new line
300 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
301 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
302 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
303 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
304 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
305 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
306 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
306 | ERROR | [x] TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE"
307 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
308 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
308 | ERROR | [x] TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE"
310 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
311 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
313 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
314 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
316 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
316 | ERROR | [ ] Doc comment for parameter "$to" missing
316 | ERROR | [ ] Doc comment for parameter "$template" missing
316 | ERROR | [ ] Doc comment for parameter "$data" missing
316 | ERROR | [ ] Doc comment for parameter "$replyTo" missing
316 | ERROR | [ ] Doc comment for parameter "$send" missing
318 | ERROR | [ ] Missing @return tag in function comment
319 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
319 | ERROR | [x] TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
319 | ERROR | [x] TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE"
319 | WARNING | [ ] Line exceeds 85 characters; contains 110 characters
319 | ERROR | [x] Opening brace should be on a new line
321 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
322 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
324 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
324 | ERROR | [ ] Doc comment for parameter "$to" missing
324 | ERROR | [ ] Doc comment for parameter "$template" missing
324 | ERROR | [ ] Doc comment for parameter "$data" missing
324 | ERROR | [ ] Doc comment for parameter "$replyTo" missing
324 | ERROR | [ ] Doc comment for parameter "$send" missing
329 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
329 | ERROR | [ ] Private method name "EmailApi::sendTemplate" must be prefixed with an underscore
329 | ERROR | [x] TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE"
329 | WARNING | [ ] Line exceeds 85 characters; contains 104 characters
329 | ERROR | [x] Opening brace should be on a new line
331 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4
331 | ERROR | [x] First condition of a multi-line IF statement must directly follow the opening parenthesis
332 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
332 | ERROR | [x] Opening statement of multi-line function call not indented correctly; expected 4 spaces but found 6
332 | ERROR | [x] Opening parenthesis of a multi-line function call must be the last content on the line
333 | ERROR | [x] Multi-line function call not indented correctly; expected 10 spaces but found 8
333 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
334 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
334 | ERROR | [x] Closing parenthesis of a multi-line function call must be on a line by itself
335 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 6
336 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4
338 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
339 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4
340 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
341 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4
343 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
344 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
345 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
347 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
348 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
349 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
351 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
352 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
353 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
354 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
355 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
356 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
357 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
357 | ERROR | [x] TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE"
358 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
360 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
361 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
362 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
363 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
364 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
365 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
366 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
366 | ERROR | [x] TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE"
368 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
368 | ERROR | [x] TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
368 | WARNING | [ ] Line exceeds 85 characters; contains 86 characters
370 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
372 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
374 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
374 | ERROR | [ ] Doc comment for parameter "$bodyTemplateOverride" missing
376 | ERROR | [x] There must be exactly one blank line before the tags in a doc comment
377 | ERROR | [ ] Missing @return tag in function comment
378 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
378 | ERROR | [x] Opening brace should be on a new line
379 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
380 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
382 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
382 | ERROR | [ ] Doc comment for parameter "$template" missing
382 | ERROR | [ ] Doc comment for parameter "$data" missing
384 | ERROR | [ ] Missing @return tag in function comment
385 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
385 | ERROR | [ ] Private method name "EmailApi::getBodyFromTemplate" must be prefixed with an underscore
385 | ERROR | [x] Opening brace should be on a new line
386 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
387 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4
388 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
389 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4
390 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4
390 | ERROR | [ ] Expected "} else {\n"; found "}\n else {\n"
391 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
392 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4
394 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
394 | WARNING | [ ] Line exceeds 85 characters; contains 94 characters
395 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
396 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
397 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
398 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
399 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
401 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
402 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
404 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
404 | ERROR | [ ] Doc comment for parameter "$subjectTemplateOverride" missing
406 | ERROR | [x] There must be exactly one blank line before the tags in a doc comment
407 | ERROR | [ ] Missing @return tag in function comment
408 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
408 | ERROR | [x] Opening brace should be on a new line
409 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
410 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
412 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
412 | ERROR | [ ] Doc comment for parameter "$template" missing
412 | ERROR | [ ] Doc comment for parameter "$data" missing
414 | ERROR | [ ] Missing @return tag in function comment
415 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
415 | ERROR | [ ] Private method name "EmailApi::getSubjectFromTemplate" must be prefixed with an underscore
415 | ERROR | [x] Opening brace should be on a new line
416 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
417 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4
418 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
419 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4
420 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4
420 | ERROR | [ ] Expected "} else {\n"; found "}\n else {\n"
421 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
422 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4
424 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
425 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
426 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
427 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
428 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
430 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
431 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
433 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
433 | ERROR | [ ] Doc comment for parameter "$replyTo" missing
437 | ERROR | [ ] There must be no blank lines after the function comment
439 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
439 | ERROR | [ ] Private method name "EmailApi::getHeaders" must be prefixed with an underscore
439 | ERROR | [x] Opening brace should be on a new line
440 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
441 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
442 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
443 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
444 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
445 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
446 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
448 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
449 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
450 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
451 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
452 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
453 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
454 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
456 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
457 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
459 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
463 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 0
464 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 0
465 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 0
466 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 0
467 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 0
468 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 0
469 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 0
---------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 364 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------------------------------
FILE: /var/www/project/send_emails/src/Form/MinimalEmailSettings.php
---------------------------------------------------------------------------------------------
FOUND 41 ERRORS AND 4 WARNINGS AFFECTING 30 LINES
---------------------------------------------------------------------------------------------
2 | ERROR | [ ] Missing short description in doc comment
5 | WARNING | [ ] PHP version not specified
5 | ERROR | [ ] Missing @category tag in file comment
5 | ERROR | [ ] Missing @package tag in file comment
5 | ERROR | [ ] Missing @author tag in file comment
5 | ERROR | [ ] Missing @license tag in file comment
5 | ERROR | [ ] Missing @link tag in file comment
21 | ERROR | [ ] Missing doc comment for class MinimalEmailSettings
21 | ERROR | [x] Opening brace of a class must be on the line after the definition
23 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
27 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
29 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
31 | ERROR | [ ] Missing @return tag in function comment
32 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
32 | ERROR | [x] Opening brace should be on a new line
33 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
34 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
36 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
36 | ERROR | [ ] Doc comment for parameter "$form" missing
36 | ERROR | [ ] Doc comment for parameter "$form_state" missing
36 | ERROR | [ ] Doc comment for parameter "$starts_with" missing
38 | ERROR | [ ] Missing @return tag in function comment
39 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
39 | ERROR | [x] TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
39 | WARNING | [ ] Line exceeds 85 characters; contains 95 characters
39 | ERROR | [x] Opening brace should be on a new line
41 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
43 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
43 | WARNING | [ ] Line exceeds 85 characters; contains 111 characters
45 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
47 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
51 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 3
52 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 4
53 | ERROR | [x] Line indented incorrectly; expected 12 spaces, found 4
54 | ERROR | [x] Line indented incorrectly; expected 16 spaces, found 6
54 | WARNING | [ ] Line exceeds 85 characters; contains 90 characters
55 | ERROR | [x] Line indented incorrectly; expected at least 20 spaces, found 8
56 | ERROR | [x] Line indented incorrectly; expected 16 spaces, found 6
58 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 6
59 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 6
60 | ERROR | [x] Line indented incorrectly; expected 12 spaces, found 4
61 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 3
63 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 3
65 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
66 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
---------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 29 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------
FILE: /var/www/project/send_emails/src/Form/EmailSettings.php
--------------------------------------------------------------------------------------------------------------------------
FOUND 301 ERRORS AND 20 WARNINGS AFFECTING 242 LINES
--------------------------------------------------------------------------------------------------------------------------
2 | ERROR | [ ] Missing short description in doc comment
5 | WARNING | [ ] PHP version not specified
5 | ERROR | [ ] Missing @category tag in file comment
5 | ERROR | [ ] Missing @package tag in file comment
5 | ERROR | [ ] Missing @author tag in file comment
5 | ERROR | [ ] Missing @license tag in file comment
5 | ERROR | [ ] Missing @link tag in file comment
22 | ERROR | [ ] Missing doc comment for class EmailSettings
22 | ERROR | [x] Opening brace of a class must be on the line after the definition
23 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
28 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
30 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
30 | ERROR | [ ] Missing short description in doc comment
31 | ERROR | [x] Expected 3 space(s) before asterisk; 4 found
32 | ERROR | [x] Expected 3 space(s) before asterisk; 4 found
33 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
35 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
35 | ERROR | [ ] Missing short description in doc comment
36 | ERROR | [x] Expected 3 space(s) before asterisk; 4 found
37 | ERROR | [x] Expected 3 space(s) before asterisk; 4 found
38 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
40 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
45 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
47 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
47 | ERROR | [ ] Doc comment for parameter "$config_factory" missing
47 | ERROR | [ ] Doc comment for parameter "$entityTypeManager" missing
47 | ERROR | [ ] Doc comment for parameter "$dateFormatter" missing
47 | ERROR | [ ] Doc comment for parameter "$cacheRender" missing
50 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
50 | WARNING | [ ] Line exceeds 85 characters; contains 184 characters
50 | ERROR | [x] Opening brace should be on a new line
51 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
52 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
53 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
55 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
56 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
57 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
58 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
60 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
60 | ERROR | [ ] Doc comment for parameter "$container" missing
62 | ERROR | [ ] Missing @return tag in function comment
63 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
63 | ERROR | [x] Opening brace should be on a new line
64 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
65 | ERROR | [x] Multi-line function call not indented correctly; expected 8 spaces but found 6
65 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
66 | ERROR | [x] Multi-line function call not indented correctly; expected 8 spaces but found 6
66 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
67 | ERROR | [x] Multi-line function call not indented correctly; expected 8 spaces but found 6
67 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
68 | ERROR | [x] Multi-line function call not indented correctly; expected 8 spaces but found 6
68 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
69 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
70 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
72 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
74 | ERROR | [ ] Missing @return tag in function comment
75 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
75 | ERROR | [x] Opening brace should be on a new line
76 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
77 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
79 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
81 | ERROR | [ ] Missing @return tag in function comment
82 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
82 | ERROR | [x] Opening brace should be on a new line
83 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
84 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
86 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
88 | ERROR | [ ] Missing @return tag in function comment
89 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
89 | ERROR | [x] Opening brace should be on a new line
90 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
91 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
92 | WARNING | [ ] Line exceeds 85 characters; contains 87 characters
93 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
94 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
94 | WARNING | [ ] Line exceeds 85 characters; contains 110 characters
95 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
96 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
98 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
98 | ERROR | [ ] Doc comment for parameter "$form" missing
98 | ERROR | [ ] Doc comment for parameter "$form_state" missing
98 | ERROR | [ ] Doc comment for parameter "$type" missing
100 | ERROR | [ ] Missing @return tag in function comment
101 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
101 | ERROR | [x] TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
101 | WARNING | [ ] Line exceeds 85 characters; contains 88 characters
101 | ERROR | [x] Opening brace should be on a new line
103 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
105 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
109 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
111 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4
113 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
114 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
116 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
119 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
120 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
121 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
121 | WARNING | [ ] Line exceeds 85 characters; contains 91 characters
122 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
122 | WARNING | [ ] Line exceeds 85 characters; contains 95 characters
123 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
123 | ERROR | [x] TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE"
124 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
124 | ERROR | [x] TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE"
125 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
127 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
128 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
129 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
130 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
130 | WARNING | [ ] Line exceeds 85 characters; contains 90 characters
131 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
133 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
134 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
135 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
136 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
137 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
139 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
140 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
141 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
142 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
143 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
144 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
145 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
146 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
147 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
149 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
149 | ERROR | [ ] Multi-line assignments must have the equal sign on the second line
150 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
152 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
152 | WARNING | [ ] Line exceeds 85 characters; contains 107 characters
154 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
154 | WARNING | [ ] Line exceeds 85 characters; contains 105 characters
155 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
156 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
158 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
160 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
162 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
163 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
164 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
165 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
166 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
167 | ERROR | [x] Multi-line function call not indented correctly; expected 12 spaces but found 10
167 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 10
167 | WARNING | [ ] Line exceeds 85 characters; contains 93 characters
168 | ERROR | [x] Multi-line function call not indented correctly; expected 8 spaces but found 10
168 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 10
168 | ERROR | [x] Closing parenthesis of a multi-line function call must be on a line by itself
169 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 8
170 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
172 | ERROR | [x] Line indented incorrectly; expected 12 spaces, found 6
173 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 8
174 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 10
175 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 10
175 | WARNING | [ ] Line exceeds 85 characters; contains 95 characters
176 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 10
177 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 8
178 | ERROR | [x] Line indented incorrectly; expected 12 spaces, found 6
180 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
181 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
182 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
183 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
184 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
185 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
186 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
187 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4
190 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
193 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
194 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
195 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
196 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
196 | ERROR | [x] TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE"
197 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
197 | WARNING | [ ] Line exceeds 85 characters; contains 86 characters
198 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
200 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
201 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
202 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
203 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
203 | ERROR | [x] Opening statement of multi-line function call not indented correctly; expected 4 spaces but found 6
204 | ERROR | [x] Multi-line function call not indented correctly; expected 10 spaces but found 8
204 | WARNING | [ ] Line exceeds 85 characters; contains 96 characters
205 | ERROR | [x] Multi-line function call not indented correctly; expected 6 spaces but found 8
205 | ERROR | [x] Closing parenthesis of a multi-line function call must be on a line by itself
206 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
207 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
209 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
212 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
213 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
214 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
215 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
216 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
217 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
218 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
220 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
221 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
223 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
223 | ERROR | [ ] Doc comment for parameter "$form" missing
223 | ERROR | [ ] Doc comment for parameter "$form_state" missing
225 | ERROR | [ ] Missing @return tag in function comment
226 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
226 | ERROR | [x] Opening brace should be on a new line
227 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
229 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
230 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
231 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
233 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4
234 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
235 | ERROR | [x] Line indented incorrectly; expected 12 spaces, found 6
236 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 8
238 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 8
239 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 8
240 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 8
241 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 8
242 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 8
243 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 8
244 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 8
245 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 8
247 | ERROR | [x] Line indented incorrectly; expected 16 spaces, found 8
247 | ERROR | [x] TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
248 | ERROR | [x] Line indented incorrectly; expected at least 20 spaces, found 10
248 | ERROR | [x] Opening statement of multi-line function call not indented correctly; expected 8 spaces but found 10
249 | ERROR | [x] Multi-line function call not indented correctly; expected 14 spaces but found 12
249 | ERROR | [x] Line indented incorrectly; expected at least 20 spaces, found 12
250 | ERROR | [x] Multi-line function call not indented correctly; expected 14 spaces but found 12
250 | ERROR | [x] Line indented incorrectly; expected at least 20 spaces, found 12
250 | ERROR | [x] Opening parenthesis of a multi-line function call must be the last content on the line
251 | ERROR | [x] Multi-line function call not indented correctly; expected 12 spaces but found 21
251 | ERROR | [x] Closing parenthesis of a multi-line function call must be on a line by itself
252 | ERROR | [x] Line indented incorrectly; expected at least 28 spaces, found 10
253 | ERROR | [x] Line indented incorrectly; expected 16 spaces, found 8
254 | ERROR | [x] Line indented incorrectly; expected 12 spaces, found 6
255 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4
257 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
258 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
259 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
260 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
261 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
263 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
264 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
265 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
266 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
267 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
268 | WARNING | [ ] Line exceeds 85 characters; contains 144 characters
268 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
269 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
270 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
271 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
273 | ERROR | [x] Line indented incorrectly; expected at least 4 spaces, found 2
273 | ERROR | [ ] Doc comment for parameter "$form" missing
273 | ERROR | [ ] Doc comment for parameter "$form_state" missing
275 | ERROR | [ ] Missing @return tag in function comment
276 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
276 | ERROR | [x] Opening brace should be on a new line
277 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
279 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
280 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
282 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
283 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
285 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
286 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4
287 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
288 | ERROR | [x] Line indented incorrectly; expected 12 spaces, found 6
289 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 8
290 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 8
291 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 8
293 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 8
294 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 8
295 | ERROR | [x] Line indented incorrectly; expected 16 spaces, found 8
296 | ERROR | [x] Line indented incorrectly; expected at least 20 spaces, found 10
297 | ERROR | [x] Line indented incorrectly; expected 16 spaces, found 8
298 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 8
299 | ERROR | [x] Line indented incorrectly; expected 12 spaces, found 6
300 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4
302 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
303 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4
304 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
306 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
307 | ERROR | [x] Line indented incorrectly; expected 12 spaces, found 6
307 | ERROR | [ ] Expected "if (...) {\n"; found "if (...) { "
307 | ERROR | [x] Closing brace must be on a line by itself
309 | ERROR | [x] Line indented incorrectly; expected 12 spaces, found 6
309 | ERROR | [x] First condition of a multi-line IF statement must directly follow the opening parenthesis
309 | WARNING | [ ] Line exceeds 85 characters; contains 142 characters
310 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 8
311 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 8
313 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 8
314 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 8
315 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 8
317 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 8
318 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 8
318 | WARNING | [ ] Line exceeds 85 characters; contains 118 characters
319 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 8
320 | ERROR | [x] Line indented incorrectly; expected 12 spaces, found 6
321 | ERROR | [x] Line indented incorrectly; expected 12 spaces, found 6
321 | ERROR | [ ] Expected "} else {\n"; found "}\n else {\n"
322 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 8
322 | ERROR | [x] Opening parenthesis of a multi-line function call must be the last content on the line
322 | ERROR | [x] Opening parenthesis of a multi-line function call must be the last content on the line
322 | WARNING | [ ] Line exceeds 85 characters; contains 104 characters
323 | ERROR | [x] Multi-line function call not indented correctly; expected 12 spaces but found 10
323 | ERROR | [x] Multi-line function call not indented correctly; expected 12 spaces but found 10
323 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 10
324 | ERROR | [x] Multi-line function call not indented correctly; expected 12 spaces but found 10
324 | ERROR | [x] Multi-line function call not indented correctly; expected 12 spaces but found 10
324 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 10
324 | WARNING | [ ] Line exceeds 85 characters; contains 114 characters
325 | ERROR | [x] Line indented incorrectly; expected at least 16 spaces, found 8
325 | ERROR | [x] Closing parenthesis of a multi-line function call must be on a line by itself
325 | ERROR | [x] Closing parenthesis of a multi-line function call must be on a line by itself
326 | ERROR | [x] Line indented incorrectly; expected 12 spaces, found 6
327 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4
329 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
330 | WARNING | [ ] Line exceeds 85 characters; contains 91 characters
330 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 0
331 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 0
332 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 0
333 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 0
334 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 0
336 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
337 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 3
337 | ERROR | [x] Closing brace indented incorrectly; expected 2 spaces, found 3
--------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 270 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------------------------
Time: 156ms; Memory: 8MB
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | phpcs-coding-standards-3294677-5.patch | 66.96 KB | akshaydalvi212 |
| phpcs-standard-coding-issue.patch | 74.67 KB | heni_deepak |
Issue fork send_emails-3294677
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
akshaydalvi212 commentedHello,
I will review this patch.
Comment #3
akshaydalvi212 commentedHello,
After applying the patch, still getting some PHP drupal coding standard errors and warnings as below:

Will resolve the remaining errors and warnings and will provide the patch for the module.
Comment #4
nathan tsai commentedWhoops, as a new module maintainer, didn't know about PHP CodeSniffer/Coder.
I will install it on my local machine shortly!
Thank you for raising the issue, heni_deepak, and starting on a patch, akshaydalvi212.
Comment #5
akshaydalvi212 commentedHello,
Providing the patch which will eliminate the phpcs coding standard errors and warnings.
some errors and warnings need to be resolved by the module maintainer (Nathan Tsai).
Comment #6
heni_deepak commented@nathan-tsai
Apply patch. And try to minimize errors. It's not a big deal if you don't minimize 100%, but try to make the necessary changes.
Comment #7
damiaosj commentedHello! I'll review this one.
Comment #8
shamir.vs commentedpatch #5 applied successfully, as @akshaydalvi212 mentioned few errors need to be fixed by the maintainer
FILE: /home/shamir/Projects/drupal9/drupal-contributions-9.x/web/modules/contrib/send_emails/modules/send_emails_manual/send_emails_manual.module
-------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------
3 | ERROR | Missing short description in doc comment
-------------------------------------------------------------------------------------------------------------------------------------------------
FILE: /home/shamir/Projects/drupal9/drupal-contributions-9.x/web/modules/contrib/send_emails/modules/send_emails_manual/src/Form/EmailManualSendByRole.php
----------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------------------------------------------------------
125 | ERROR | Class property $email_to_send should use lowerCamel naming without underscores
----------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: /home/shamir/Projects/drupal9/drupal-contributions-9.x/web/modules/contrib/send_emails/src/Form/MinimalEmailSettings.php
------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------
19 | ERROR | Class property $starts_with should use lowerCamel naming without underscores
------------------------------------------------------------------------------------------------------------------------------
Comment #10
damiaosj commentedHi guys! I've applied the patch and made some other fixes in the PHPCS warnings. Also I made another branch to create a Merge Request with that change.
Just one more warning continues to show:
Unfortunately I couldn't fix this dependency injection alert... If anyone with more expertise could review this will be nice.
Comment #11
nathan tsai commentedFixed in e26ee042.
Thank you for resolving the other issues :)
Comment #12
nathan tsai commentedThank you damiaosj, shamir.vs, heni_deepak, and akshaydalvi212 for all your help.
Is there anything else to do before I create another alpha release next week?
Comment #13
heni_deepak commentedYou can follow Drupal standard coding. Alpha is an introductory module that will get better day by day
Comment #14
nathan tsai commentedSorry for the delay. Released another alpha:
https://www.drupal.org/project/send_emails/releases/2.0.0-alpha2