Fix the issues reported by phpcs

Created on 19 May 2023, over 1 year ago
Updated 12 September 2024, 2 months ago

Running phpcs --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml reports the following warnings/errors, which needs to be fixed, where possible.

FILE: /home/gai/drupal-git/drupal/themes/ceremai/ceremai.theme
--------------------------------------------------------------------------------------------------------------------------------------------
FOUND 100 ERRORS AND 5 WARNINGS AFFECTING 74 LINES
--------------------------------------------------------------------------------------------------------------------------------------------
9 | WARNING | [x] Unused use statement
11 | WARNING | [x] Unused use statement
45 | WARNING | [ ] Line exceeds 80 characters; contains 86 characters
45 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
47 | ERROR | [x] Line indented incorrectly; expected 3 spaces, found 2
54 | ERROR | [x] Whitespace found at end of line
66 | ERROR | [x] Whitespace found at end of line
75 | ERROR | [x] Whitespace found at end of line
79 | ERROR | [x] Line indented incorrectly; expected 3 spaces, found 2
87 | ERROR | [x] Equals sign not aligned correctly; expected 1 space but found 3 spaces
87 | ERROR | [x] Expected 1 space after closing parenthesis; found 3
87 | ERROR | [x] Newline required after opening brace
87 | ERROR | [x] There should be no white space after an opening "{"
87 | ERROR | [x] Equals sign not aligned correctly; expected 1 space but found 3 spaces
87 | ERROR | [x] Each PHP statement must be on a line by itself
87 | ERROR | [x] There should be no white space before a closing "}"
87 | ERROR | [x] Closing brace must be on a line by itself
88 | ERROR | [x] Newline required after opening brace
88 | ERROR | [x] There should be no white space after an opening "{"
88 | ERROR | [x] Each PHP statement must be on a line by itself
88 | ERROR | [x] There should be no white space before a closing "}"
88 | ERROR | [x] Closing brace must be on a line by itself
89 | ERROR | [x] Equals sign not aligned correctly; expected 1 space but found 2 spaces
89 | ERROR | [x] Expected 1 space after closing parenthesis; found 2
89 | ERROR | [x] Newline required after opening brace
89 | ERROR | [x] There should be no white space after an opening "{"
89 | ERROR | [x] Equals sign not aligned correctly; expected 1 space but found 2 spaces
89 | ERROR | [x] Each PHP statement must be on a line by itself
89 | ERROR | [x] There should be no white space before a closing "}"
89 | ERROR | [x] Closing brace must be on a line by itself
90 | ERROR | [x] Whitespace found at end of line
92 | ERROR | [x] Whitespace found at end of line
105 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
106 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
107 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
108 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
110 | WARNING | [x] There must be no blank line following an inline comment
110 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
110 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses
111 | ERROR | [x] Whitespace found at end of line
112 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
113 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
114 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
116 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
117 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
118 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
119 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
121 | ERROR | [x] Whitespace found at end of line
122 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
123 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
124 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
125 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
126 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
127 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
129 | ERROR | [x] Whitespace found at end of line
130 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
131 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
132 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
133 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
134 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
135 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
137 | ERROR | [x] Whitespace found at end of line
138 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
139 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
140 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
141 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
142 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
143 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
145 | ERROR | [x] Whitespace found at end of line
146 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
147 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
148 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
149 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
151 | ERROR | [x] Whitespace found at end of line
152 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
153 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
154 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
155 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
156 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
156 | WARNING | [ ] Translatable strings must not begin or end with white spaces, use placeholders with t() for variables
158 | ERROR | [x] Whitespace found at end of line
159 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
160 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
161 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
162 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
164 | ERROR | [x] Whitespace found at end of line
165 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
166 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
167 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
168 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
169 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
170 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
170 | ERROR | [x] Short array syntax must be used to define arrays
170 | ERROR | [x] Short array syntax must be used to define arrays
170 | ERROR | [x] There should be no white space before a closing ")"
174 | ERROR | [x] Missing function doc comment
176 | ERROR | [x] There should be no white space after an opening "("
176 | ERROR | [x] There should be no white space before a closing ")"
177 | ERROR | [x] There should be no white space after an opening "("
177 | ERROR | [ ] The array declaration extends to column 87 (the limit is 80). The array content should be split up over multiple lines
177 | ERROR | [x] Short array syntax must be used to define arrays
177 | ERROR | [x] There should be no white space after an opening "("
177 | ERROR | [x] There should be no white space before a closing ")"
177 | ERROR | [x] There should be no white space before a closing ")"
178 | ERROR | [x] Expected 1 space after "="; 2 found
--------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 102 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------------------------------------------

FILE: /home/gai/drupal-git/drupal/themes/ceremai/css/component.css
----------------------------------------------------------------------------
FOUND 12 ERRORS AFFECTING 7 LINES
----------------------------------------------------------------------------
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
6 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
6 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
7 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
7 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
11 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
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 2 spaces, found 1
17 | ERROR | [x] Expected 1 newline at end of file; 0 found
----------------------------------------------------------------------------
PHPCBF CAN FIX THE 12 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------

FILE: /home/gai/drupal-git/drupal/themes/ceremai/css/advanced.css
-------------------------------------------------------------------------------------
FOUND 15 ERRORS AFFECTING 10 LINES
-------------------------------------------------------------------------------------
4 | ERROR | [x] Expected 1 space before opening brace of class definition; 0 found
7 | ERROR | [x] Whitespace found at end of line
13 | ERROR | [x] Whitespace found at end of line
15 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
16 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
34 | ERROR | [x] Each style definition must be on a line by itself
44 | ERROR | [x] Opening brace should be the last content on the line
44 | ERROR | [x] Closing brace of class definition must be on new line
45 | ERROR | [x] Opening brace should be the last content on the line
45 | ERROR | [x] Closing brace of class definition must be on new line
46 | ERROR | [x] Opening brace should be the last content on the line
46 | ERROR | [x] Closing brace of class definition must be on new line
47 | ERROR | [x] Opening brace should be the last content on the line
47 | ERROR | [x] Expected 1 newline at end of file; 0 found
47 | ERROR | [x] Closing brace of class definition must be on new line
-------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 15 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------

