Fix the issues reported by phpcs

Created on 10 October 2023, 9 months ago

Problem/Motivation

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\navigation\.github\ISSUE_TEMPLATE\general-issue-template.md
-------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------
18 | WARNING | Line exceeds 80 characters; contains 93 characters
-------------------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\navigation\css\base\media-queries.css
---------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
---------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
---------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\navigation\css\base\media-queries.pcss.css
--------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
--------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\navigation\css\base\variables.css
-----------------------------------------------------------------------------------
FOUND 17 ERRORS AFFECTING 17 LINES
-----------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
14 | ERROR | [ ] Style definitions must end with a semicolon
15 | ERROR | [ ] Style definitions must end with a semicolon
16 | ERROR | [ ] Style definitions must end with a semicolon
18 | ERROR | [ ] Style definitions must end with a semicolon
19 | ERROR | [ ] Style definitions must end with a semicolon
20 | ERROR | [ ] Style definitions must end with a semicolon
21 | ERROR | [ ] Style definitions must end with a semicolon
22 | ERROR | [ ] Style definitions must end with a semicolon
23 | ERROR | [ ] Style definitions must end with a semicolon
24 | ERROR | [ ] Style definitions must end with a semicolon
25 | ERROR | [ ] Style definitions must end with a semicolon
26 | ERROR | [ ] Style definitions must end with a semicolon
28 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 0
29 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 0
36 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 0
37 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 0
-----------------------------------------------------------------------------------
PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\navigation\css\base\variables.pcss.css
-----------------------------------------------------------------------------------------------
FOUND 29 ERRORS AFFECTING 20 LINES
-----------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
5 | ERROR | [x] CSS colours must be defined in lowercase; expected #26a769 but found #26A769
6 | ERROR | [x] CSS colours must be defined in lowercase; expected #009cde but found #009CDE
7 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 3
8 | ERROR | [ ] Style definitions must end with a semicolon
8 | ERROR | [x] CSS colours must be defined in lowercase; expected #ccdbff but found #CCDBFF
9 | ERROR | [ ] Style definitions must end with a semicolon
9 | ERROR | [x] CSS colours must be defined in lowercase; expected #003ecc but found #003ECC
10 | ERROR | [ ] Style definitions must end with a semicolon
10 | ERROR | [x] CSS colours must be defined in lowercase; expected #002e9a but found #002E9A
12 | ERROR | [ ] Style definitions must end with a semicolon
12 | ERROR | [x] CSS colours must be defined in lowercase; expected #f3f4f9 but found #F3F4F9
13 | ERROR | [ ] Style definitions must end with a semicolon
13 | ERROR | [x] CSS colours must be defined in lowercase; expected #dedfe4 but found #DEDFE4
14 | ERROR | [ ] Style definitions must end with a semicolon
14 | ERROR | [x] CSS colours must be defined in lowercase; expected #c1c2c7 but found #C1C2C7
15 | ERROR | [ ] Style definitions must end with a semicolon
16 | ERROR | [ ] Style definitions must end with a semicolon
17 | ERROR | [ ] Style definitions must end with a semicolon
17 | ERROR | [x] CSS colours must be defined in lowercase; expected #75767b but found #75767B
18 | ERROR | [ ] Style definitions must end with a semicolon
18 | ERROR | [x] CSS colours must be defined in lowercase; expected #55565b but found #55565B
19 | ERROR | [ ] Style definitions must end with a semicolon
19 | ERROR | [x] CSS colours must be defined in lowercase; expected #393a3f but found #393A3F
20 | ERROR | [ ] Style definitions must end with a semicolon
22 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 0
23 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 0
30 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 0
31 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 0
-----------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 17 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\navigation\css\components\admin-toolbar.css
---------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
---------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
---------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\navigation\css\components\admin-toolbar.pcss.css
--------------------------------------------------------------------------------------------------
FOUND 40 ERRORS AFFECTING 30 LINES
--------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
13 | ERROR | [x] Selectors must be on a single line
14 | ERROR | [x] Blank lines are not allowed between class names
31 | ERROR | [x] Selectors must be on a single line
32 | ERROR | [x] Blank lines are not allowed between class names
33 | ERROR | [ ] Style definitions must end with a semicolon
38 | ERROR | [x] Blank lines are not allowed in class definitions
49 | ERROR | [x] Line indented incorrectly; expected 0 spaces, found 1
78 | ERROR | [x] Selectors must be on a single line
79 | ERROR | [x] Blank lines are not allowed between class names
86 | ERROR | [x] Selectors must be on a single line
87 | ERROR | [x] Blank lines are not allowed between class names
92 | ERROR | [x] Blank lines are not allowed in class definitions
98 | ERROR | [x] Blank lines are not allowed in class definitions
103 | ERROR | [x] Blank lines are not allowed in class definitions
107 | ERROR | [x] Blank lines are not allowed in class definitions
108 | ERROR | [x] Expected 1 space before opening brace of class definition; 2 found
136 | ERROR | [x] Selectors must be on a single line
137 | ERROR | [x] Blank lines are not allowed between class names
163 | ERROR | [x] Selectors must be on a single line
164 | ERROR | [x] Blank lines are not allowed between class names
165 | ERROR | [x] Expected 1 space after colon in style definition; 0 found
165 | ERROR | [ ] Style definitions must end with a semicolon
183 | ERROR | [x] Expected 1 space after colon in style definition; 0 found
183 | ERROR | [ ] Style definitions must end with a semicolon
183 | ERROR | [x] Each style definition must be on a line by itself
183 | ERROR | [x] Expected 1 space after colon in style definition; 0 found
183 | ERROR | [ ] Style definitions must end with a semicolon
203 | ERROR | [x] Selectors must be on a single line
204 | ERROR | [x] Blank lines are not allowed between class names
205 | ERROR | [ ] Style definitions must end with a semicolon
223 | ERROR | [ ] Style definitions must end with a semicolon
223 | ERROR | [x] Each style definition must be on a line by itself
223 | ERROR | [ ] Style definition is empty
223 | ERROR | [x] Selectors must be on a single line
224 | ERROR | [x] Blank lines are not allowed between class names
225 | ERROR | [x] There must be no space before a colon in a style definition
225 | ERROR | [x] Expected 1 space after colon in style definition; 0 found
225 | ERROR | [ ] Style definitions must end with a semicolon
232 | ERROR | [x] Expected 1 newline at end of file; 0 found
--------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 32 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\navigation\css\components\breadcrumb.css
------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\navigation\css\components\breadcrumb.pcss.css
-----------------------------------------------------------------------------------------------
FOUND 5 ERRORS AFFECTING 5 LINES
-----------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
42 | ERROR | [x] Blank lines are not allowed in class definitions
45 | ERROR | [x] Selectors must be on a single line
46 | ERROR | [x] Blank lines are not allowed between class names
47 | ERROR | [ ] Style definitions must end with a semicolon
-----------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\navigation\css\components\control-bar.css
-------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
-------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\navigation\css\components\control-bar.pcss.css
------------------------------------------------------------------------------------------------
FOUND 8 ERRORS AFFECTING 7 LINES
------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
8 | ERROR | [x] Selectors must be on a single line
9 | ERROR | [x] Blank lines are not allowed between class names
26 | ERROR | [x] Selectors must be on a single line
27 | ERROR | [x] Blank lines are not allowed between class names
28 | ERROR | [x] Expected 1 space after colon in style definition; 0 found
28 | ERROR | [ ] Style definitions must end with a semicolon
40 | ERROR | [x] Expected 1 newline at end of file; 0 found
------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 7 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\navigation\css\components\toolbar-block.css
---------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
---------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
31 | ERROR | [x] Multiple selectors should each be on a single line
---------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\navigation\css\components\toolbar-block.pcss.css
--------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
--------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\navigation\css\components\toolbar-link.css
--------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
--------------------------------------------------------------------------------------------
1 | WARNING | File appears to be minified and cannot be processed
--------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\navigation\css\components\toolbar-link.pcss.css
-------------------------------------------------------------------------------------------------
FOUND 21 ERRORS AFFECTING 16 LINES
-------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
17 | ERROR | [x] Selectors must be on a single line
18 | ERROR | [x] Blank lines are not allowed between class names
19 | ERROR | [x] Expected 1 space after colon in style definition; 0 found
19 | ERROR | [ ] Style definitions must end with a semicolon
48 | ERROR | [x] Expected 1 space after colon in style definition; 0 found
48 | ERROR | [ ] Style definitions must end with a semicolon
89 | ERROR | [x] Selectors must be on a single line
90 | ERROR | [x] Blank lines are not allowed between class names
91 | ERROR | [x] Expected 1 space after colon in style definition; 0 found
91 | ERROR | [ ] Style definitions must end with a semicolon
95 | ERROR | [x] Blank lines are not allowed in class definitions
109 | ERROR | [x] Selectors must be on a single line
110 | ERROR | [x] Blank lines are not allowed between class names
111 | ERROR | [x] Expected 1 space after colon in style definition; 0 found
111 | ERROR | [ ] Style definitions must end with a semicolon
112 | ERROR | [x] Expected 1 space after colon in style definition; 0 found
112 | ERROR | [ ] Style definitions must end with a semicolon
119 | ERROR | [x] Selectors must be on a single line
120 | ERROR | [x] Blank lines are not allowed between class names
121 | ERROR | [ ] Style definitions must end with a semicolon
-------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 15 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\navigation\css\components\toolbar-menu.css
--------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
217 | ERROR | [x] Multiple selectors should each be on a single line
217 | ERROR | [x] Multiple selectors should each be on a single line
--------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\navigation\css\components\toolbar-menu.pcss.css
-------------------------------------------------------------------------------------------------
FOUND 63 ERRORS AFFECTING 56 LINES
-------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
9 | ERROR | [x] Selectors must be on a single line
10 | ERROR | [x] Blank lines are not allowed between class names
11 | ERROR | [ ] Style definitions must end with a semicolon
53 | ERROR | [x] Selectors must be on a single line
54 | ERROR | [x] Blank lines are not allowed between class names
55 | ERROR | [ ] Style definitions must end with a semicolon
77 | ERROR | [x] Selectors must be on a single line
78 | ERROR | [x] Blank lines are not allowed between class names
79 | ERROR | [ ] Style definitions must end with a semicolon
83 | ERROR | [x] Blank lines are not allowed in class definitions
87 | ERROR | [x] Blank lines are not allowed in class definitions
89 | ERROR | [x] Expected 1 space after colon in style definition; 0 found
89 | ERROR | [ ] Style definitions must end with a semicolon
90 | ERROR | [x] Expected 1 space after colon in style definition; 0 found
90 | ERROR | [ ] Style definitions must end with a semicolon
94 | ERROR | [x] Blank lines are not allowed in class definitions
96 | ERROR | [x] Expected 1 space after colon in style definition; 0 found
96 | ERROR | [ ] Style definitions must end with a semicolon
97 | ERROR | [x] Expected 1 space after colon in style definition; 0 found
97 | ERROR | [ ] Style definitions must end with a semicolon
101 | ERROR | [x] Blank lines are not allowed in class definitions
115 | ERROR | [x] Selectors must be on a single line
116 | ERROR | [x] Blank lines are not allowed between class names
117 | ERROR | [ ] Style definitions must end with a semicolon
123 | ERROR | [x] Selectors must be on a single line
124 | ERROR | [x] Blank lines are not allowed between class names
126 | ERROR | [ ] Style definitions must end with a semicolon
138 | ERROR | [x] Selectors must be on a single line
139 | ERROR | [x] Blank lines are not allowed between class names
140 | ERROR | [ ] Style definitions must end with a semicolon
146 | ERROR | [x] Selectors must be on a single line
147 | ERROR | [x] Blank lines are not allowed between class names
148 | ERROR | [x] Expected 1 space after colon in style definition; 0 found
148 | ERROR | [ ] Style definitions must end with a semicolon
149 | ERROR | [x] Expected 1 space after colon in style definition; 0 found
149 | ERROR | [ ] Style definitions must end with a semicolon
161 | ERROR | [x] Blank lines are not allowed in class definitions
166 | ERROR | [x] Blank lines are not allowed in class definitions
171 | ERROR | [x] Blank lines are not allowed in class definitions
175 | ERROR | [x] Blank lines are not allowed in class definitions
185 | ERROR | [x] Selectors must be on a single line
186 | ERROR | [x] Blank lines are not allowed between class names
187 | ERROR | [ ] Style definitions must end with a semicolon
226 | ERROR | [x] Selectors must be on a single line
227 | ERROR | [x] Blank lines are not allowed between class names
228 | ERROR | [x] Expected 1 space after colon in style definition; 0 found
228 | ERROR | [ ] Style definitions must end with a semicolon
234 | ERROR | [x] Blank lines are not allowed in class definitions
239 | ERROR | [x] Blank lines are not allowed in class definitions
246 | ERROR | [x] Selectors must be on a single line
247 | ERROR | [x] Blank lines are not allowed between class names
248 | ERROR | [ ] Style definitions must end with a semicolon
263 | ERROR | [x] Selectors must be on a single line
264 | ERROR | [x] Blank lines are not allowed between class names
266 | ERROR | [ ] Style definitions must end with a semicolon
279 | ERROR | [x] Blank lines are not allowed in class definitions
283 | ERROR | [x] Blank lines are not allowed in class definitions
297 | ERROR | [ ] Style definitions must end with a semicolon
304 | ERROR | [x] Selectors must be on a single line
305 | ERROR | [x] Blank lines are not allowed between class names
306 | ERROR | [ ] Style definitions must end with a semicolon
315 | ERROR | [x] Blank lines are not allowed in class definitions
-------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 45 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\navigation\css\components\tooltip.css
---------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
---------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
---------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\navigation\css\components\tooltip.pcss.css
--------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
--------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\navigation\js\admin-toolbar-wrapper.js
----------------------------------------------------------------------------------------------
FOUND 13 ERRORS AFFECTING 9 LINES
----------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
28 | ERROR | [x] Expected 1 space before "?"; 0 found
28 | ERROR | [x] Expected 1 space after "?"; 0 found
34 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true"
55 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true"
71 | ERROR | [x] Expected 1 space before "-"; 0 found
71 | ERROR | [x] Expected 1 space after "-"; 0 found
71 | ERROR | [x] Expected 1 space before "-"; 0 found
71 | ERROR | [x] Expected 1 space after "-"; 0 found
72 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true"
108 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false"
115 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true"
128 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true"
----------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 13 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\navigation\js\escapeAdmin.js
-------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
-------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
39 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "NULL" but found "null"
-------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\navigation\js\sidebar.js
----------------------------------------------------------------------------------------------
FOUND 94 ERRORS AFFECTING 52 LINES
----------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
40 | ERROR | [x] Expected 1 space before "?"; 0 found
40 | ERROR | [x] Expected 1 space after "?"; 0 found
40 | ERROR | [x] Expected 1 space before "?"; 0 found
40 | ERROR | [x] Expected 1 space after "?"; 0 found
41 | ERROR | [x] Expected 1 space before "?"; 0 found
41 | ERROR | [x] Expected 1 space after "?"; 0 found
41 | ERROR | [x] Expected 1 space before "?"; 0 found
41 | ERROR | [x] Expected 1 space after "?"; 0 found
45 | ERROR | [x] Expected 1 space before "?"; 0 found
45 | ERROR | [x] Expected 1 space after "?"; 0 found
46 | ERROR | [x] Expected 1 space before "?"; 0 found
46 | ERROR | [x] Expected 1 space after "?"; 0 found
51 | ERROR | [x] Expected 1 space before "?"; 0 found
51 | ERROR | [x] Expected 1 space after "?"; 0 found
51 | ERROR | [x] Expected 1 space before ":"; 0 found
83 | ERROR | [x] Inline control structures are not allowed
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
120 | ERROR | [x] Expected 1 space before "?"; 0 found
120 | ERROR | [x] Expected 1 space after "?"; 0 found
146 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "NULL" but found "null"
147 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "NULL" but found "null"
194 | ERROR | [x] Inline control structures are not allowed
211 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true"
212 | ERROR | [x] Expected 1 space before "-"; 0 found
212 | ERROR | [x] Expected 1 space after "-"; 0 found
213 | ERROR | [x] Inline control structures are not allowed
221 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true"
234 | ERROR | [x] Expected 1 space before "?"; 0 found
234 | ERROR | [x] Expected 1 space after "?"; 0 found
235 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false"
249 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false"
252 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false"
268 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true"
288 | ERROR | [x] Expected 1 space before "?"; 0 found
288 | ERROR | [x] Expected 1 space after "?"; 0 found
293 | ERROR | [x] Expected 1 space before "-"; 0 found
293 | ERROR | [x] Expected 1 space after "-"; 0 found
293 | ERROR | [x] Expected 1 space before "="; 0 found
293 | ERROR | [x] Expected 1 space after "="; 0 found
293 | ERROR | [x] Expected 1 space before "?"; 0 found
293 | ERROR | [x] Expected 1 space after "?"; 0 found
294 | ERROR | [x] Expected 1 space before "?"; 0 found
294 | ERROR | [x] Expected 1 space after "?"; 0 found
295 | ERROR | [x] Expected 1 space before "?"; 0 found
295 | ERROR | [x] Expected 1 space after "?"; 0 found
295 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false"
297 | ERROR | [x] Expected 1 space before "?"; 0 found
297 | ERROR | [x] Expected 1 space after "?"; 0 found
298 | ERROR | [x] Expected 1 space before "?"; 0 found
298 | ERROR | [x] Expected 1 space after "?"; 0 found
309 | ERROR | [x] Expected 1 space before "?"; 0 found
309 | ERROR | [x] Expected 1 space after "?"; 0 found
323 | ERROR | [x] Inline control structures are not allowed
327 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true"
329 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true"
348 | ERROR | [x] Expected 1 space before "?"; 0 found
348 | ERROR | [x] Expected 1 space after "?"; 0 found
359 | ERROR | [x] Case breaking statements must be followed by a single blank line
367 | ERROR | [x] Case breaking statements must be followed by a single blank line
418 | ERROR | [x] Case breaking statements must be followed by a single blank line
428 | ERROR | [x] Case breaking statements must be followed by a single blank line
447 | ERROR | [x] Expected 1 space before "?"; 0 found
447 | ERROR | [x] Expected 1 space after "?"; 0 found
450 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false"
454 | ERROR | [x] Expected 1 space before "?"; 0 found
454 | ERROR | [x] Expected 1 space after "?"; 0 found
457 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false"
458 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false"
466 | ERROR | [x] Expected 1 space before "?"; 0 found
466 | ERROR | [x] Expected 1 space after "?"; 0 found
467 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false"
477 | ERROR | [x] Expected 1 space before "?"; 0 found
477 | ERROR | [x] Expected 1 space after "?"; 0 found
483 | ERROR | [x] Expected 1 space before "?"; 0 found
483 | ERROR | [x] Expected 1 space after "?"; 0 found
490 | ERROR | [x] Expected 1 space before "?"; 0 found
490 | ERROR | [x] Expected 1 space after "?"; 0 found
502 | ERROR | [x] Expected 1 space after "?"; 0 found
502 | ERROR | [x] Expected 1 space before "?"; 0 found
510 | ERROR | [x] Expected 1 space before "-"; 0 found
510 | ERROR | [x] Expected 1 space after "-"; 0 found
510 | ERROR | [x] Expected 1 space before "-"; 0 found
510 | ERROR | [x] Expected 1 space after "-"; 0 found
510 | ERROR | [x] Expected 1 space before "="; 0 found
510 | ERROR | [x] Expected 1 space after "="; 0 found
511 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false"
526 | ERROR | [x] Expected 1 space after "?"; 0 found
526 | ERROR | [x] Expected 1 space before "?"; 0 found
----------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 94 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\navigation\navigation.module
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 14 ERRORS AND 3 WARNINGS AFFECTING 13 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] Missing file doc comment
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
6 | WARNING | [ ] Format should be "* Implements hook_foo().", "* Implements hook_foo_BAR_ID_bar() for xyz_bar().",, "* Implements hook_foo_BAR_ID_bar() for xyz-bar.html.twig.", "*
| | Implements hook_foo_BAR_ID_bar() for xyz-bar.tpl.php.", or "* Implements hook_foo_BAR_ID_bar() for block templates."
7 | ERROR | [x] There must be exactly one blank line before the tags in a doc comment
22 | ERROR | [x] Expected 1 space after "=>"; 2 found
28 | WARNING | [x] A comma should follow the last multiline array item. Found: 'navigation/navigation.escapeAdmin'
47 | ERROR | [x] Opening brace should be on the same line as the declaration
70 | ERROR | [ ] The array declaration extends to column 92 (the limit is 80). The array content should be split up over multiple lines
93 | ERROR | [x] Missing function doc comment
95 | ERROR | [x] Inline comments must start with a capital letter
95 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses
102 | WARNING | [x] A comma should follow the last multiline array item. Found: ]
105 | ERROR | [x] Inline comments must start with a capital letter
105 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses
107 | ERROR | [x] Inline comments must start with a capital letter
107 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses
109 | ERROR | [ ] The array declaration extends to column 103 (the limit is 80). The array content should be split up over multiple lines
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 14 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\navigation\README.txt
-----------------------------------------------------------------------
FOUND 0 ERRORS AND 5 WARNINGS AFFECTING 5 LINES
-----------------------------------------------------------------------
2 | WARNING | Line exceeds 80 characters; contains 285 characters
4 | WARNING | Line exceeds 80 characters; contains 176 characters
7 | WARNING | Line exceeds 80 characters; contains 107 characters
11 | WARNING | Line exceeds 80 characters; contains 106 characters
14 | WARNING | Line exceeds 80 characters; contains 140 characters
-----------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\navigation\scripts\css\changeOrAdded.js
-----------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-----------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
-----------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\navigation\scripts\css\check.js
----------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
----------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\navigation\scripts\css\compile.js
---------------------------------------------------------------------------------------------
FOUND 11 ERRORS AFFECTING 11 LINES
---------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
24 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false"
26 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false"
30 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false"
31 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false"
32 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false"
33 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false"
34 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false"
35 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false"
53 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true"
67 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true"
---------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 11 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\navigation\scripts\css\log.js
----------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
----------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\navigation\scripts\css\postcss-build.js
-------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
-------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
44 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "NULL" but found "null"
-------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\navigation\scripts\css\postcss-watch.js
---------------------------------------------------------------------------------------------
FOUND 2 ERRORS AND 1 WARNING AFFECTING 3 LINES
---------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
23 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true"
43 | WARNING | [ ] Possible parse error: no opening parenthesis for FOR keyword
---------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\navigation\scripts\css\remove-unwanted-comments.js
----------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
14 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true"
----------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\navigation\src\Annotation\NavigationSection.php
-------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
-------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
38 | ERROR | [x] Missing function doc comment
45 | ERROR | [x] Expected 1 newline at end of file; 2 found
-------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\navigation\src\NavigationSectionInterface.php
-----------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
-----------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\navigation\src\NavigationSectionManager.php
---------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
---------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
---------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\navigation\src\NavigationSectionManagerInterface.php
------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\navigation\src\Plugin\Navigation\NavigationAdmin.php
------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\navigation\src\Plugin\Navigation\NavigationBookmarks.php
----------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
----------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\navigation\src\Plugin\Navigation\NavigationContent.php
--------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
--------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\navigation\src\Plugin\Navigation\NavigationUser.php
-----------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
-----------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------------

Steps to reproduce

Install navigation module and perform PHPCS for Drupal Standards

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

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Closed: won't fix

Version

1.0

Component

Code

Created by

🇮🇳India Gautam_105@

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

Comments & Activities

  • Issue created by @Gautam_105@
  • First commit to issue fork.
  • Status changed to Closed: won't fix 9 months ago
  • 🇪🇸Spain ckrina Barcelona

    In the module main page we have this:

    Code review against coding standards or any other best practices recommendation is not needed as part of this initial prototype testing, so please do not submit any for those yet.

    Please don't create extra work for the maintainers, we are not at the point where we can focus on issues focused in coding standards. We need to focus on features to get this to an usable project.

Production build 0.69.0 2024