Fix the issues reported by phpcs

Created on 30 May 2023, about 1 year ago
Updated 18 March 2024, 3 months ago

Problem/Motivation

FILE: ...www/html/contribution/drupal10/web/modules/contrib/adc_block/js/digital.js
--------------------------------------------------------------------------------
FOUND 40 ERRORS AFFECTING 38 LINES
--------------------------------------------------------------------------------
2 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
2 | ERROR | [x] Expected 1 space after "="; 2 found
3 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
4 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
5 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
6 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
7 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
8 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
9 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
10 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
10 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
11 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
12 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
13 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
14 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
15 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
16 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
17 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
18 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
19 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
20 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
21 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
22 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
23 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
24 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
25 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
26 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
27 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
28 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
29 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
30 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
31 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
32 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
33 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
34 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
35 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
36 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
37 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
38 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
39 | ERROR | [x] Expected 1 newline at end of file; 0 found
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 40 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------

FILE: .../www/html/contribution/drupal10/web/modules/contrib/adc_block/js/analog.js
--------------------------------------------------------------------------------
FOUND 316 ERRORS AFFECTING 284 LINES
--------------------------------------------------------------------------------
1 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
2 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
3 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
3 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
4 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
4 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
5 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
6 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
7 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
8 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
9 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
10 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
11 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
12 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
13 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
14 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
15 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
16 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
16 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
17 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
18 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
19 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
20 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
21 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
22 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
23 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
24 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
25 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
26 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
27 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
28 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
28 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
29 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
30 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
31 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
31 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
32 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
33 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
34 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
35 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
36 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
37 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
38 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
39 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
40 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
40 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
41 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
42 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
43 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
44 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
45 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
46 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
47 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
48 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
49 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
50 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
51 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
52 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
53 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
54 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
55 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
56 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
57 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
58 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
58 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
59 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
60 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
61 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
62 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
63 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
64 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
65 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
65 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
66 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
67 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
68 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
69 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
70 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
71 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
72 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
72 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
73 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
74 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
75 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
76 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
77 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
78 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
79 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
80 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
81 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
82 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
83 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
84 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
84 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
85 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
86 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
87 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
88 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
89 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
90 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
91 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
92 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
93 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
94 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
95 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
96 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
97 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
98 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
99 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
100 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
101 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
102 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
103 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
104 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
105 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
105 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
106 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
107 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
108 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
109 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
110 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
111 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
111 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
112 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
113 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
114 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
115 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
116 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
117 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
118 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
118 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
119 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
120 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
121 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
122 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
123 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
124 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
125 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
126 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
127 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
128 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
129 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
130 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
131 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
132 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
133 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
134 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
135 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
136 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
137 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
138 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
139 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
140 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
141 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
142 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
143 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
144 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
145 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
146 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
147 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
148 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
149 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
150 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
151 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
152 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
153 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
154 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
154 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
155 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
156 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
157 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
158 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
159 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
160 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
160 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
161 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
161 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
162 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
163 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
164 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
165 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
166 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
167 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
168 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
168 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "NULL" but
| | found "null"
169 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
170 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
174 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
174 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but
| | found "true"
175 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
176 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
177 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
177 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but
| | found "true"
178 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
178 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but
| | found "true"
179 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
179 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but
| | found "true"
180 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
180 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but
| | found "true"
181 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
181 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but
| | found "true"
182 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
182 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but
| | found "true"
183 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
183 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but
| | found "true"
184 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
185 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
186 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
187 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
188 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
189 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
190 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
191 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
192 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
193 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
194 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
195 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
196 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
197 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
198 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
199 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
200 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
201 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
202 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
203 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
204 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
205 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
206 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
207 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
210 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
211 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
212 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
213 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
214 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
215 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
216 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
217 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
218 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
219 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
220 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
223 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
223 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but
| | found "false"
224 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
225 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
226 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
226 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but
| | found "false"
227 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
230 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
231 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
232 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
233 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
234 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
235 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
238 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
239 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
240 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
241 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
242 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
243 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
244 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
245 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
246 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
249 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
250 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
251 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
252 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
253 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
254 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
255 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
255 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but
| | found "false"
256 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
257 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
258 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
259 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
260 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
261 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
264 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
265 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
266 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
267 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
268 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
269 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
270 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
271 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
272 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
273 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
274 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
275 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
276 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
277 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
278 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
279 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
280 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
282 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
283 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
283 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
284 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
284 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
285 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
286 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
286 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
287 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
288 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
289 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
290 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
290 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
291 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
292 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
293 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
294 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
295 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
296 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
297 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
298 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
299 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
303 | ERROR | [x] Expected 1 newline at end of file; 0 found
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 316 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------

FILE: .../html/contribution/drupal10/web/modules/contrib/adc_block/adc_block.module
--------------------------------------------------------------------------------
FOUND 28 ERRORS AFFECTING 17 LINES
--------------------------------------------------------------------------------
4 | ERROR | [x] The second line in the file doc comment must be "@file"
15 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
15 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
16 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
16 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
17 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
17 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 2
18 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
18 | ERROR | [x] Case breaking statement indented incorrectly; expected 4
| | spaces, found 2
19 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
19 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
23 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
24 | ERROR | [x] Expected 1 space(s) before asterisk; 0 found
24 | ERROR | [x] There must be no blank lines after the function comment
27 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
27 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
28 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
28 | ERROR | [x] Array indentation error, expected 3 spaces but found 2
29 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
29 | ERROR | [x] Array indentation error, expected 4 spaces but found 3
30 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
31 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
31 | ERROR | [x] Array indentation error, expected 3 spaces but found 2
32 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
32 | ERROR | [x] Array indentation error, expected 4 spaces but found 3
33 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
34 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
35 | ERROR | [x] Expected 1 newline at end of file; 0 found
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 28 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------

FILE: ...var/www/html/contribution/drupal10/web/modules/contrib/adc_block/README.md
--------------------------------------------------------------------------------
FOUND 1 ERROR AND 4 WARNINGS AFFECTING 4 LINES
--------------------------------------------------------------------------------
3 | WARNING | [ ] Line exceeds 80 characters; contains 159 characters
18 | WARNING | [ ] Line exceeds 80 characters; contains 85 characters
21 | WARNING | [ ] Line exceeds 80 characters; contains 98 characters
23 | WARNING | [ ] Line exceeds 80 characters; contains 110 characters
23 | ERROR | [x] Expected 1 newline at end of file; 3 found
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------