FILE: /home/gai/drupal-git/drupal/themes/ceremai/css/bootstrap.css
------------------------------------------------------------------------------------
FOUND 9 ERRORS AND 1 WARNING AFFECTING 9 LINES
------------------------------------------------------------------------------------
1 | WARNING | [ ] File has mixed line endings; this may cause incorrect results
3662 | ERROR | [ ] Style definitions must end with a semicolon
6413 | ERROR | [ ] Style definitions must end with a semicolon
6423 | ERROR | [ ] Style definitions must end with a semicolon
6834 | ERROR | [x] Whitespace found at end of line
6835 | ERROR | [x] Whitespace found at end of line
6836 | ERROR | [x] Whitespace found at end of line
6837 | ERROR | [x] Line indented incorrectly; expected 0 spaces, found 1
6837 | ERROR | [x] Whitespace found at end of line
6838 | ERROR | [x] Expected 1 newline at end of file; 0 found
------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 6 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------

FILE: /home/gai/drupal-git/drupal/themes/ceremai/css/custom.css
----------------------------------------------------------------------
FOUND 6 ERRORS AFFECTING 5 LINES
----------------------------------------------------------------------
1 | ERROR | [x] Whitespace found at end of line
3 | ERROR | [x] Whitespace found at end of line
7 | ERROR | [ ] Class definition is empty
8 | ERROR | [x] Blank lines are not allowed in class definitions
8 | ERROR | [x] Whitespace found at end of line
9 | ERROR | [x] Expected 1 newline at end of file; 0 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------

