Fix the issue reported by phpcs

Created on 28 September 2023, about 1 year ago
Updated 28 June 2024, 5 months ago

Problem/Motivation

Getting following error/warnings:

FILE: D:\xampp\htdocs\drupal_10\web\themes\contrib\decorx\css\main.css
-----------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
-----------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
88 | ERROR | [x] Expected 1 newline at end of file; 0 found
-----------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------

FILE: D:\xampp\htdocs\drupal_10\web\themes\contrib\decorx\css\style.css
------------------------------------------------------------------------------------------------
FOUND 451 ERRORS AFFECTING 416 LINES
------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
5 | ERROR | [x] Expected 1 space before opening brace of class definition; 0 found
6 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
11 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
16 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
18 | ERROR | [x] Expected 1 space before opening brace of class definition; 0 found
19 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
20 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
22 | ERROR | [x] Expected 1 space before opening brace of class definition; 0 found
23 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
24 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
25 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
26 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
27 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
29 | ERROR | [x] Expected 1 space before opening brace of class definition; 0 found
30 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
33 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
34 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
37 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
38 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
39 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
40 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
43 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
44 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
45 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
48 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
49 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
50 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
53 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
56 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
57 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
58 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
59 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
62 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
64 | ERROR | [x] Expected 1 space before opening brace of class definition; 0 found
65 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
66 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
67 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
68 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
70 | ERROR | [x] Expected 1 space before opening brace of class definition; 0 found
71 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
73 | ERROR | [x] Expected 1 space before opening brace of class definition; 0 found
74 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
76 | ERROR | [x] Expected 1 space before opening brace of class definition; 0 found
77 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
78 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
79 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
80 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
81 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
83 | ERROR | [x] Expected 1 space before opening brace of class definition; 0 found
84 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
85 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
86 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
88 | ERROR | [x] Expected 1 space before opening brace of class definition; 0 found
89 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
109 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
110 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
111 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
112 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
112 | ERROR | [x] Expected 1 space before opening brace of class definition; 0 found
113 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
114 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
115 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
115 | ERROR | [x] Expected 1 space before opening brace of class definition; 0 found
116 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
117 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
118 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
122 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
123 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
124 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
125 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
128 | ERROR | [x] Whitespace found at end of line
129 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
129 | ERROR | [ ] Style definitions must end with a semicolon
131 | ERROR | [x] Expected 1 space before opening brace of class definition; 0 found
132 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
135 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
137 | ERROR | [x] Expected 1 space before opening brace of class definition; 0 found
138 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
139 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
140 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
141 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
142 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
143 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
145 | ERROR | [x] Expected 1 space before opening brace of class definition; 0 found
146 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
147 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
150 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
152 | ERROR | [x] Expected 1 space before opening brace of class definition; 0 found
153 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
157 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
161 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
164 | ERROR | [x] Expected 1 space before opening brace of class definition; 0 found
165 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
166 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
167 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
170 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
174 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
174 | ERROR | [x] Expected 1 space before opening brace of class definition; 0 found
175 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
176 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
180 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
184 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
188 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
189 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
190 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
194 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
195 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
199 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
200 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
201 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
202 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
203 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
204 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
205 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
209 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
210 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
211 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
212 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
213 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
214 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
215 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
216 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
220 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
221 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
225 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
229 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
230 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
231 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
232 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
233 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
234 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
235 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
239 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
240 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
241 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
242 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
246 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
247 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
251 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
252 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
256 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
257 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
258 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
259 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
260 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
265 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
270 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
276 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
277 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
278 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
279 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
280 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
281 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
282 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
283 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
284 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
285 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
286 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
287 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
292 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
293 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
297 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
301 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
301 | ERROR | [ ] Style definitions must end with a semicolon
307 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
310 | ERROR | [x] Expected 1 space before opening brace of class definition; 2 found
312 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
313 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
314 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
316 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
317 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
318 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
319 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
320 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
321 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
323 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
324 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
325 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
327 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
328 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
329 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
332 | ERROR | [x] Expected 1 space before opening brace of class definition; 2 found
333 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
334 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
335 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
336 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
337 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
338 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
339 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
343 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
347 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
348 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
349 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
350 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
354 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
358 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
361 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
362 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
363 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
364 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
365 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
366 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
367 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
368 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
369 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
370 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
371 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
372 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
373 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
374 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
375 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
376 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
380 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
384 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
388 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
389 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
390 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
391 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
392 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
393 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
394 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
395 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
396 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
397 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
398 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
399 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
400 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
401 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
402 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
403 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
404 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
405 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
406 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
407 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
408 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
409 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
413 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
417 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
421 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
425 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
426 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
427 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
428 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
429 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
429 | ERROR | [x] CSS colours must be defined in lowercase; expected #3f3b3b but found #3F3B3B
430 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
431 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
435 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
436 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
437 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
438 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
439 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
440 | ERROR | [x] Blank lines are not allowed in class definitions
440 | ERROR | [x] Whitespace found at end of line
444 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
448 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
449 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
450 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
451 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
452 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
453 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
454 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
455 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
456 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
457 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
460 | ERROR | [x] Expected 1 space before opening brace of class definition; 0 found
461 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
462 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
463 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
464 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
465 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
466 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
467 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
468 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
469 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
470 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
474 | ERROR | [ ] More than 2 empty lines are not allowed
476 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
481 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
482 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
487 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
488 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
488 | ERROR | [ ] Style definitions must end with a semicolon
492 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
497 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
501 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
505 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
506 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
507 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
511 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
515 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
519 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
520 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
521 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
525 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
526 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
527 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
528 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
531 | ERROR | [x] Expected 1 space before opening brace of class definition; 0 found
532 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
533 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
534 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
537 | ERROR | [x] Expected 1 space before opening brace of class definition; 0 found
538 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
539 | ERROR | [x] Blank lines are not allowed in class definitions
543 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
546 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
547 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
550 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
550 | ERROR | [x] Expected 1 space before opening brace of class definition; 0 found
551 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
552 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
553 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
554 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
554 | ERROR | [x] Expected 1 space before opening brace of class definition; 0 found
555 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
556 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
557 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
558 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
559 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
560 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
561 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
562 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
563 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
563 | ERROR | [x] Expected 1 space before opening brace of class definition; 0 found
564 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
565 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
566 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
566 | ERROR | [x] Expected 1 space before opening brace of class definition; 0 found
567 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
568 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
569 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
570 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
571 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
572 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
573 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
574 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
574 | ERROR | [x] Expected 1 space before opening brace of class definition; 0 found
575 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
576 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
576 | ERROR | [x] Whitespace found at end of line
577 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
577 | ERROR | [x] Expected 1 space before opening brace of class definition; 0 found
578 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
579 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
580 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
581 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
581 | ERROR | [x] Expected 1 space before opening brace of class definition; 0 found
582 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
583 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
584 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
584 | ERROR | [x] Expected 1 space before opening brace of class definition; 0 found
585 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
586 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
588 | ERROR | [x] Expected 1 space before opening brace of class definition; 2 found
589 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
589 | ERROR | [x] Expected 1 space before opening brace of class definition; 0 found
590 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
591 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
592 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
593 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
593 | ERROR | [x] Expected 1 space before opening brace of class definition; 0 found
594 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
595 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
596 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
597 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
598 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
599 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
600 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
601 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
602 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
602 | ERROR | [x] Expected 1 space before opening brace of class definition; 0 found
603 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
604 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
605 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
605 | ERROR | [x] Expected 1 space before opening brace of class definition; 0 found
606 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
607 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
608 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
609 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
610 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
611 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
612 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
613 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
613 | ERROR | [x] Expected 1 space before opening brace of class definition; 0 found
614 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
615 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
615 | ERROR | [x] Whitespace found at end of line
616 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
616 | ERROR | [x] Expected 1 space before opening brace of class definition; 0 found
617 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
618 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
619 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
620 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
620 | ERROR | [x] Expected 1 space before opening brace of class definition; 0 found
621 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
622 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
623 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
623 | ERROR | [x] Expected 1 space before opening brace of class definition; 0 found
624 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
625 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
627 | ERROR | [x] Expected 1 space before opening brace of class definition; 2 found
628 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
628 | ERROR | [x] Expected 1 space before opening brace of class definition; 0 found
629 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
630 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
631 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
632 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
632 | ERROR | [x] Expected 1 space before opening brace of class definition; 0 found
633 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
634 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
635 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
636 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
637 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
638 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
639 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
640 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
641 | ERROR | [x] Whitespace found at end of line
642 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
643 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
644 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
645 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
645 | ERROR | [x] Expected 1 space before opening brace of class definition; 0 found
646 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
647 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
647 | ERROR | [x] Whitespace found at end of line
648 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
648 | ERROR | [x] Expected 1 space before opening brace of class definition; 0 found
649 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
650 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
651 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
652 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
652 | ERROR | [x] Expected 1 space before opening brace of class definition; 0 found
653 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
654 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
655 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
655 | ERROR | [x] Expected 1 space before opening brace of class definition; 0 found
656 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
657 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
658 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
658 | ERROR | [x] Expected 1 space before opening brace of class definition; 0 found
659 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
660 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
661 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
661 | ERROR | [x] Expected 1 space before opening brace of class definition; 0 found
662 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
663 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
664 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
665 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
677 | ERROR | [x] Expected 1 newline at end of file; 0 found
------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 447 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------