FILE: ...upal10/web/modules/contrib/adc_block/src/Plugin/Block/AnalogClockBlock.php
--------------------------------------------------------------------------------
FOUND 399 ERRORS AND 85 WARNINGS AFFECTING 374 LINES
--------------------------------------------------------------------------------
7 | WARNING | [x] Unused use statement
19 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
22 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
23 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
24 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
25 | ERROR | [x] Closing brace indented incorrectly; expected 4 spaces,
| | found 2
27 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
30 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
31 | WARNING | [ ] Unused variable $uid.
31 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
31 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency
| | injection instead
33 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
33 | ERROR | [x] Inline comments must end in full-stops, exclamation marks,
| | question marks, colons, or closing parentheses
34 | WARNING | [ ] Unused variable $num_items.
34 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
35 | WARNING | [ ] Unused variable $date_format.
35 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
35 | ERROR | [x] Expected 1 space after "??"; 0 found
36 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
36 | ERROR | [x] Expected 1 space after "??"; 0 found
38 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
38 | ERROR | [x] Expected 1 space before "??"; 0 found
38 | ERROR | [x] Expected 1 space after "??"; 0 found
39 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
39 | ERROR | [x] Expected 1 space before "??"; 0 found
39 | ERROR | [x] Expected 1 space after "??"; 0 found
40 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
40 | ERROR | [x] Expected 1 space before "??"; 0 found
40 | ERROR | [x] Expected 1 space after "??"; 0 found
41 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
43 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
44 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8
46 | ERROR | [x] Case breaking statements must be followed by a single
| | blank line
46 | ERROR | [x] Case breaking statement indented incorrectly; expected 10
| | spaces, found 8
47 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8
49 | ERROR | [x] Case breaking statement indented incorrectly; expected 10
| | spaces, found 8
50 | ERROR | [x] Closing brace indented incorrectly; expected 6 spaces,
| | found 4
54 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8
57 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE"
| | but found "false"
75 | ERROR | [x] Case breaking statement indented incorrectly; expected 10
| | spaces, found 8
77 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8
78 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE"
| | but found "true"
83 | ERROR | [x] Expected 1 space after "="; 0 found
92 | ERROR | [x] Expected 1 space after "="; 0 found
98 | ERROR | [x] Case breaking statement indented incorrectly; expected 10
| | spaces, found 8
100 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8
104 | ERROR | [x] Expected 1 space after "="; 0 found
113 | ERROR | [x] Expected 1 space after "="; 0 found
118 | ERROR | [x] Case breaking statement indented incorrectly; expected 10
| | spaces, found 8
120 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8
124 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE"
| | but found "true"
141 | ERROR | [x] Case breaking statement indented incorrectly; expected 10
| | spaces, found 8
143 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8
147 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE"
| | but found "true"
164 | ERROR | [x] Case breaking statement indented incorrectly; expected 10
| | spaces, found 8
166 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8
169 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE"
| | but found "false"
186 | ERROR | [x] Case breaking statement indented incorrectly; expected 10
| | spaces, found 8
188 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8
191 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE"
| | but found "false"
212 | ERROR | [x] Case breaking statement indented incorrectly; expected 10
| | spaces, found 8
214 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8
217 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE"
| | but found "false"
239 | ERROR | [x] Case breaking statements must be followed by a single
| | blank line
239 | ERROR | [x] Case breaking statement indented incorrectly; expected 10
| | spaces, found 8
240 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8
243 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE"
| | but found "false"
265 | ERROR | [x] Case breaking statements must be followed by a single
| | blank line
265 | ERROR | [x] Case breaking statement indented incorrectly; expected 10
| | spaces, found 8
266 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8
270 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE"
| | but found "true"
292 | ERROR | [x] Case breaking statement indented incorrectly; expected 10
| | spaces, found 8
294 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8
296 | ERROR | [x] Expected 1 space before "??"; 0 found
296 | ERROR | [x] Expected 1 space after "??"; 0 found
297 | ERROR | [x] Expected 1 space before "??"; 0 found
297 | ERROR | [x] Expected 1 space after "??"; 0 found
298 | ERROR | [x] Expected 1 space after IF keyword; 0 found
299 | ERROR | [x] Expected 1 space before "??"; 0 found
299 | ERROR | [x] Expected 1 space after "??"; 0 found
300 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE"
| | but found "true"
301 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 6
301 | ERROR | [x] Closing brace indented incorrectly; expected 8 spaces,
| | found 6
301 | ERROR | [x] Expected newline after closing brace
302 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE"
| | but found "false"
303 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 6
304 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 6
304 | ERROR | [x] Expected 1 space after IF keyword; 0 found
306 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 6
306 | ERROR | [x] Expected newline after closing brace
307 | ERROR | [x] Expected 1 space before "??"; 0 found
307 | ERROR | [x] Expected 1 space after "??"; 0 found
308 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 6
309 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 6
309 | ERROR | [x] Expected 1 space before "??"; 0 found
309 | ERROR | [x] Expected 1 space after "??"; 0 found
310 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 6
310 | ERROR | [x] Expected 1 space before "??"; 0 found
310 | ERROR | [x] Expected 1 space after "??"; 0 found
311 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 6
311 | ERROR | [x] Expected 1 space before "??"; 0 found
311 | ERROR | [x] Expected 1 space after "??"; 0 found
312 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 6
312 | ERROR | [x] Expected 1 space before "??"; 0 found
312 | ERROR | [x] Expected 1 space after "??"; 0 found
313 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 6
313 | ERROR | [x] Expected 1 space before "??"; 0 found
313 | ERROR | [x] Expected 1 space after "??"; 0 found
314 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 6
314 | ERROR | [x] Expected 1 space after IF keyword; 0 found
316 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 6
316 | ERROR | [x] Expected newline after closing brace
317 | ERROR | [x] Expected 1 space before "??"; 0 found
317 | ERROR | [x] Expected 1 space after "??"; 0 found
318 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 6
319 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 6
319 | ERROR | [x] Expected 1 space after IF keyword; 0 found
321 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 6
321 | ERROR | [x] Expected newline after closing brace
322 | ERROR | [x] Expected 1 space before "??"; 0 found
322 | ERROR | [x] Expected 1 space after "??"; 0 found
323 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 6
324 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 6
324 | ERROR | [x] Expected 1 space before "??"; 0 found
324 | ERROR | [x] Expected 1 space after "??"; 0 found
325 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 6
325 | ERROR | [x] Expected 1 space before "??"; 0 found
325 | ERROR | [x] Expected 1 space after "??"; 0 found
326 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 6
326 | ERROR | [x] Expected 1 space before "??"; 0 found
326 | ERROR | [x] Expected 1 space after "??"; 0 found
327 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 6
327 | ERROR | [x] Expected 1 space before "??"; 0 found
327 | ERROR | [x] Expected 1 space after "??"; 0 found
328 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 6
328 | ERROR | [x] Expected 1 space before "??"; 0 found
328 | ERROR | [x] Expected 1 space after "??"; 0 found
329 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 6
329 | ERROR | [x] Expected 1 space before "??"; 0 found
329 | ERROR | [x] Expected 1 space after "??"; 0 found
330 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 6
330 | ERROR | [x] Expected 1 space before "??"; 0 found
330 | ERROR | [x] Expected 1 space after "??"; 0 found
331 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 6
331 | ERROR | [x] Expected 1 space before "??"; 0 found
331 | ERROR | [x] Expected 1 space after "??"; 0 found
332 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 6
332 | ERROR | [x] Expected 1 space before "??"; 0 found
332 | ERROR | [x] Expected 1 space after "??"; 0 found
333 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 6
333 | ERROR | [x] Expected 1 space before "??"; 0 found
333 | ERROR | [x] Expected 1 space after "??"; 0 found
334 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 6
334 | ERROR | [x] Expected 1 space before "??"; 0 found
334 | ERROR | [x] Expected 1 space after "??"; 0 found
335 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 6
335 | ERROR | [x] Expected 1 space before "??"; 0 found
335 | ERROR | [x] Expected 1 space after "??"; 0 found
337 | ERROR | [x] Case breaking statement indented incorrectly; expected 10
| | spaces, found 6
339 | ERROR | [ ] Blank lines are not allowed after DEFAULT statements
341 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 6
342 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 6
343 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 6
344 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 6
344 | ERROR | [x] Expected 1 space after "="; 0 found
345 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 6
346 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 6
347 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 6
348 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 6
349 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 6
350 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 6
351 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 6
352 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 6
353 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 6
353 | ERROR | [x] Expected 1 space after "="; 0 found
354 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 6
355 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 6
356 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 6
357 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 6
359 | ERROR | [x] Case breaking statement indented incorrectly; expected 8
| | spaces, found 6
360 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
360 | ERROR | [x] Closing brace indented incorrectly; expected 4 spaces,
| | found 2
362 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
363 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
367 | ERROR | [x] Array closing indentation error, expected 2 spaces but
| | found 0
368 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 0
368 | ERROR | [x] Expected 1 space after "="; 2 found
369 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 0
370 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 0
372 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 0
372 | ERROR | [x] Closing brace indented incorrectly; expected 4 spaces,
| | found 0
374 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
377 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
378 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
379 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
380 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
380 | ERROR | [x] Short array syntax must be used to define arrays
382 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
384 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
385 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
386 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
391 | ERROR | [x] Array closing indentation error, expected 6 spaces but
| | found 4
393 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
394 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
395 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
395 | ERROR | [x] Expected 1 space before "??"; 0 found
395 | ERROR | [x] Expected 1 space after "??"; 0 found
396 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
397 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
400 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
401 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
402 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
403 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
405 | WARNING | [ ] Unused variable $default_timezone.
406 | ERROR | [x] Short array syntax must be used to define arrays
407 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
408 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
409 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
410 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
411 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
412 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
413 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
414 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
415 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
416 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
417 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
420 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
421 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
422 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
422 | ERROR | [x] Expected 1 space before "??"; 0 found
422 | ERROR | [x] Expected 1 space after "??"; 0 found
423 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
424 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
432 | ERROR | [x] Expected 1 space before "??"; 0 found
432 | ERROR | [x] Expected 1 space after "??"; 0 found
434 | ERROR | [x] Short array syntax must be used to define arrays
435 | ERROR | [x] Short array syntax must be used to define arrays
436 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: ]
437 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
439 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
447 | ERROR | [x] Expected 1 space before "??"; 0 found
447 | ERROR | [x] Expected 1 space after "??"; 0 found
449 | ERROR | [x] Short array syntax must be used to define arrays
450 | ERROR | [x] Short array syntax must be used to define arrays
451 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: ]
452 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
454 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
462 | ERROR | [x] Expected 1 space before "??"; 0 found
462 | ERROR | [x] Expected 1 space after "??"; 0 found
464 | ERROR | [x] Short array syntax must be used to define arrays
465 | ERROR | [x] Short array syntax must be used to define arrays
466 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: ]
467 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
469 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
477 | ERROR | [x] Expected 1 space before "??"; 0 found
477 | ERROR | [x] Expected 1 space after "??"; 0 found
479 | ERROR | [x] Short array syntax must be used to define arrays
480 | ERROR | [x] Short array syntax must be used to define arrays
481 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: ]
482 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
484 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
489 | ERROR | [x] Expected 1 space before "??"; 0 found
489 | ERROR | [x] Expected 1 space after "??"; 0 found
491 | ERROR | [x] Short array syntax must be used to define arrays
492 | ERROR | [x] Short array syntax must be used to define arrays
493 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: ]
494 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
496 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
501 | ERROR | [x] Expected 1 space before "??"; 0 found
501 | ERROR | [x] Expected 1 space after "??"; 0 found
503 | ERROR | [x] Short array syntax must be used to define arrays
504 | ERROR | [x] Short array syntax must be used to define arrays
507 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
507 | ERROR | [x] Array closing indentation error, expected 10 spaces but
| | found 8
509 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
514 | ERROR | [x] Expected 1 space before "??"; 0 found
514 | ERROR | [x] Expected 1 space after "??"; 0 found
516 | ERROR | [x] Short array syntax must be used to define arrays
517 | ERROR | [x] Short array syntax must be used to define arrays
518 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: ]
519 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
521 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
526 | ERROR | [x] Expected 1 space before "??"; 0 found
526 | ERROR | [x] Expected 1 space after "??"; 0 found
528 | ERROR | [x] Short array syntax must be used to define arrays
529 | ERROR | [x] Short array syntax must be used to define arrays
531 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: ]
532 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
534 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
539 | ERROR | [x] Expected 1 space before "??"; 0 found
539 | ERROR | [x] Expected 1 space after "??"; 0 found
541 | ERROR | [x] Short array syntax must be used to define arrays
542 | ERROR | [x] Short array syntax must be used to define arrays
543 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: ]
544 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
546 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
554 | ERROR | [x] Expected 1 space before "??"; 0 found
554 | ERROR | [x] Expected 1 space after "??"; 0 found
556 | ERROR | [x] Short array syntax must be used to define arrays
557 | ERROR | [x] Short array syntax must be used to define arrays
558 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: ]
559 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
561 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
566 | ERROR | [x] Expected 1 space before "??"; 0 found
566 | ERROR | [x] Expected 1 space after "??"; 0 found
568 | ERROR | [x] Short array syntax must be used to define arrays
569 | ERROR | [x] Short array syntax must be used to define arrays
570 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: ]
571 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
573 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
581 | ERROR | [x] Expected 1 space before "??"; 0 found
581 | ERROR | [x] Expected 1 space after "??"; 0 found
583 | ERROR | [x] Short array syntax must be used to define arrays
584 | ERROR | [x] Short array syntax must be used to define arrays
585 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: ]
586 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
588 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
593 | ERROR | [x] Expected 1 space before "??"; 0 found
593 | ERROR | [x] Expected 1 space after "??"; 0 found
594 | ERROR | [x] Short array syntax must be used to define arrays
608 | ERROR | [x] Array closing indentation error, expected 8 spaces but
| | found 6
610 | ERROR | [x] Short array syntax must be used to define arrays
611 | ERROR | [x] Short array syntax must be used to define arrays
612 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: ]
613 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
615 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
620 | ERROR | [x] Expected 1 space before "??"; 0 found
620 | ERROR | [x] Expected 1 space after "??"; 0 found
622 | ERROR | [x] Short array syntax must be used to define arrays
623 | ERROR | [x] Short array syntax must be used to define arrays
624 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: ]
625 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
627 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
632 | ERROR | [x] Expected 1 space before "??"; 0 found
632 | ERROR | [x] Expected 1 space after "??"; 0 found
634 | ERROR | [x] Short array syntax must be used to define arrays
635 | ERROR | [x] Short array syntax must be used to define arrays
636 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: ]
637 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
639 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
644 | ERROR | [x] Expected 1 space before "??"; 0 found
644 | ERROR | [x] Expected 1 space after "??"; 0 found
646 | ERROR | [x] Short array syntax must be used to define arrays
647 | ERROR | [x] Short array syntax must be used to define arrays
650 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
650 | ERROR | [x] Array closing indentation error, expected 10 spaces but
| | found 8
652 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
657 | ERROR | [x] Expected 1 space before "??"; 0 found
657 | ERROR | [x] Expected 1 space after "??"; 0 found
659 | ERROR | [x] Short array syntax must be used to define arrays
660 | ERROR | [x] Short array syntax must be used to define arrays
661 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: ]
662 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
664 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
669 | ERROR | [x] Expected 1 space before "??"; 0 found
669 | ERROR | [x] Expected 1 space after "??"; 0 found
671 | ERROR | [x] Short array syntax must be used to define arrays
672 | ERROR | [x] Short array syntax must be used to define arrays
675 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
675 | ERROR | [x] Array closing indentation error, expected 10 spaces but
| | found 8
677 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
682 | ERROR | [x] Expected 1 space before "??"; 0 found
682 | ERROR | [x] Expected 1 space after "??"; 0 found
684 | ERROR | [x] Short array syntax must be used to define arrays
685 | ERROR | [x] Short array syntax must be used to define arrays
686 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: ]
687 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
689 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
694 | ERROR | [x] Expected 1 space before "??"; 0 found
694 | ERROR | [x] Expected 1 space after "??"; 0 found
696 | ERROR | [x] Short array syntax must be used to define arrays
697 | ERROR | [x] Short array syntax must be used to define arrays
698 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: ]
699 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
701 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
706 | ERROR | [x] Expected 1 space before "??"; 0 found
706 | ERROR | [x] Expected 1 space after "??"; 0 found
708 | ERROR | [x] Short array syntax must be used to define arrays
709 | ERROR | [x] Short array syntax must be used to define arrays
710 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: ]
711 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
713 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
721 | ERROR | [x] Expected 1 space before "??"; 0 found
721 | ERROR | [x] Expected 1 space after "??"; 0 found
723 | ERROR | [x] Short array syntax must be used to define arrays
724 | ERROR | [x] Short array syntax must be used to define arrays
725 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: ]
726 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
728 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
736 | ERROR | [x] Expected 1 space before "??"; 0 found
736 | ERROR | [x] Expected 1 space after "??"; 0 found
738 | ERROR | [x] Short array syntax must be used to define arrays
739 | ERROR | [x] Short array syntax must be used to define arrays
740 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: ]
741 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
743 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
751 | ERROR | [x] Expected 1 space before "??"; 0 found
751 | ERROR | [x] Expected 1 space after "??"; 0 found
753 | ERROR | [x] Short array syntax must be used to define arrays
754 | ERROR | [x] Short array syntax must be used to define arrays
755 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: ]
756 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
758 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
766 | ERROR | [x] Expected 1 space before "??"; 0 found
766 | ERROR | [x] Expected 1 space after "??"; 0 found
768 | ERROR | [x] Short array syntax must be used to define arrays
769 | ERROR | [x] Short array syntax must be used to define arrays
770 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: ]
771 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
773 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
781 | ERROR | [x] Expected 1 space before "??"; 0 found
781 | ERROR | [x] Expected 1 space after "??"; 0 found
783 | ERROR | [x] Short array syntax must be used to define arrays
784 | ERROR | [x] Short array syntax must be used to define arrays
785 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: ]
786 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
788 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
796 | ERROR | [x] Expected 1 space before "??"; 0 found
796 | ERROR | [x] Expected 1 space after "??"; 0 found
798 | ERROR | [x] Short array syntax must be used to define arrays
799 | ERROR | [x] Short array syntax must be used to define arrays
800 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: ]
801 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
803 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
806 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
807 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
808 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
809 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
812 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
813 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
814 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
814 | ERROR | [x] Expected 1 space before "??"; 0 found
814 | ERROR | [x] Expected 1 space after "??"; 0 found
815 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
818 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
819 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
820 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
820 | ERROR | [x] Expected 1 space before "??"; 0 found
820 | ERROR | [x] Expected 1 space after "??"; 0 found
821 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
824 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 0
824 | ERROR | [x] Closing brace indented incorrectly; expected 4 spaces,
| | found 0
826 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
829 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
831 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
832 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
834 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
835 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
836 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
837 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
838 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
839 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
841 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
842 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
843 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
844 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
845 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
846 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
847 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
848 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
849 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
850 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
851 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
852 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
853 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
854 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
855 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
856 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
857 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
858 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
859 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
860 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
861 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
862 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
863 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
864 | ERROR | [x] Closing brace indented incorrectly; expected 4 spaces,
| | found 2
866 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
869 | ERROR | [x] Doc comment long description must start with a capital
| | letter
871 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
872 | ERROR | [x] Opening brace should be on the same line as the
| | declaration
873 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
874 | ERROR | [x] Closing brace indented incorrectly; expected 4 spaces,
| | found 2
874 | ERROR | [x] Expected 1 blank line after function; 0 found
875 | ERROR | [x] The closing brace for the class must have an empty line
| | before it
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 478 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------