FILE: /home/gai/drupal-git/drupal/themes/ceremai/css/bootstrap-3.3.7.css
------------------------------------------------------------------------------
FOUND 203 ERRORS AFFECTING 113 LINES
------------------------------------------------------------------------------
98 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 5
99 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 10
149 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 5
150 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 10
159 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 5
160 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 10
199 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 12
218 | ERROR | [x] Blank lines are not allowed in class definitions
265 | ERROR | [x] Blank lines are not allowed in class definitions
277 | ERROR | [x] Blank lines are not allowed in class definitions
1070 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 5
1071 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 10
1076 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 5
1077 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 10
1081 | ERROR | [x] Blank lines are not allowed in class definitions
1140 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 7
1141 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 10
1550 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 10
1557 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 10
1615 | ERROR | [x] Multiple selectors should each be on a single line
1615 | ERROR | [x] Multiple selectors should each be on a single line
1615 | ERROR | [x] Multiple selectors should each be on a single line
1615 | ERROR | [x] Multiple selectors should each be on a single line
1615 | ERROR | [x] Multiple selectors should each be on a single line
1615 | ERROR | [x] Multiple selectors should each be on a single line
1615 | ERROR | [x] Multiple selectors should each be on a single line
1615 | ERROR | [x] Multiple selectors should each be on a single line
1615 | ERROR | [x] Multiple selectors should each be on a single line
1615 | ERROR | [x] Multiple selectors should each be on a single line
1615 | ERROR | [x] Multiple selectors should each be on a single line
1615 | ERROR | [x] Multiple selectors should each be on a single line
1615 | ERROR | [x] Multiple selectors should each be on a single line
1615 | ERROR | [x] Multiple selectors should each be on a single line
1615 | ERROR | [x] Multiple selectors should each be on a single line
1615 | ERROR | [x] Multiple selectors should each be on a single line
1615 | ERROR | [x] Multiple selectors should each be on a single line
1615 | ERROR | [x] Multiple selectors should each be on a single line
1615 | ERROR | [x] Multiple selectors should each be on a single line
1615 | ERROR | [x] Multiple selectors should each be on a single line
1615 | ERROR | [x] Multiple selectors should each be on a single line
1615 | ERROR | [x] Multiple selectors should each be on a single line
1615 | ERROR | [x] Multiple selectors should each be on a single line
1615 | ERROR | [x] Multiple selectors should each be on a single line
1615 | ERROR | [x] Multiple selectors should each be on a single line
1615 | ERROR | [x] Multiple selectors should each be on a single line
1615 | ERROR | [x] Multiple selectors should each be on a single line
1615 | ERROR | [x] Multiple selectors should each be on a single line
1615 | ERROR | [x] Multiple selectors should each be on a single line
1615 | ERROR | [x] Multiple selectors should each be on a single line
1615 | ERROR | [x] Multiple selectors should each be on a single line
1615 | ERROR | [x] Multiple selectors should each be on a single line
1615 | ERROR | [x] Multiple selectors should each be on a single line
1615 | ERROR | [x] Multiple selectors should each be on a single line
1615 | ERROR | [x] Multiple selectors should each be on a single line
1615 | ERROR | [x] Multiple selectors should each be on a single line
1615 | ERROR | [x] Multiple selectors should each be on a single line
1615 | ERROR | [x] Multiple selectors should each be on a single line
1615 | ERROR | [x] Multiple selectors should each be on a single line
1615 | ERROR | [x] Multiple selectors should each be on a single line
1615 | ERROR | [x] Multiple selectors should each be on a single line
1615 | ERROR | [x] Multiple selectors should each be on a single line
1615 | ERROR | [x] Multiple selectors should each be on a single line
1615 | ERROR | [x] Multiple selectors should each be on a single line
1615 | ERROR | [x] Multiple selectors should each be on a single line
1615 | ERROR | [x] Multiple selectors should each be on a single line
1615 | ERROR | [x] Multiple selectors should each be on a single line
1621 | ERROR | [x] Multiple selectors should each be on a single line
1621 | ERROR | [x] Multiple selectors should each be on a single line
1621 | ERROR | [x] Multiple selectors should each be on a single line
1621 | ERROR | [x] Multiple selectors should each be on a single line
1621 | ERROR | [x] Multiple selectors should each be on a single line
1621 | ERROR | [x] Multiple selectors should each be on a single line
1621 | ERROR | [x] Multiple selectors should each be on a single line
1621 | ERROR | [x] Multiple selectors should each be on a single line
1621 | ERROR | [x] Multiple selectors should each be on a single line
1621 | ERROR | [x] Multiple selectors should each be on a single line
1621 | ERROR | [x] Multiple selectors should each be on a single line
1778 | ERROR | [x] Multiple selectors should each be on a single line
1778 | ERROR | [x] Multiple selectors should each be on a single line
1778 | ERROR | [x] Multiple selectors should each be on a single line
1778 | ERROR | [x] Multiple selectors should each be on a single line
1778 | ERROR | [x] Multiple selectors should each be on a single line
1778 | ERROR | [x] Multiple selectors should each be on a single line
1778 | ERROR | [x] Multiple selectors should each be on a single line
1778 | ERROR | [x] Multiple selectors should each be on a single line
1778 | ERROR | [x] Multiple selectors should each be on a single line
1778 | ERROR | [x] Multiple selectors should each be on a single line
1778 | ERROR | [x] Multiple selectors should each be on a single line
1936 | ERROR | [x] Multiple selectors should each be on a single line
1936 | ERROR | [x] Multiple selectors should each be on a single line
1936 | ERROR | [x] Multiple selectors should each be on a single line
1936 | ERROR | [x] Multiple selectors should each be on a single line
1936 | ERROR | [x] Multiple selectors should each be on a single line
1936 | ERROR | [x] Multiple selectors should each be on a single line
1936 | ERROR | [x] Multiple selectors should each be on a single line
1936 | ERROR | [x] Multiple selectors should each be on a single line
1936 | ERROR | [x] Multiple selectors should each be on a single line
1936 | ERROR | [x] Multiple selectors should each be on a single line
1936 | ERROR | [x] Multiple selectors should each be on a single line
2094 | ERROR | [x] Multiple selectors should each be on a single line
2094 | ERROR | [x] Multiple selectors should each be on a single line
2094 | ERROR | [x] Multiple selectors should each be on a single line
2094 | ERROR | [x] Multiple selectors should each be on a single line
2094 | ERROR | [x] Multiple selectors should each be on a single line
2094 | ERROR | [x] Multiple selectors should each be on a single line
2094 | ERROR | [x] Multiple selectors should each be on a single line
2094 | ERROR | [x] Multiple selectors should each be on a single line
2094 | ERROR | [x] Multiple selectors should each be on a single line
2094 | ERROR | [x] Multiple selectors should each be on a single line
2094 | ERROR | [x] Multiple selectors should each be on a single line
2516 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 5
2517 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 10
2562 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 10
2564 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 7
2565 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 10
2571 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 10
2828 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 10
2833 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 10
2858 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 10
2863 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 10
2888 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 10
2893 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 10
3014 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 6
3017 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 5
3018 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 6
3019 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 10
3044 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 10
3052 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 10
3413 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 10
3470 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 7
3471 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 10
3493 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 7
3494 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 10
3496 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 7
3497 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 10
3499 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 7
3500 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 10
3535 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 10
3540 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 10
3586 | ERROR | [ ] Style definitions must end with a semicolon
3729 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 10
3733 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 10
4189 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 10
4199 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 12
4340 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 12
4376 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 10
4445 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 12
5010 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 7
5011 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 10
5133 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 10
5145 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 10
5147 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 7
5148 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 10
5153 | ERROR | [x] Expected 1 space after colon in style definition; 6 found
5154 | ERROR | [x] Expected 1 space after colon in style definition; 9 found
5156 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 10
5161 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 7
5162 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 10
5169 | ERROR | [x] Expected 1 space after colon in style definition; 6 found
5170 | ERROR | [x] Expected 1 space after colon in style definition; 9 found
5177 | ERROR | [x] Expected 1 space after colon in style definition; 6 found
5178 | ERROR | [x] Expected 1 space after colon in style definition; 9 found
5185 | ERROR | [x] Expected 1 space after colon in style definition; 6 found
5186 | ERROR | [x] Expected 1 space after colon in style definition; 9 found
5193 | ERROR | [x] Expected 1 space after colon in style definition; 6 found
5194 | ERROR | [x] Expected 1 space after colon in style definition; 9 found
5456 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 10
5827 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 10
5883 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 7
5883 | ERROR | [x] Expected 1 space after colon in style definition; 6 found
5884 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 10
5884 | ERROR | [x] Expected 1 space after colon in style definition; 9 found
5886 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 6
5887 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 7
5888 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 10
5892 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 6
5893 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 7
5894 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 10
5909 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 10
5915 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 10
5978 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 12
6010 | ERROR | [x] Blank lines are not allowed in class definitions
6129 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 10
6134 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 10
6135 | ERROR | [x] Blank lines are not allowed in class definitions
6249 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 7
6250 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 10
6259 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 9
6259 | ERROR | [x] Expected 1 space after colon in style definition; 6 found
6260 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 12
6260 | ERROR | [x] Expected 1 space after colon in style definition; 9 found
6261 | ERROR | [x] Blank lines are not allowed in class definitions
6263 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 12
6265 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 12
6271 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 12
6277 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 12
6284 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 12
6333 | ERROR | [x] Expected 1 space after colon in style definition; 6 found
6335 | ERROR | [x] Expected 1 space after colon in style definition; 9 found
6336 | ERROR | [ ] Style definitions must end with a semicolon
6343 | ERROR | [x] Expected 1 space after colon in style definition; 6 found
6345 | ERROR | [x] Expected 1 space after colon in style definition; 9 found
6346 | ERROR | [ ] Style definitions must end with a semicolon
------------------------------------------------------------------------------
PHPCBF CAN FIX THE 200 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------

