Problem/Motivation
FILE: /var/www/html/web/modules/ala/tests/src/Functional/LoadTest.php
------------------------------------------------------------------------------
FOUND 18 ERRORS AFFECTING 18 LINES
------------------------------------------------------------------------------
14 | ERROR | [x] Opening brace should be on the same line as the declaration
16 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
21 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
23 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
28 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
30 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
33 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
34 | ERROR | [x] Opening brace should be on the same line as the declaration
35 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
36 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
37 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
38 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
40 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
43 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
44 | ERROR | [x] Opening brace should be on the same line as the declaration
45 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
46 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
47 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
------------------------------------------------------------------------------
PHPCBF CAN FIX THE 18 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------
FILE: /var/www/html/web/modules/ala/README.md
----------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------
7 | WARNING | Line exceeds 80 characters; contains 81 characters
----------------------------------------------------------------------
FILE: /var/www/html/web/modules/ala/src/Plugin/Field/FieldFormatter/AdvancedLinkAttributesFieldFormatter.php
------------------------------------------------------------------------------------------------------------
FOUND 160 ERRORS AND 3 WARNINGS AFFECTING 156 LINES
------------------------------------------------------------------------------------------------------------
24 | ERROR | [x] Opening brace should be on the same line as the declaration
26 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
29 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
30 | ERROR | [x] Opening brace should be on the same line as the declaration
31 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
32 | ERROR | [x] Array indentation error, expected 10 spaces but found 8
33 | ERROR | [x] Array indentation error, expected 10 spaces but found 8
34 | ERROR | [x] Array indentation error, expected 10 spaces but found 8
35 | ERROR | [x] Array indentation error, expected 10 spaces but found 8
36 | ERROR | [x] Array indentation error, expected 10 spaces but found 8
38 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
40 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
43 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
44 | ERROR | [x] Opening brace should be on the same line as the declaration
45 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
47 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
48 | ERROR | [x] Array indentation error, expected 10 spaces but found 8
49 | ERROR | [x] Array indentation error, expected 10 spaces but found 8
50 | ERROR | [x] Array indentation error, expected 10 spaces but found 8
51 | ERROR | [x] Array indentation error, expected 10 spaces but found 8
52 | ERROR | [x] Array indentation error, expected 10 spaces but found 8
54 | ERROR | [x] Array indentation error, expected 10 spaces but found 8
56 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
57 | ERROR | [x] Array indentation error, expected 10 spaces but found 8
58 | ERROR | [x] Array indentation error, expected 10 spaces but found 8
59 | ERROR | [x] Array indentation error, expected 10 spaces but found 8
60 | ERROR | [x] Array indentation error, expected 10 spaces but found 8
61 | ERROR | [x] Array indentation error, expected 10 spaces but found 8
62 | ERROR | [x] Array indentation error, expected 10 spaces but found 8
64 | ERROR | [x] Array indentation error, expected 10 spaces but found 8
66 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
67 | ERROR | [x] Array indentation error, expected 10 spaces but found 8
68 | ERROR | [x] Array indentation error, expected 10 spaces but found 8
69 | ERROR | [x] Array indentation error, expected 10 spaces but found 8
70 | ERROR | [x] Array indentation error, expected 10 spaces but found 8
71 | ERROR | [x] Array indentation error, expected 10 spaces but found 8
73 | ERROR | [x] Array indentation error, expected 10 spaces but found 8
75 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
76 | ERROR | [x] Array indentation error, expected 10 spaces but found 8
77 | ERROR | [x] Array indentation error, expected 10 spaces but found 8
78 | ERROR | [x] Array indentation error, expected 10 spaces but found 8
79 | ERROR | [x] Array indentation error, expected 10 spaces but found 8
80 | ERROR | [x] Array indentation error, expected 10 spaces but found 8
82 | ERROR | [x] Array indentation error, expected 10 spaces but found 8
85 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
86 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
88 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
91 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
92 | ERROR | [x] Opening brace should be on the same line as the declaration
93 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
94 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
95 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
97 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
98 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
99 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
100 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
102 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
103 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
104 | WARNING | [ ] Line exceeds 80 characters; contains 83 characters
104 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
105 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
106 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
107 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
108 | ERROR | [x] Object operator not indented correctly; expected 18 spaces but found 20
108 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true"
109 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
111 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
112 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
113 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
113 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false"
113 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true"
114 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
116 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
117 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
119 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
120 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
121 | ERROR | [x] Line indented incorrectly; expected 10 spaces, found 20
122 | ERROR | [x] Line indented incorrectly; expected 12 spaces, found 24
123 | ERROR | [x] Line indented incorrectly; expected 10 spaces, found 20
124 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
125 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
127 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
128 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
129 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
131 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
132 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
133 | ERROR | [x] Line indented incorrectly; expected 10 spaces, found 16
134 | ERROR | [x] Line indented incorrectly; expected 12 spaces, found 20
135 | ERROR | [x] Line indented incorrectly; expected 14 spaces, found 20
136 | ERROR | [x] Line indented incorrectly; expected 16 spaces, found 24
137 | ERROR | [x] Case breaking statements must be followed by a single blank line
137 | ERROR | [x] Case breaking statement indented incorrectly; expected 22 spaces, found 24
138 | ERROR | [x] Line indented incorrectly; expected 14 spaces, found 20
139 | ERROR | [x] Line indented incorrectly; expected 16 spaces, found 24
140 | ERROR | [x] Case breaking statement indented incorrectly; expected 22 spaces, found 24
141 | ERROR | [x] Line indented incorrectly; expected 12 spaces, found 20
142 | ERROR | [x] Case breaking statement indented incorrectly; expected 18 spaces, found 20
144 | ERROR | [x] Line indented incorrectly; expected 10 spaces, found 16
145 | ERROR | [x] Line indented incorrectly; expected 12 spaces, found 20
146 | ERROR | [x] Case breaking statement indented incorrectly; expected 18 spaces, found 20
148 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
149 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
150 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
151 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
152 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
154 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
155 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
156 | ERROR | [x] Line indented incorrectly; expected 10 spaces, found 16
157 | ERROR | [x] Line indented incorrectly; expected 12 spaces, found 20
158 | ERROR | [x] Case breaking statement indented incorrectly; expected 18 spaces, found 20
160 | ERROR | [x] Line indented incorrectly; expected 10 spaces, found 16
161 | ERROR | [x] Line indented incorrectly; expected 12 spaces, found 20
162 | ERROR | [x] Case breaking statement indented incorrectly; expected 18 spaces, found 20
164 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
165 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
167 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
168 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
169 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
170 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
172 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
173 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
174 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
176 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
177 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
178 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
180 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
182 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
183 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
184 | ERROR | [x] Array indentation error, expected 18 spaces but found 16
187 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
188 | ERROR | [x] Line indented incorrectly; expected 10 spaces, found 20
189 | ERROR | [x] Line indented incorrectly; expected 10 spaces, found 20
190 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
191 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
192 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
194 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
195 | ERROR | [x] Array indentation error, expected 18 spaces but found 16
196 | ERROR | [x] Array indentation error, expected 18 spaces but found 16
197 | ERROR | [x] Array indentation error, expected 18 spaces but found 16
199 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
201 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
202 | ERROR | [x] Line indented incorrectly; expected 10 spaces, found 20
203 | ERROR | [x] Line indented incorrectly; expected 10 spaces, found 20
204 | WARNING | [ ] Line exceeds 80 characters; contains 87 characters
204 | ERROR | [x] Line indented incorrectly; expected 10 spaces, found 20
205 | WARNING | [ ] Line exceeds 80 characters; contains 89 characters
205 | ERROR | [x] Line indented incorrectly; expected 10 spaces, found 20
206 | ERROR | [x] Line indented incorrectly; expected 10 spaces, found 20
207 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
208 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
210 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
211 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
212 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
213 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
214 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
215 | ERROR | [x] Line indented incorrectly; expected 10 spaces, found 20
216 | ERROR | [x] Line indented incorrectly; expected 12 spaces, found 24
217 | ERROR | [x] Line indented incorrectly; expected 10 spaces, found 20
218 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
219 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
220 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
222 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
223 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 160 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------
FILE: /var/www/html/web/modules/ala/src/Plugin/Field/FieldWidget/AdvancedLinkAttributesFieldWidget.php
------------------------------------------------------------------------------------------------------
FOUND 135 ERRORS AND 1 WARNING AFFECTING 134 LINES
------------------------------------------------------------------------------------------------------
26 | ERROR | [x] Opening brace should be on the same line as the declaration
28 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
33 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
35 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
38 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
39 | ERROR | [x] Opening brace should be on the same line as the declaration
40 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
41 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
42 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
44 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
47 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
48 | ERROR | [x] Opening brace should be on the same line as the declaration
49 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
57 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
59 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
62 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
63 | ERROR | [x] Opening brace should be on the same line as the declaration
64 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
65 | ERROR | [x] Array indentation error, expected 10 spaces but found 8
66 | ERROR | [x] Array indentation error, expected 10 spaces but found 8
67 | ERROR | [x] Array indentation error, expected 10 spaces but found 8
68 | ERROR | [x] Array indentation error, expected 10 spaces but found 8
69 | ERROR | [x] Array indentation error, expected 10 spaces but found 8
70 | ERROR | [x] Array indentation error, expected 10 spaces but found 8
71 | ERROR | [x] Array indentation error, expected 10 spaces but found 8
73 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
75 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
80 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
81 | ERROR | [x] Opening brace should be on the same line as the declaration
82 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
84 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
85 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
87 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
90 | WARNING | [x] A comma should follow the last multiline array item. Found: false
90 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false"
93 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
94 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
97 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false"
99 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
100 | ERROR | [x] Functions must not contain multiple empty lines in a row; found 2 empty lines
102 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
108 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
109 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
110 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
117 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
118 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
119 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
120 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
126 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
128 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
129 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
130 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
131 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
137 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
138 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
144 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
146 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
147 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
148 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
151 | ERROR | [x] Line indented incorrectly; expected 12 spaces, found 16
154 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 12
155 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 12
157 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true"
165 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
167 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
168 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
170 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
171 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 12
172 | ERROR | [x] Line indented incorrectly; expected 10 spaces, found 16
173 | ERROR | [x] Line indented incorrectly; expected 10 spaces, found 16
174 | ERROR | [x] Case breaking statement indented incorrectly; expected 14 spaces, found 16
176 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 12
177 | ERROR | [x] Line indented incorrectly; expected 10 spaces, found 16
178 | ERROR | [x] Case breaking statement indented incorrectly; expected 14 spaces, found 16
180 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 12
181 | ERROR | [x] Line indented incorrectly; expected 10 spaces, found 16
182 | ERROR | [x] Case breaking statement indented incorrectly; expected 14 spaces, found 16
183 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
185 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
186 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
192 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
194 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
195 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
197 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
199 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
201 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
202 | ERROR | [x] Line indented incorrectly; expected 10 spaces, found 20
203 | ERROR | [x] Line indented incorrectly; expected 10 spaces, found 20
204 | ERROR | [x] Line indented incorrectly; expected 10 spaces, found 20
209 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 16
210 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
211 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
213 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
214 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
216 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
221 | ERROR | [x] Expected 1 spaces after parameter type; 36 found
227 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
228 | ERROR | [x] Opening brace should be on the same line as the declaration
229 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
230 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
232 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
235 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
236 | ERROR | [x] Opening brace should be on the same line as the declaration
237 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
239 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
250 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
268 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
273 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
278 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
283 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
288 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
294 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
295 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
297 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
300 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
301 | ERROR | [x] Opening brace should be on the same line as the declaration
302 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
308 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
310 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
315 | ERROR | [x] Expected 1 spaces after parameter type; 3 found
321 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
321 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false"
322 | ERROR | [x] Opening brace should be on the same line as the declaration
323 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
324 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
325 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
327 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
328 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
329 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
330 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
331 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
333 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
334 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 12
335 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
336 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
337 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 136 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------
FILE: /var/www/html/web/modules/ala/src/Form/ModuleConfigurationForm.php
------------------------------------------------------------------------------------------
FOUND 46 ERRORS AFFECTING 46 LINES
------------------------------------------------------------------------------------------
12 | ERROR | [x] Opening brace should be on the same line as the declaration
14 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
17 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
18 | ERROR | [x] Opening brace should be on the same line as the declaration
19 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
20 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
22 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
25 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
26 | ERROR | [x] Opening brace should be on the same line as the declaration
27 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
28 | ERROR | [x] Array indentation error, expected 10 spaces but found 8
30 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
32 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
35 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
36 | ERROR | [x] Opening brace should be on the same line as the declaration
37 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
39 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
40 | ERROR | [x] Array indentation error, expected 10 spaces but found 8
41 | ERROR | [x] Array indentation error, expected 10 spaces but found 8
42 | ERROR | [x] Array indentation error, expected 10 spaces but found 8
43 | ERROR | [x] Array indentation error, expected 10 spaces but found 8
44 | ERROR | [x] Array indentation error, expected 10 spaces but found 8
45 | ERROR | [x] Array indentation error, expected 10 spaces but found 8
47 | ERROR | [x] Array indentation error, expected 10 spaces but found 8
49 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
50 | ERROR | [x] Array indentation error, expected 10 spaces but found 8
51 | ERROR | [x] Array indentation error, expected 10 spaces but found 8
52 | ERROR | [x] Array indentation error, expected 10 spaces but found 8
53 | ERROR | [x] Array indentation error, expected 10 spaces but found 8
54 | ERROR | [x] Array indentation error, expected 10 spaces but found 8
55 | ERROR | [x] Array indentation error, expected 10 spaces but found 8
57 | ERROR | [x] Array indentation error, expected 10 spaces but found 8
59 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
60 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
62 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
65 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
66 | ERROR | [x] Opening brace should be on the same line as the declaration
67 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
73 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
75 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
78 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
79 | ERROR | [x] Opening brace should be on the same line as the declaration
80 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
81 | ERROR | [x] Object operator not indented correctly; expected 10 spaces but found 12
84 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
85 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 46 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------
FILE: /var/www/html/web/modules/ala/README.md
----------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------
7 | WARNING | Line exceeds 80 characters; contains 81 characters
----------------------------------------------------------------------
Steps to reproduce
Run this command
./vendor/bin/phpcs --standard="Drupal,DrupalPractice" --extensions="php,module,inc,install,test,profile,theme,md" web/modules/ala/
Proposed resolution
Run this command, It will fix maximum issue after that you can fix the issue manually.
./vendor/bin/phpcbf --standard="Drupal,DrupalPractice" --extensions="php,module,inc,install,test,profile,theme,md" web/modules/ala/