FILE: D:\xampp\htdocs\drupal_10\web\themes\contrib\decorx\decorx.info.yml
-------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-------------------------------------------------------------------------
31 | ERROR | [x] Expected 1 newline at end of file; 0 found
-------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------

FILE: D:\xampp\htdocs\drupal_10\web\themes\contrib\decorx\decorx.libraries.yml
------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------
24 | ERROR | [x] Expected 1 newline at end of file; 0 found
------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------

FILE: D:\xampp\htdocs\drupal_10\web\themes\contrib\decorx\decorx.theme
-----------------------------------------------------------------------------------------------------------------------------------------------
FOUND 18 ERRORS AND 1 WARNING AFFECTING 17 LINES
-----------------------------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] Missing file doc comment
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
4 | WARNING | [x] Unused use statement
15 | ERROR | [x] Opening brace should be on the same line as the declaration
16 | ERROR | [x] No space found before comment text; expected "// Get Site Info" but found "//Get Site Info"
16 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses
43 | ERROR | [x] No space found before comment text; expected "// Copyright text." but found "//Copyright text."
49 | ERROR | [x] No space found before comment text; expected "// Footer Layout." but found "//Footer Layout."
54 | ERROR | [x] No space found before comment text; expected "// Footer Section." but found "//Footer Section."
61 | ERROR | [x] No space found before comment text; expected "// Get Variable for Scroll Top." but found "//Get Variable for Scroll Top."
64 | ERROR | [x] No space found before comment text; expected "// Footer Newsletter." but found "//Footer Newsletter."
70 | ERROR | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph
73 | ERROR | [x] Opening brace should be on the same line as the declaration
81 | ERROR | [x] Expected newline after closing brace
102 | ERROR | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph
105 | ERROR | [x] Opening brace should be on the same line as the declaration
113 | ERROR | [x] Missing function doc comment
114 | ERROR | [x] Opening brace should be on the same line as the declaration
119 | ERROR | [x] Expected newline after closing brace
-----------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 17 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------------------------------------------------------