FILE: /home/gai/drupal-git/drupal/themes/ceremai/css/header.css
-----------------------------------------------------------------------------
FOUND 35 ERRORS AFFECTING 22 LINES
-----------------------------------------------------------------------------
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
7 | ERROR | [x] Multiple selectors should each be on a single line
7 | ERROR | [x] Multiple selectors should each be on a single line
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
11 | ERROR | [x] Multiple selectors should each be on a single line
11 | ERROR | [x] Multiple selectors should each be on a single line
12 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
12 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
15 | ERROR | [x] Multiple selectors should each be on a single line
15 | ERROR | [x] Multiple selectors should each be on a single line
16 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
16 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
20 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
20 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
21 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
21 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
254 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
254 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
255 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
255 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
300 | ERROR | [ ] Class definition is empty
322 | ERROR | [x] Whitespace found at end of line
340 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
348 | ERROR | [x] Whitespace found at end of line
358 | ERROR | [x] Whitespace found at end of line
374 | ERROR | [x] Whitespace found at end of line
389 | ERROR | [x] Whitespace found at end of line
400 | ERROR | [x] Whitespace found at end of line
428 | ERROR | [x] Expected 1 newline at end of file; 0 found
-----------------------------------------------------------------------------
PHPCBF CAN FIX THE 34 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------

FILE: /home/gai/drupal-git/drupal/themes/ceremai/css/content.css
---------------------------------------------------------------------------
FOUND 7 ERRORS AFFECTING 4 LINES
---------------------------------------------------------------------------
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
6 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
6 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
7 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
7 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
8 | ERROR | [x] Expected 1 newline at end of file; 0 found
---------------------------------------------------------------------------
PHPCBF CAN FIX THE 7 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------

FILE: /home/gai/drupal-git/drupal/themes/ceremai/css/styles.css
-------------------------------------------------------------------------------------------
FOUND 217 ERRORS AFFECTING 110 LINES
-------------------------------------------------------------------------------------------
4 | ERROR | [x] Whitespace found at end of line
5 | ERROR | [x] Whitespace found at end of line
9 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
9 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
10 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
10 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
20 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
20 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
24 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
24 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
25 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
25 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
29 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
29 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
30 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
30 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
31 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
31 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
32 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
32 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
36 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
39 | ERROR | [x] Multiple selectors should each be on a single line
40 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
40 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
41 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
41 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
45 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
45 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
46 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
46 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
50 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
50 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
51 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
51 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
55 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
55 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
56 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
56 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
57 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
57 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
61 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
61 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
62 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
62 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
63 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
63 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
64 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
64 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
68 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
68 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
69 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
69 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
73 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
73 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
74 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
74 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
75 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
75 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
79 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
79 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
87 | ERROR | [x] Multiple selectors should each be on a single line
88 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
88 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
91 | ERROR | [x] Multiple selectors should each be on a single line
92 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
92 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
93 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
93 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
97 | ERROR | [ ] Class definition is empty
122 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
122 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
129 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
129 | ERROR | [x] Multiple selectors should each be on a single line
130 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
130 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 1
130 | ERROR | [x] Each style definition must be on a line by itself
131 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
132 | ERROR | [x] Whitespace found at end of line
133 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
133 | ERROR | [x] Multiple selectors should each be on a single line
134 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
134 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 5
134 | ERROR | [x] Each style definition must be on a line by itself
134 | ERROR | [x] Each style definition must be on a line by itself
134 | ERROR | [x] Expected 1 space after colon in style definition; 0 found
134 | ERROR | [x] Each style definition must be on a line by itself
135 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
136 | ERROR | [x] Whitespace found at end of line
137 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
137 | ERROR | [x] Multiple selectors should each be on a single line
137 | ERROR | [x] Expected 1 space before opening brace of class definition; 0 found
138 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
138 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 5
138 | ERROR | [x] Each style definition must be on a line by itself
138 | ERROR | [x] Each style definition must be on a line by itself
138 | ERROR | [x] Expected 1 space after colon in style definition; 0 found
138 | ERROR | [x] Each style definition must be on a line by itself
138 | ERROR | [x] Each style definition must be on a line by itself
138 | ERROR | [x] Expected 1 space after colon in style definition; 0 found
139 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
143 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
143 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
147 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
147 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
151 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
151 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
152 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
152 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
153 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
153 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
157 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
157 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
158 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
158 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
159 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
159 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
160 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
160 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
161 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
161 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
162 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
162 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
163 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
163 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
164 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
164 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
165 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
165 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
166 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
166 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
167 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
167 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
168 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
168 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
169 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
169 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
170 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
170 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
171 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
171 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
172 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
172 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
173 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
173 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
174 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
174 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
178 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
178 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
179 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
179 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
180 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
180 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
181 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
181 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
185 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
185 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
186 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
186 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
189 | ERROR | [x] Multiple selectors should each be on a single line
190 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
190 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
190 | ERROR | [x] Each style definition must be on a line by itself
194 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
194 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
198 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
202 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
203 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
203 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
207 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
207 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
208 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
208 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
209 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
209 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
210 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
210 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
213 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
213 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
217 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
217 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
218 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
218 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
219 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
219 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
219 | ERROR | [x] CSS colours must be defined in lowercase; expected #ccc but found #CCC
220 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
220 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
224 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
224 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
228 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
228 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
229 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
229 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
233 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
233 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
234 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
234 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
238 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
238 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
979 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
979 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
980 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
980 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
981 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
981 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
982 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
982 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
1313 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
1313 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
1314 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
1314 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
1315 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
1315 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
1316 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
1316 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 1
1317 | ERROR | [x] Expected 1 newline at end of file; 2 found
1318 | ERROR | [x] Additional whitespace found at end of file
-------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 216 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------------