FILE: ...pal10/web/modules/contrib/adc_block/src/Plugin/Block/DigitalClockBlock.php
--------------------------------------------------------------------------------
FOUND 291 ERRORS AND 61 WARNINGS AFFECTING 261 LINES
--------------------------------------------------------------------------------
7 | WARNING | [x] Unused use statement
20 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
23 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
23 | ERROR | [x] Expected 1 blank line before function; 2 found
24 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
25 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
26 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
28 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
31 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
32 | WARNING | [ ] Unused variable $uid.
32 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
32 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency
| | injection instead
34 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
34 | ERROR | [x] Inline comments must end in full-stops, exclamation marks,
| | question marks, colons, or closing parentheses
35 | WARNING | [ ] Unused variable $num_items.
35 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
36 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
36 | ERROR | [x] Expected 1 space after "??"; 0 found
38 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
38 | ERROR | [x] Expected 1 space before "??"; 0 found
38 | ERROR | [x] Expected 1 space after "??"; 0 found
39 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
39 | ERROR | [x] Expected 1 space before "??"; 0 found
39 | ERROR | [x] Expected 1 space after "??"; 0 found
39 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE"
| | but found "false"
40 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
40 | ERROR | [x] Expected 1 space before "??"; 0 found
40 | ERROR | [x] Expected 1 space after "??"; 0 found
41 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
41 | ERROR | [x] Expected 1 space before "??"; 0 found
41 | ERROR | [x] Expected 1 space after "??"; 0 found
42 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
42 | ERROR | [x] Expected 1 space before "??"; 0 found
42 | ERROR | [x] Expected 1 space after "??"; 0 found
44 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
46 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
46 | ERROR | [x] Expected 1 space after IF keyword; 0 found
47 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8
47 | ERROR | [x] Expected 1 space after "??"; 0 found
48 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8
48 | ERROR | [x] Expected 1 space after IF keyword; 0 found
49 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 10
49 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE"
| | but found "true"
50 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 10
50 | ERROR | [x] Expected 1 space after "??"; 0 found
51 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8
52 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8
54 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8
54 | ERROR | [x] Expected 1 space after IF keyword; 0 found
55 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 10
55 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency
| | injection instead
55 | ERROR | [x] Expected one space after the comma, 0 found
56 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8
56 | ERROR | [x] Expected newline after closing brace
57 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 10
57 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency
| | injection instead
58 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8
59 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
61 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
62 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8
64 | ERROR | [x] Case breaking statements must be followed by a single
| | blank line
64 | ERROR | [x] Case breaking statement indented incorrectly; expected 10
| | spaces, found 8
65 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8
67 | ERROR | [x] Case breaking statement indented incorrectly; expected 10
| | spaces, found 8
68 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
70 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
72 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
73 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8
94 | ERROR | [x] Case breaking statement indented incorrectly; expected 10
| | spaces, found 8
96 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8
100 | ERROR | [x] Expected 1 space before "??"; 0 found
100 | ERROR | [x] Expected 1 space after "??"; 0 found
102 | ERROR | [x] Expected 1 space before "??"; 0 found
102 | ERROR | [x] Expected 1 space after "??"; 0 found
103 | ERROR | [x] Expected 1 space before "??"; 0 found
103 | ERROR | [x] Expected 1 space after "??"; 0 found
104 | ERROR | [x] Expected 1 space before "??"; 0 found
104 | ERROR | [x] Expected 1 space after "??"; 0 found
105 | ERROR | [x] Expected 1 space before "??"; 0 found
105 | ERROR | [x] Expected 1 space after "??"; 0 found
106 | ERROR | [x] Expected 1 space before "??"; 0 found
106 | ERROR | [x] Expected 1 space after "??"; 0 found
107 | ERROR | [x] Expected 1 space before "??"; 0 found
107 | ERROR | [x] Expected 1 space after "??"; 0 found
108 | ERROR | [x] Expected 1 space before "??"; 0 found
108 | ERROR | [x] Expected 1 space after "??"; 0 found
109 | ERROR | [x] Expected 1 space before "??"; 0 found
109 | ERROR | [x] Expected 1 space after "??"; 0 found
110 | ERROR | [x] Expected 1 space before "??"; 0 found
110 | ERROR | [x] Expected 1 space after "??"; 0 found
111 | ERROR | [x] Expected 1 space before "??"; 0 found
111 | ERROR | [x] Expected 1 space after "??"; 0 found
112 | ERROR | [x] Expected 1 space before "??"; 0 found
112 | ERROR | [x] Expected 1 space after "??"; 0 found
113 | ERROR | [x] Expected 1 space before "??"; 0 found
113 | ERROR | [x] Expected 1 space after "??"; 0 found
114 | ERROR | [x] Expected 1 space before "??"; 0 found
114 | ERROR | [x] Expected 1 space after "??"; 0 found
115 | ERROR | [x] Expected 1 space before "??"; 0 found
115 | ERROR | [x] Expected 1 space after "??"; 0 found
116 | ERROR | [x] Expected 1 space before "??"; 0 found
116 | ERROR | [x] Expected 1 space after "??"; 0 found
117 | ERROR | [x] Expected 1 space before "??"; 0 found
117 | ERROR | [x] Expected 1 space after "??"; 0 found
118 | ERROR | [x] Expected 1 space before "??"; 0 found
118 | ERROR | [x] Expected 1 space after "??"; 0 found
120 | ERROR | [x] Expected 1 space before "??"; 0 found
120 | ERROR | [x] Expected 1 space after "??"; 0 found
121 | ERROR | [x] Expected 1 space before "??"; 0 found
121 | ERROR | [x] Expected 1 space after "??"; 0 found
123 | ERROR | [x] Case breaking statement indented incorrectly; expected 10
| | spaces, found 8
125 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8
136 | ERROR | [x] Expected 1 space before "??"; 0 found
136 | ERROR | [x] Expected 1 space after "??"; 0 found
138 | ERROR | [x] Expected 1 space before "??"; 0 found
138 | ERROR | [x] Expected 1 space after "??"; 0 found
141 | ERROR | [x] Expected 1 space before "??"; 0 found
141 | ERROR | [x] Expected 1 space after "??"; 0 found
142 | ERROR | [x] Expected 1 space before "??"; 0 found
142 | ERROR | [x] Expected 1 space after "??"; 0 found
143 | ERROR | [x] Expected 1 space before "??"; 0 found
143 | ERROR | [x] Expected 1 space after "??"; 0 found
144 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE"
| | but found "false"
146 | ERROR | [x] Expected 1 space before "??"; 0 found
146 | ERROR | [x] Expected 1 space after "??"; 0 found
148 | ERROR | [x] Case breaking statement indented incorrectly; expected 10
| | spaces, found 8
149 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
151 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
151 | ERROR | [x] Short array syntax must be used to define arrays
154 | ERROR | [x] Short array syntax must be used to define arrays
155 | ERROR | [x] Short array syntax must be used to define arrays
158 | ERROR | [x] Short array syntax must be used to define arrays
159 | ERROR | [x] Short array syntax must be used to define arrays
159 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
164 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
166 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
169 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
170 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
171 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
173 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
173 | ERROR | [x] Short array syntax must be used to define arrays
174 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
176 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
177 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
179 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
185 | WARNING | [ ] Unused variable $default_timezone.
185 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
186 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
189 | ERROR | [x] Expected 1 space before "??"; 0 found
189 | ERROR | [x] Expected 1 space after "??"; 0 found
193 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
199 | WARNING | [ ] Unused variable $default_timezone.
199 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
200 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
200 | ERROR | [x] Short array syntax must be used to define arrays
204 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
207 | ERROR | [x] Expected 1 space before "??"; 0 found
207 | ERROR | [x] Expected 1 space after "??"; 0 found
212 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
215 | ERROR | [x] Expected 1 space before "??"; 0 found
215 | ERROR | [x] Expected 1 space after "??"; 0 found
217 | ERROR | [x] Short array syntax must be used to define arrays
218 | ERROR | [x] Short array syntax must be used to define arrays
219 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: ]
220 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
221 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
224 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
226 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
226 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency
| | injection instead
227 | ERROR | [x] Object operator not indented correctly; expected 8 spaces
| | but found 6
230 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
231 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8
231 | ERROR | [ ] The array declaration extends to column 204 (the limit is
| | 80). The array content should be split up over multiple
| | lines
231 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency
| | injection instead
231 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency
| | injection instead
232 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
234 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
236 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
240 | ERROR | [x] Expected 1 space after "=>"; 2 found
240 | ERROR | [x] Expected 1 space before "??"; 0 found
240 | ERROR | [x] Expected 1 space after "??"; 0 found
241 | ERROR | [x] Short array syntax must be used to define arrays
242 | ERROR | [x] Short array syntax must be used to define arrays
243 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: ]
244 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
245 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
248 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
252 | ERROR | [x] Expected 1 space after "=>"; 2 found
252 | ERROR | [x] Expected 1 space before "??"; 0 found
252 | ERROR | [x] Expected 1 space after "??"; 0 found
252 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: ''
255 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
259 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
262 | ERROR | [x] Expected 1 space before "??"; 0 found
262 | ERROR | [x] Expected 1 space after "??"; 0 found
264 | ERROR | [x] Short array syntax must be used to define arrays
265 | ERROR | [x] Short array syntax must be used to define arrays
266 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: ]
267 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
268 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
270 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
273 | ERROR | [x] Expected 1 space before "??"; 0 found
273 | ERROR | [x] Expected 1 space after "??"; 0 found
275 | ERROR | [x] Short array syntax must be used to define arrays
276 | ERROR | [x] Short array syntax must be used to define arrays
277 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: ]
278 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
279 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
282 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
285 | ERROR | [x] Expected 1 space before "??"; 0 found
285 | ERROR | [x] Expected 1 space after "??"; 0 found
287 | ERROR | [x] Short array syntax must be used to define arrays
288 | ERROR | [x] Short array syntax must be used to define arrays
291 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
293 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
296 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
299 | ERROR | [x] Expected 1 space before "??"; 0 found
299 | ERROR | [x] Expected 1 space after "??"; 0 found
301 | ERROR | [x] Short array syntax must be used to define arrays
302 | ERROR | [x] Short array syntax must be used to define arrays
303 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: ]
304 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
305 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
307 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
310 | ERROR | [x] Expected 1 space before "??"; 0 found
310 | ERROR | [x] Expected 1 space after "??"; 0 found
312 | ERROR | [x] Short array syntax must be used to define arrays
313 | ERROR | [x] Short array syntax must be used to define arrays
314 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: ]
315 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
316 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
318 | ERROR | [x] Functions must not contain multiple empty lines in a row;
| | found 2 empty lines
320 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
323 | ERROR | [x] Expected 1 space before "??"; 0 found
323 | ERROR | [x] Expected 1 space after "??"; 0 found
325 | ERROR | [x] Short array syntax must be used to define arrays
326 | ERROR | [x] Short array syntax must be used to define arrays
327 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: ]
328 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
329 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
331 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
334 | ERROR | [x] Expected 1 space before "??"; 0 found
334 | ERROR | [x] Expected 1 space after "??"; 0 found
336 | ERROR | [x] Short array syntax must be used to define arrays
337 | ERROR | [x] Short array syntax must be used to define arrays
340 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
341 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
344 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
347 | ERROR | [x] Expected 1 space before "??"; 0 found
347 | ERROR | [x] Expected 1 space after "??"; 0 found
349 | ERROR | [x] Short array syntax must be used to define arrays
350 | ERROR | [x] Short array syntax must be used to define arrays
351 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: ]
352 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
353 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
355 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
358 | ERROR | [x] Expected 1 space before "??"; 0 found
358 | ERROR | [x] Expected 1 space after "??"; 0 found
360 | ERROR | [x] Short array syntax must be used to define arrays
361 | ERROR | [x] Short array syntax must be used to define arrays
364 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
365 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
368 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
374 | ERROR | [x] Expected 1 space before "??"; 0 found
374 | ERROR | [x] Expected 1 space after "??"; 0 found
376 | ERROR | [x] Short array syntax must be used to define arrays
377 | ERROR | [x] Short array syntax must be used to define arrays
378 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: ]
379 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
380 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
382 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
388 | ERROR | [x] Expected 1 space before "??"; 0 found
388 | ERROR | [x] Expected 1 space after "??"; 0 found
390 | ERROR | [x] Short array syntax must be used to define arrays
391 | ERROR | [x] Short array syntax must be used to define arrays
392 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: ]
393 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
394 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
397 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
404 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
407 | ERROR | [x] Expected 1 space before "??"; 0 found
407 | ERROR | [x] Expected 1 space after "??"; 0 found
411 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
417 | ERROR | [x] Expected 1 space before "??"; 0 found
417 | ERROR | [x] Expected 1 space after "??"; 0 found
419 | ERROR | [x] Short array syntax must be used to define arrays
420 | ERROR | [x] Short array syntax must be used to define arrays
421 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: ]
422 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
423 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
426 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
429 | ERROR | [x] Expected 1 space before "??"; 0 found
429 | ERROR | [x] Expected 1 space after "??"; 0 found
431 | ERROR | [x] Short array syntax must be used to define arrays
432 | ERROR | [x] Short array syntax must be used to define arrays
433 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: ]
434 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
435 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
437 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
440 | ERROR | [x] Expected 1 space before "??"; 0 found
440 | ERROR | [x] Expected 1 space after "??"; 0 found
442 | ERROR | [x] Short array syntax must be used to define arrays
443 | ERROR | [x] Short array syntax must be used to define arrays
445 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
446 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
449 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
452 | ERROR | [x] Expected 1 space before "??"; 0 found
452 | ERROR | [x] Expected 1 space after "??"; 0 found
454 | ERROR | [x] Short array syntax must be used to define arrays
455 | ERROR | [x] Short array syntax must be used to define arrays
456 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: ]
457 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
458 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
461 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
462 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
464 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
467 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
469 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
470 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
472 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
473 | ERROR | [x] Functions must not contain multiple empty lines in a row;
| | found 2 empty lines
475 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
476 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
477 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
478 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
479 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
480 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
481 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
482 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
483 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
484 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
485 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
486 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
487 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
488 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
489 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
490 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
491 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
492 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
493 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
494 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
496 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
498 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
501 | ERROR | [x] Doc comment long description must start with a capital
| | letter
503 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
504 | ERROR | [x] Opening brace should be on the same line as the
| | declaration
505 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
506 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
506 | ERROR | [x] Expected 1 blank line after function; 0 found
507 | ERROR | [x] Line indented incorrectly; expected 0 spaces, found 2
507 | ERROR | [x] Closing brace indented incorrectly; expected 0 spaces,
| | found 2
507 | ERROR | [x] The closing brace for the class must have an empty line
| | before it
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 341 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------