FILE: D:\xampp\htdocs\drupal_10\web\themes\contrib\decorx\README.md
------------------------------------------------------------------------
FOUND 1 ERROR AND 2 WARNINGS AFFECTING 3 LINES
------------------------------------------------------------------------
3 | WARNING | [ ] Line exceeds 80 characters; contains 277 characters
5 | WARNING | [ ] Line exceeds 80 characters; contains 95 characters
33 | ERROR | [x] Expected 1 newline at end of file; 0 found
------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------

FILE: D:\xampp\htdocs\drupal_10\web\themes\contrib\decorx\theme-settings.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 14 ERRORS AND 9 WARNINGS AFFECTING 19 LINES
-------------------------------------------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
13 | ERROR | [x] There must be no blank lines after the function comment
16 | ERROR | [x] Opening brace should be on the same line as the declaration
17 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses
46 | WARNING | [ ] Translatable strings must not begin or end with white spaces, use placeholders with t() for variables
46 | ERROR | [ ] Concatenating translatable strings is not allowed, use placeholders instead and only one string literal
50 | ERROR | [x] Concat operator must be surrounded by a single space
52 | WARNING | [ ] Translatable strings must not begin or end with white spaces, use placeholders with t() for variables
52 | ERROR | [ ] Concatenating translatable strings is not allowed, use placeholders instead and only one string literal
55 | ERROR | [x] Short array syntax must be used to define arrays
56 | ERROR | [x] Short array syntax must be used to define arrays
62 | WARNING | [ ] Translatable strings must not begin or end with white spaces, use placeholders with t() for variables
62 | ERROR | [ ] Concatenating translatable strings is not allowed, use placeholders instead and only one string literal
67 | WARNING | [ ] Translatable strings must not begin or end with white spaces, use placeholders with t() for variables
67 | ERROR | [ ] Concatenating translatable strings is not allowed, use placeholders instead and only one string literal
70 | ERROR | [x] Functions must not contain multiple empty lines in a row; found 2 empty lines
134 | WARNING | [x] A comma should follow the last multiline array item. Found: )
153 | WARNING | [x] A comma should follow the last multiline array item. Found: )
158 | WARNING | [x] A comma should follow the last multiline array item. Found: )
169 | WARNING | [x] A comma should follow the last multiline array item. Found: )
174 | WARNING | [x] A comma should follow the last multiline array item. Found: )
191 | ERROR | [x] No space found before comment text; expected "// Make the uploaded videos permanent." but found "//Make the uploaded videos permanent."
192 | ERROR | [x] Concat operator must be surrounded by a single space
-------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 15 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------------------------------------------------------------------------------