FILE: /home/gai/drupal-git/drupal/themes/ceremai/css/footer.css
-------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
-------------------------------------------------------------------------------------
24 | ERROR | [x] Expected 1 space before opening brace of class definition; 2 found
59 | ERROR | [x] Expected 1 newline at end of file; 0 found
-------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------

FILE: /home/gai/drupal-git/drupal/themes/ceremai/css/colorscheme.css
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
6 | ERROR | [x] Expected 1 newline at end of file; 0 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------

FILE: /home/gai/drupal-git/drupal/themes/ceremai/README.txt
----------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
----------------------------------------------------------------------
3 | WARNING | Line exceeds 80 characters; contains 223 characters
17 | WARNING | Line exceeds 80 characters; contains 107 characters
----------------------------------------------------------------------

FILE: /home/gai/drupal-git/drupal/themes/ceremai/config/install/ceremai.settings.yml
------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------
46 | ERROR | [x] Expected 1 newline at end of file; 0 found
------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------

FILE: /home/gai/drupal-git/drupal/themes/ceremai/README.md
----------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
----------------------------------------------------------------------
3 | WARNING | Line exceeds 80 characters; contains 223 characters
17 | WARNING | Line exceeds 80 characters; contains 107 characters
----------------------------------------------------------------------

Time: 1.31 secs; Memory: 58.01MB

šŸ“Œ Task
Status

Needs work

Version

1.0

Component

Code

Created by

šŸ‡®šŸ‡³India Akshay kashyap

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