FILE: ...w/html/contribution/drupal10/web/modules/contrib/adc_block/css/digital.css
--------------------------------------------------------------------------------
FOUND 25 ERRORS AFFECTING 17 LINES
--------------------------------------------------------------------------------
1 | ERROR | [x] Expected 1 space before opening brace of class definition; 0
| | found
2 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
2 | ERROR | [x] Expected 1 space after colon in style definition; 0 found
4 | ERROR | [x] Expected 1 space before opening brace of class definition; 0
| | found
5 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
5 | ERROR | [x] Expected 1 space after colon in style definition; 0 found
6 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
6 | ERROR | [x] Expected 1 space after colon in style definition; 0 found
7 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
9 | ERROR | [x] Expected 1 space before opening brace of class definition; 0
| | found
10 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
11 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
11 | ERROR | [x] Expected 1 space after colon in style definition; 0 found
13 | ERROR | [x] Expected 1 space before opening brace of class definition; 0
| | found
14 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
14 | ERROR | [x] Expected 1 space after colon in style definition; 0 found
16 | ERROR | [x] Expected 1 space before opening brace of class definition; 0
| | found
17 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
17 | ERROR | [x] Expected 1 space after colon in style definition; 0 found
19 | ERROR | [x] Expected 1 space before opening brace of class definition; 0
| | found
20 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
20 | ERROR | [x] Expected 1 space after colon in style definition; 0 found
21 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
21 | ERROR | [x] Expected 1 space after colon in style definition; 0 found
22 | ERROR | [x] Expected 1 newline at end of file; 0 found
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 25 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------