Time: 2.24 secs; Memory: 12MB

Xdebug: [Step Debug] Time-out connecting to debugging client, waited: 200 ms. Tried: localhost:9003 (through xdebug.client_host/xdebug.client_port).

Steps to reproduce

Run following command:

phpcs --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml decorx/

Proposed resolution

Above error/warnings need to be fixed.

📌 Task
Status

RTBC

Version

1.0

Component

Code

Created by

🇮🇳India arti_parmar

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

  • Issue created by @arti_parmar
  • Issue was unassigned.
  • Status changed to Needs review about 1 year ago
  • 🇮🇳India arti_parmar

    Kindly review patch.

  • 🇮🇳India chetan 11

    chetan 11 made their first commit to this issue’s fork.

  • 🇮🇳India chetan 11

    Hi @arti_parmar
    I raised the MR for above issue, please review that.

  • 🇬🇧United Kingdom schillerm

    Hi there, I just checked out MR !1 and ran phpcs on it. I got this back ..

    ########################################

    🐸 ~/Documents/Sites/D10 phpcs --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml web/themes/contrib/decorx/

    FILE: /home/user/Documents/Sites/D10/web/themes/contrib/decorx/theme-settings.php
    ------------------------------------------------------------------------------------------------------------------------
    FOUND 1 ERROR AND 1 WARNING AFFECTING 1 LINE
    ------------------------------------------------------------------------------------------------------------------------
    60 | WARNING | Translatable strings must not begin or end with white spaces, use placeholders with t() for variables
    60 | ERROR | Concatenating translatable strings is not allowed, use placeholders instead and only one string literal
    ------------------------------------------------------------------------------------------------------------------------

    Time: 65ms; Memory: 12MB

    ########################################

    Hope that helps.

  • Status changed to Needs work about 1 year ago
  • 🇵🇭Philippines clarkssquared

    Hi chetan 11,

    I applied and tested your MR !1 and this is the result.

    ➜  decorx git:(1.0.x) curl https://git.drupalcode.org/project/decorx/-/merge_requests/1.diff | git apply -v
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    100 33584    0 33584    0     0  49046      0 --:--:-- --:--:-- --:--:-- 49460
    <stdin>:9: trailing whitespace.
    Decorx Theme is a user-friendly, and responsive Drupal theme. 
    <stdin>:10: trailing whitespace.
    And can be customized as a subtheme, allowing for the creation of exceptionally 
    <stdin>:11: trailing whitespace.
    flexible web designs. This theme features Video Slider, Scroll To Top, 
    <stdin>:15: trailing whitespace.
    Decorx Theme is developed to help you to create a stunning websites 
    Checking patch README.md...
    Checking patch css/main.css...
    Checking patch css/style.css...
    Checking patch decorx.info.yml...
    Checking patch decorx.libraries.yml...
    Checking patch decorx.theme...
    Checking patch theme-settings.php...
    Applied patch README.md cleanly.
    Applied patch css/main.css cleanly.
    Applied patch css/style.css cleanly.
    Applied patch decorx.info.yml cleanly.
    Applied patch decorx.libraries.yml cleanly.
    Applied patch decorx.theme cleanly.
    Applied patch theme-settings.php cleanly.
    warning: 4 lines add whitespace errors.
    ➜  decorx git:(1.0.x) ✗ ..
    ➜  contrib git:(master) ✗ phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml decorx
    
    FILE: ...g-subing/Projects/d9/d9-local/web/themes/contrib/decorx/theme-settings.php
    --------------------------------------------------------------------------------
    FOUND 1 ERROR AND 4 WARNINGS AFFECTING 4 LINES
    --------------------------------------------------------------------------------
      60 | WARNING | Translatable strings must not begin or end with white spaces,
         |         | use placeholders with t() for variables
      60 | ERROR   | Concatenating translatable strings is not allowed, use
         |         | placeholders instead and only one string literal
     131 | WARNING | Do not use the check_markup() sanitization function on Form
         |         | API #default_value elements, they get escaped automatically
     155 | WARNING | Do not use the check_markup() sanitization function on Form
         |         | API #default_value elements, they get escaped automatically
     171 | WARNING | Do not use the check_markup() sanitization function on Form
         |         | API #default_value elements, they get escaped automatically
    --------------------------------------------------------------------------------
    
    Time: 298ms; Memory: 12MB
    
    ➜  contrib git:(master) ✗ 
    

    Please fix the remaining PHPCS issues and the whitespace issues.

  • Assigned to Gautam_105@
  • Issue was unassigned.
  • Status changed to Needs review about 1 year ago
  • 🇮🇳India Gautam_105@

    Hi @clarkssquared ,
    i have fixed all phpcs issue and created MR for same . Please review and see attachement

  • Status changed to Needs work 10 months ago
  • 🇮🇳India pray_12

    Hi,
    I applied and tested your MR !1[#8], found few warnings.

    /decorx/theme-settings.php
    ----------------------------------------------------------------------------
    FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES
    ----------------------------------------------------------------------------
     131 | WARNING | Do not use the check_markup() sanitization function on
         |         | Form API #default_value elements, they get escaped
         |         | automatically
     155 | WARNING | Do not use the check_markup() sanitization function on
         |         | Form API #default_value elements, they get escaped
         |         | automatically
     171 | WARNING | Do not use the check_markup() sanitization function on
         |         | Form API #default_value elements, they get escaped
         |         | automatically
    ----------------------------------------------------------------------------
    
  • 🇮🇳India mohd sahzad

    Mohd Sahzad made their first commit to this issue’s fork.

  • Status changed to Needs review 10 months ago
  • Status changed to RTBC 5 months ago
  • 🇮🇳India dev16.addweb

    Hii,

    I reviewed MR!10 and confirmed it fixes all the errors and warnings reported by phpcs.

    I added screenshots for reference.
    Thank You.

Production build 0.71.5 2024