Comments & Activities

  • Issue created by @Akshay kashyap
  • šŸ‡®šŸ‡³India Akshay kashyap

    Added a patch to fix the issue listed above please check.

  • Status changed to Needs review over 1 year ago
  • šŸ‡®šŸ‡³India urvashi_vora Madhya Pradesh, India

    I will review this.

  • Status changed to Needs work over 1 year ago
  • šŸ‡®šŸ‡³India urvashi_vora Madhya Pradesh, India

    Hi @Akshay, I am not able to reproduce the error report that you provided in issue summary after executing the given command. Here is the latest output:

    urvasi@urvashi-vora:/var/www/html/contribution/drupal10/web/themes$ phpcs --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml ceremai-3361446/
    
    FILE: ...tml/contribution/drupal10/web/themes/ceremai-3361446/css/bootstrap.min.css
    --------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    --------------------------------------------------------------------------------
     1 | WARNING | File appears to be minified and cannot be processed
    --------------------------------------------------------------------------------
    
    Time: 8.16 secs; Memory: 56.01MB
    

    And as a result of which, your patch failed to apply too.

    urvasi@urvashi-vora:/var/www/html/contribution/drupal10/web/themes/ceremai-3361446$ git apply -v 3361446-2-Drupal_coding_standard_Phpcs.patch
    3361446-2-Drupal_coding_standard_Phpcs.patch:9: trailing whitespace.
    Do you need 100% Professional Drupal Theme but free of charge? This theme is 
    3361446-2-Drupal_coding_standard_Phpcs.patch:10: trailing whitespace.
    not a lite version, otherwise full ready to use. Based on eStore but drop all 
    3361446-2-Drupal_coding_standard_Phpcs.patch:20: trailing whitespace.
    1. Download and restore both coding file and database file from Site 
    3361446-2-Drupal_coding_standard_Phpcs.patch:32: trailing whitespace.
    Do you need 100% Professional Drupal Theme but free of charge? This theme is 
    3361446-2-Drupal_coding_standard_Phpcs.patch:33: trailing whitespace.
    not a lite version, otherwise full ready to use. Based on eStore but drop 
    Checking patch README.md...
    error: while searching for:
    Ceremai
    
    Do you need 100% Professional Drupal Theme but free of charge? This theme is not a lite version, otherwise full ready to use. Based on eStore but drop all Commerce module items, to make a very light theme for Magazine/Blog.
    Features
    
    1. Click & Drag Layout so you will have unlimited layout!
    
    error: patch failed: README.md:1
    error: README.md: patch does not apply
    Checking patch README.txt...
    error: while searching for:
    Ceremai (Bootstrap Layout Builder theme)
    
    Do you need 100% Professional Drupal Theme but free of charge? This theme is not a lite version, otherwise full ready to use. Based on eStore but drop all Commerce module items, to make a very light theme for Magazine/Blog.
    Features
    
    1. Click & Drag Layout so you will have unlimited layout!
    
    error: patch failed: README.txt:1
    error: README.txt: patch does not apply
    Checking patch ceremai.info.yml...
    error: while searching for:
    name: Ceremai
    description: Ceremai is responsive mobile optimized, based on Bootstrap and eStore.
    type: theme
    base theme: bootstrap
    core_version_requirement: ^8.8 || ^9
    
    dependencies:
    - imce:imce
    
    error: patch failed: ceremai.info.yml:1
    error: ceremai.info.yml: patch does not apply
    Checking patch ceremai.theme...
    error: while searching for:
     */
    
    use Drupal\Core\Form\FormStateInterface;
    use Drupal\Component\Utility\Xss;
    use Drupal\block\Entity\Block;
    use Drupal\Core\Url;
    
    /**
     * Implements hook_system_breadcrumb_alter().
    
    error: patch failed: ceremai.theme:6
    error: ceremai.theme: patch does not apply
    Checking patch config/install/ceremai.settings.yml...
    error: while searching for:
      footer_boxed: 1
      header_column_left: 2
      header_column_center: 10
      header_column_right: 0
    error: patch failed: config/install/ceremai.settings.yml:43
    error: config/install/ceremai.settings.yml: patch does not apply
    Checking patch css/advanced.css...
    error: while searching for:
    /* Auto Dropdwon Menu */
    
    @media screen and (min-width: 601px) {
      .dropdown:hover .dropdown-menu{
        display: block;
      }
        
      /*
      .dropdown-menu {
        padding: 1px 26px 1px 0;
      }
      */
      
      .navbar-nav > li > .dropdown-menu {
          padding: 1px 18px 1px 0;
          border-radius: 4px;
      }
    }
    
    
    error: patch failed: css/advanced.css:1
    error: css/advanced.css: patch does not apply
    Checking patch css/bootstrap-3.3.7.css...
    error: while searching for:
    hr {
      height: 0;
      -webkit-box-sizing: content-box;
         -moz-box-sizing: content-box;
              box-sizing: content-box;
    }
    pre {
      overflow: auto;
    
    error: patch failed: css/bootstrap-3.3.7.css:95
    error: css/bootstrap-3.3.7.css: patch does not apply
    Checking patch css/bootstrap.css...
    error: while searching for:
      cursor: not-allowed;
      background-color: transparent;
      background-image: none;
      filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
    }
    .open > .dropdown-menu {
      display: block;
    
    error: patch failed: css/bootstrap.css:3659
    error: css/bootstrap.css: patch does not apply
    Checking patch css/colorscheme.css...
    error: while searching for:
    :root {
      --bgcolor: #337ab7;
      --color: #eee;
    }
    error: patch failed: css/colorscheme.css:3
    error: css/colorscheme.css: patch does not apply
    Checking patch css/component.css...
    error: while searching for:
    #drupal-off-canvas .form-select {
    	background: none;
    }
    
    #drupal-off-canvas select:not([multiple]) {
    	-webkit-appearance: none;
    	-moz-appearance: none;
    }
    
    #drupal-off-canvas .form-select {
        margin: 0;
    }
    
    .bs-bg-light {
    	margin-bottom: 16px;
    	padding-top: 16px;
    }
    error: patch failed: css/component.css:1
    error: css/component.css: patch does not apply
    Checking patch css/content.css...
    error: while searching for:
    .main-container {
    	margin-bottom: 30px;
    }
    
    .image-title {
    	font-style: italic;
    	color: #999;
    }
    error: patch failed: css/content.css:1
    error: css/content.css: patch does not apply
    Checking patch css/custom.css...
    error: while searching for:
    /* 
    
      Put your Custom CSS into this file 
    
    */
    
    .your-css-class-name {
        
    }
    error: patch failed: css/custom.css:1
    error: css/custom.css: patch does not apply
    Checking patch css/footer.css...
    error: while searching for:
    .footer {
      color: var(--color);
    }
    .footer a  {
      text-decoration: underline;
      color: var(--color);
    }
    
    error: patch failed: css/footer.css:21
    error: css/footer.css: patch does not apply
    Checking patch css/header.css...
    error: while searching for:
    .header-ad-section img {
    	object-fit: cover;
    	width: 100%;
    	height: 180px;
    }
    
    .navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:hover, .navbar-default .navbar-nav > .open > a:focus {
    	background-color: transparent;
    }
    
    .navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
    	background-color: transparent;
    }
    
    .nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
    	border: none;
    }
    
    .navbar-default {
    	border-color: #eee;
    	background-color: #fff;
    }
    
    .top-header-wrapper {
    
    error: patch failed: css/header.css:1
    error: css/header.css: patch does not apply
    Checking patch css/styles.css...
    error: while searching for:
    @charset "UTF-8";
    @import url("https://fonts.googleapis.com/css?family=Open+Sans:300,400,400i,600,700,700i&subset=cyrillic");
    
    /* 
      Tuning  CSS 
    */
    
    .caret::before {
    	content: "\f107";
    	font-family: "Font Awesome 5 Free";
    }
    
    .caret {
    
    error: patch failed: css/styles.css:1
    error: css/styles.css: patch does not apply
    

    Hence, moving the status to Needs Work, change the status if required.

    Thanks

  • Status changed to Needs review over 1 year ago
  • šŸ‡®šŸ‡³India keshavv India

    I have applied the #2 patch and it applied successfully. Also it will fix all reported issue.

  • Status changed to Needs work 4 months ago
  • Hi

    The patch provided in the comment #2, was confirmed can be applied successfully. However it is false that it did fix all errors. Please see below:

    ceremai git:(master) āœ— curl https://www.drupal.org/files/issues/2023-05-19/3361446-2-Drupal_coding_standard_Phpcs.patch | patch -p1
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    100 57080  100 57080    0     0   121k      0 --:--:-- --:--:-- --:--:--  124k
    patching file README.md
    patching file README.txt
    patching file ceremai.info.yml
    patching file ceremai.theme
    patching file config/install/ceremai.settings.yml
    patching file css/advanced.css
    patching file css/bootstrap-3.3.7.css
    patching file css/bootstrap.css
    patching file css/colorscheme.css
    patching file css/component.css
    patching file css/content.css
    patching file css/custom.css
    patching file css/footer.css
    patching file css/header.css
    patching file css/styles.css
    āžœ  ceremai git:(master) āœ— cd ..
    āžœ  contrib git:(master) āœ— phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml,twig ceremai
    
    FILE: ...erns/Demo-site/drupal-orgissue-v9/web/themes/contrib/ceremai/ceremai.theme
    --------------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    --------------------------------------------------------------------------------
     9 | ERROR | [x] Use statements should be sorted alphabetically. The first
       |       |     wrong one is Drupal\block\Entity\Block.
    --------------------------------------------------------------------------------
    PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    --------------------------------------------------------------------------------
    
    
    FILE: ...pal-orgissue-v9/web/themes/contrib/ceremai/templates/system/page.html.twig
    --------------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    --------------------------------------------------------------------------------
     276 | ERROR | [x] Expected 1 newline at end of file; 2 found
    --------------------------------------------------------------------------------
    PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    --------------------------------------------------------------------------------
    
    
    FILE: ...eb/themes/contrib/ceremai/templates/node/node--article--slider-1.html.twig
    --------------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    --------------------------------------------------------------------------------
     23 | ERROR | [x] Expected 1 newline at end of file; 0 found
    --------------------------------------------------------------------------------
    PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    --------------------------------------------------------------------------------
    
    
    FILE: ...pal-orgissue-v9/web/themes/contrib/ceremai/templates/block/block.html.twig
    --------------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    --------------------------------------------------------------------------------
     66 | ERROR | [x] Expected 1 newline at end of file; 2 found
    --------------------------------------------------------------------------------
    PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    --------------------------------------------------------------------------------
    
    Time: 3.46 secs; Memory: 58.01MB

    Kindly check

    Thanks,
    Jake

  • Status changed to Needs review 3 months ago
  • šŸ‡®šŸ‡³India amit.rawat777

    I have resolved some errors, please verify

  • Hi @amit.rawatt777,

    I have applied your patch, it was applied so smoothly, however and unfortunately, the reported errors this time increased compared to the previously reported errors. Please see below:

    āžœ  ceremai git:(master) āœ— curl https://www.drupal.org/files/issues/2024-08-26/phpcs-3361446-9.patch | patch -p1
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    100 56531  100 56531    0     0   328k      0 --:--:-- --:--:-- --:--:--  351k
    patching file README.md
    patching file README.txt
    patching file ceremai.info.yml
    patching file ceremai.theme
    patching file config/install/ceremai.settings.yml
    patching file css/advanced.css
    patching file css/bootstrap-3.3.7.css
    patching file css/bootstrap.css
    patching file css/colorscheme.css
    patching file css/component.css
    patching file css/content.css
    patching file css/custom.css
    patching file css/footer.css
    patching file css/header.css
    patching file css/styles.css
    āžœ  ceremai git:(master) āœ— ..
    āžœ  contrib git:(master) āœ— phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml,twig ceremai
    
    FILE: ...erns/Demo-site/drupal-orgissue-v9/web/themes/contrib/ceremai/ceremai.theme
    --------------------------------------------------------------------------------
    FOUND 2 ERRORS AND 2 WARNINGS AFFECTING 4 LINES
    --------------------------------------------------------------------------------
       9 | ERROR   | [x] Use statements should be sorted alphabetically. The first
         |         |     wrong one is Drupal\block\Entity\Block.
      43 | WARNING | [ ] Line exceeds 80 characters; contains 84 characters
     162 | WARNING | [ ] Translatable strings must not begin or end with white
         |         |     spaces, use placeholders with t() for variables
     180 | ERROR   | [ ] Doc comment is empty
    --------------------------------------------------------------------------------
    PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    --------------------------------------------------------------------------------
    
    
    FILE: ...site/drupal-orgissue-v9/web/themes/contrib/ceremai/css/bootstrap-3.3.7.css
    --------------------------------------------------------------------------------
    FOUND 3 ERRORS AFFECTING 3 LINES
    --------------------------------------------------------------------------------
     3673 | ERROR | Style definitions must end with a semicolon
     6420 | ERROR | Style definitions must end with a semicolon
     6430 | ERROR | Style definitions must end with a semicolon
    --------------------------------------------------------------------------------
    
    FILE: ...pal-orgissue-v9/web/themes/contrib/ceremai/templates/system/page.html.twig
    --------------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    --------------------------------------------------------------------------------
     276 | ERROR | [x] Expected 1 newline at end of file; 2 found
    --------------------------------------------------------------------------------
    PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    --------------------------------------------------------------------------------
    
    
    FILE: ...eb/themes/contrib/ceremai/templates/node/node--article--slider-1.html.twig
    --------------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    --------------------------------------------------------------------------------
     23 | ERROR | [x] Expected 1 newline at end of file; 0 found
    --------------------------------------------------------------------------------
    PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    --------------------------------------------------------------------------------
    
    
    FILE: ...pal-orgissue-v9/web/themes/contrib/ceremai/templates/block/block.html.twig
    --------------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    --------------------------------------------------------------------------------
     66 | ERROR | [x] Expected 1 newline at end of file; 2 found
    --------------------------------------------------------------------------------
    PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    --------------------------------------------------------------------------------
    
    Time: 3.62 secs; Memory: 58.01MB

    Kindly check

    Thanks,
    Jake

  • Status changed to Needs work 2 months ago
  • šŸ‡®šŸ‡³India akulsaxena

    Working on removing all phpcs errors and generating an MR on 1.0.10 branch

  • šŸ‡®šŸ‡³India akulsaxena

    Solved all the phpcs issues as given in the issue summary and created a patch.
    A few errors are still being shown by phpcs but those are errors in the css files and are shown because phpcs is unable to completely parse css files correctly. The error shown is that a semicolon must be present at the EOL but the semicolons are already present and phpcs is unable to recognize this.
    I cross checked with the module's defined stylelint and I didn't get to see the same errors on those lines as shown by phpcs.
    Please have a look.

  • šŸ‡®šŸ‡³India akulsaxena

    The patch applies cleanly on 1.0.10 tag and solves all the phpcs issues. A few errors are still being shown by phpcs but those are errors in the css files and are shown because phpcs is unable to completely parse css files correctly. The error shown is that a semicolon must be present at the EOL but the semicolons are already present and phpcs is unable to recognize this.
    I cross checked with the module's defined stylelint and I didn't get to see the same errors on those lines as shown by phpcs.

  • Hi @akulsaxena,

    I have applied the patch you provided, confirmed can be applied smoothly, however, there are still errors reported that are on the css files you mentioned. Please see below:

    ceremai git:(master) āœ— curl https://www.drupal.org/files/issues/2024-11-04/3361446-coding_standard_Phpcs.patch | patch -p1
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    100 55292  100 55292    0     0   499k      0 --:--:-- --:--:-- --:--:--  556k
    patching file README.md
    patching file README.txt
    patching file ceremai.theme
    patching file config/install/ceremai.settings.yml
    patching file css/advanced.css
    patching file css/bootstrap-3.3.7.css
    patching file css/bootstrap.css
    patching file css/colorscheme.css
    patching file css/component.css
    patching file css/content.css
    patching file css/custom.css
    patching file css/footer.css
    patching file css/header.css
    patching file css/styles.css
    patching file js/advanced.js
    āžœ  ceremai git:(master) āœ— ..
    āžœ  contrib git:(master) āœ— phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml,twig ceremai
    
    FILE: ...erns/Demo-site/drupal-orgissue-v9/web/themes/contrib/ceremai/ceremai.theme
    --------------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    --------------------------------------------------------------------------------
     9 | ERROR | [x] Use statements should be sorted alphabetically. The first
       |       |     wrong one is Drupal\block\Entity\Block.
    --------------------------------------------------------------------------------
    PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    --------------------------------------------------------------------------------
    
    
    FILE: ...site/drupal-orgissue-v9/web/themes/contrib/ceremai/css/bootstrap-3.3.7.css
    --------------------------------------------------------------------------------
    FOUND 3 ERRORS AFFECTING 3 LINES
    --------------------------------------------------------------------------------
     3673 | ERROR | Style definitions must end with a semicolon
     6420 | ERROR | Style definitions must end with a semicolon
     6430 | ERROR | Style definitions must end with a semicolon
    --------------------------------------------------------------------------------
    
    
    FILE: .../Demo-site/drupal-orgissue-v9/web/themes/contrib/ceremai/css/bootstrap.css
    --------------------------------------------------------------------------------
    FOUND 3 ERRORS AFFECTING 3 LINES
    --------------------------------------------------------------------------------
     3662 | ERROR | Style definitions must end with a semicolon
     6413 | ERROR | Style definitions must end with a semicolon
     6423 | ERROR | Style definitions must end with a semicolon
    --------------------------------------------------------------------------------
    
    
    FILE: ...pal-orgissue-v9/web/themes/contrib/ceremai/templates/system/page.html.twig
    --------------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    --------------------------------------------------------------------------------
     276 | ERROR | [x] Expected 1 newline at end of file; 2 found
    --------------------------------------------------------------------------------
    PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    --------------------------------------------------------------------------------
    
    
    FILE: ...eb/themes/contrib/ceremai/templates/node/node--article--slider-1.html.twig
    --------------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    --------------------------------------------------------------------------------
     23 | ERROR | [x] Expected 1 newline at end of file; 0 found
    --------------------------------------------------------------------------------
    PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    --------------------------------------------------------------------------------
    
    
    FILE: ...pal-orgissue-v9/web/themes/contrib/ceremai/templates/block/block.html.twig
    --------------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    --------------------------------------------------------------------------------
     66 | ERROR | [x] Expected 1 newline at end of file; 2 found
    --------------------------------------------------------------------------------
    PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    --------------------------------------------------------------------------------
    
    Time: 3.6 secs; Memory: 58.01MB

    Kindly check again

    Thanks,
    Jake

  • šŸ‡®šŸ‡³India akulsaxena

    Hi @aaaronjake

    Regarding the errors you reported in the patch

    1. In ceremai.theme, since 'use Drupal\block\Entity\Block;' has 'b' in lower case, it should come after 'use Drupal\Core\Form\FormStateInterface;' which has 'C' in uppercase because the ASCII value of lowercase alphabets is greater than the uppercase alphabets and thus they should be sorted accordingly. I tested it again using PHPCS configured with Drupal standards and it verifies the same. If I place the 'use Drupal\block\Entity\Block;' statement before the 'use Drupal\Core\Form\FormStateInterface;' statement, PHPCS gives error while it doesnt show any error if kept like it has been in the patch. I am attaching screenshots for reference.

    2. As mentioned in #14 šŸ“Œ Fix the issues reported by phpcs Needs work , The css errors can not be correctly parsed using PHPCS and thus PHPCS should not be used to parse those errors. There are 6 errors showing 'Style definitions must end with a semicolon' but when you will check the code, semicolons are already present at EOL and PHPCS cannot recognise them. Attaching a screenshot for reference.
    3. The errors in twig files with newlines at EOF are something I missed earlier and I will work on it and create a new patch and upload here soon.

    Thanks,
    Akul

  • šŸ‡®šŸ‡³India akulsaxena

    Uploading the new Patch with changes in the twig files at EOF.

  • šŸ‡®šŸ‡³India akulsaxena

    Hi @drupalnesia

    I am uploading the latest Patch with all the required changes in the twig files at EOF and the EOL semicolon issue in CSS files. Please give it a look and let me know if it works or any more changes are required.

    Akul

Production build 0.71.5 2024