FILE: ...ww/html/contribution/drupal10/web/modules/contrib/adc_block/css/analog.css
--------------------------------------------------------------------------------
FOUND 13 ERRORS AFFECTING 8 LINES
--------------------------------------------------------------------------------
1 | ERROR | [x] Multiple selectors should each be on a single line
2 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
2 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
3 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
3 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
4 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
4 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
5 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
5 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
8 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
8 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
10 | ERROR | [ ] Class definition is empty
11 | ERROR | [x] Expected 1 newline at end of file; 0 found
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 12 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------

FILE: ...tml/contribution/drupal10/web/modules/contrib/adc_block/adc_block.info.yml
--------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------
7 | ERROR | [x] Expected 1 newline at end of file; 0 found
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------

FILE: ...on/drupal10/web/modules/contrib/adc_block/templates/analog-clock.html.twig
--------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------
27 | ERROR | [x] Expected 1 newline at end of file; 3 found
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------

FILE: ...n/drupal10/web/modules/contrib/adc_block/templates/digital-clock.html.twig
--------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------
49 | ERROR | [x] Expected 1 newline at end of file; 0 found
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------

Time: 1.64 secs; Memory: 18MB

Steps to reproduce

Execute the command: phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,js,info,txt,md,yml,twig adc_block/

Remaining tasks

Patch review

๐Ÿ“Œ Task
Status

Needs review

Version

1.0

Component

Code

Created by

๐Ÿ‡ฎ๐Ÿ‡ณIndia urvashi_vora Madhya Pradesh, India

Live updates comments and jobs are added and updated live.
  • Coding standards

    It involves compliance with, or the content of coding standards. Requires broad community agreement.

Sign in to follow issues

Merge Requests

Comments & Activities

  • Issue created by @urvashi_vora
  • Status changed to Needs work about 1 year ago
  • ๐Ÿ‡ต๐Ÿ‡ญPhilippines clarkssquared

    Hi urvashi_vora

    I applied your patch coding-standard-issue.patch โ†’ to my local and confirmed that all the phpcs errors were fixed, however when I ran the phpcs command it shows me a warning below

    FILE: /Users/studenttrainees/Drupal/drupalissues/docroot/modules/contrib/adc_block/adc_block.info.yml
    -------------------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 1 LINE
    -------------------------------------------------------------------------------------------------------------
    1 | WARNING | Remove "project" from the info file, it will be added by drupal.org packaging automatically
    1 | WARNING | Remove "datestamp" from the info file, it will be added by drupal.org packaging automatically
    1 | WARNING | Remove "version" from the info file, it will be added by drupal.org packaging automatically
    -------------------------------------------------------------------------------------------------------------

    Time: 844ms; Memory: 18MB

    Moving this to needs work to review if this needs to be fixed or to leave as is.

    Please look at the screenshot attached for your reference.

    Thank you

  • Status changed to Needs review about 1 year ago
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia chaitanyadessai

    Patch added please review.

  • Status changed to Needs work about 1 year ago
  • ๐Ÿ‡ฎ๐Ÿ‡นItaly apaderno Brescia, ๐Ÿ‡ฎ๐Ÿ‡น
    +(function ($, Drupal, drupalSettings) {
    +    Drupal.behaviors.analog_behavior = {
    +        attach: function (context, settings) {
    +            (function ($) {
    +                function core(id, preset, options) {
    +                    var adc_blockcanvas = $(id)[0];
    +                    var ctx = adc_blockcanvas.getContext('2d');
    +                    var adc_blockbound = adc_blockcanvas.height;
    +                    var adc_blocksafepad = 0;
    +                    if (preset.hasShadow) {
    +                        adc_blocksafepad = 4;
    +                    }
    +                    var adc_blockradius = adc_blockcanvas.height / 2 - adc_blocksafepad;
    +                    var adc_blocksecondStep = 2 * Math.PI / 60;
    +                    var adc_blockhourStep = 2 * Math.PI / 12;
    +                    var adc_blockinitialize = function () {
    +                        $(adc_blockcanvas).css('max-width', '100%');
    +                        $(adc_blockcanvas).css('width', $(adc_blockcanvas).css('height'));
    +                        adc_blockcanvas.width = adc_blockcanvas.height;
    +                        if (preset.hasShadow) {
    +                            ctx.shadowOffsetX = 0.0;
    +                            ctx.shadowOffsetY = 0.0;
    +                            ctx.shadowBlur = preset.shadowBlur;
    +                            ctx.shadowColor = preset.shadowColor;
    +                        }
    +                        draw();
    +                    };
    +                    var adc_blockp2v = function (value) {
    +                        return value / 100.0 * adc_blockradius;
    +                    };
    +                    var adc_blockdrawMajorLines = function () {
    +                        ctx.lineWidth = adc_blockp2v(preset.majorTicksLength);
    +                        ctx.strokeStyle = preset.majorTicksColor;
    +                        for (var i = 1; i <= 12; i++) {

    The indentation must be two spaces also for JavaScript code.

    +  /**
    +   * {@inheritdoc}
    +   *
    +   * Disable block cache to keep it the Analog Clock update.
    +   */

    The description is not grammatically correct. It should be Disable the block cache to keep the Analog Clock block updated. It should not be necessary, since that is the reason to return 0 from getCacheMaxAge().

  • Assigned to nitin_lama
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia nitin_lama

    Addressed #4.2. Also, there were some phpcs erros in the README.md file. Updated the changes. Providing updated patch.

  • Issue was unassigned.
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia kbk1992 Hyderabad

    bharath-kondeti โ†’ made their first commit to this issueโ€™s fork.

  • Assigned to kbk1992
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia kbk1992 Hyderabad
  • Issue was unassigned.
  • Status changed to Needs review about 1 year ago
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia kbk1992 Hyderabad

    Addressed 4.1 after the latest patch in #6. Please review the MR https://git.drupalcode.org/project/adc_block/-/merge_requests/2

  • First commit to issue fork.
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia D-XPERT

    I have updated the forked repository and executed the code sniffer. Here are some warnings that need to be addressed.

    FILE: ...var/www/html/web/modules/custom/adc/src/Plugin/Block/DigitalClockBlock.php
    --------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 5 WARNINGS AFFECTING 4 LINES
    --------------------------------------------------------------------------------
      50 | WARNING | \Drupal calls should be avoided in classes, use dependency
         |         | injection instead
      53 | WARNING | \Drupal calls should be avoided in classes, use dependency
         |         | injection instead
     221 | WARNING | \Drupal calls should be avoided in classes, use dependency
         |         | injection instead
     230 | WARNING | \Drupal calls should be avoided in classes, use dependency
         |         | injection instead
     230 | WARNING | \Drupal calls should be avoided in classes, use dependency
         |         | injection instead
    --------------------------------------------------------------------------------
    
    Time: 174ms; Memory: 12MB
    
    
  • Status changed to Needs work 4 months ago
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia D-XPERT
  • Status changed to Needs review 4 months ago
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia Jasjeet Kaur Brar

    I have added a patch to fix the warnings as per #14. Please review. Thank You.

  • Assigned to nitin_lama
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia nitin_lama

    Patch #16 applies successfully. No remaining phpcs issue left.

  • Merge request !3#3363471: MR for the changes. โ†’ (Open) created by nitin_lama
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia nitin_lama

    MR created. Please review. Thanks.

  • Issue was unassigned.
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia chaitanyadessai

    After applying patch #16 cleanly, Digital Clock block is unable to place.

  • Status changed to Needs work 4 months ago
  • Status changed to Needs review 4 months ago
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia chaitanyadessai

    Please review patch.

  • Merge request !4Fixed DI warnings. โ†’ (Open) created by chaitanyadessai
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia nitin_lama

    @chaitanyadessai instead of new MR. Its better to work on the opened MR. I've pushed changes to MR3.

  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia nitin_lama

    nitin_lama โ†’ changed the visibility of the branch adc_block-3363471-26 to hidden.

  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia Yashaswi18

    On running the command phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,info,txt,md,yml,css adc_block/, found these warnings remaining:

    FILE: /home/yashaswi/contribs/adc_block/src/Plugin/Block/DigitalClockBlock.php
    ----------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 5 WARNINGS AFFECTING 4 LINES
    ----------------------------------------------------------------------------------------------
      50 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
      53 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
     221 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
     230 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
     230 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
    ----------------------------------------------------------------------------------------------
Production build 0.69.0 2024