Style definitions must end with a semicolon

Created on 5 June 2023, over 1 year ago
Updated 4 July 2023, over 1 year ago

Problem/Motivation

Fix all Style definitions must end with a semicolon

Steps to reproduce

run the command:

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

h3 id="summary-proposed-resolution">Proposed resolution

Fix the following coding standards issues and upload the patch or create an MR with fixes.

FILE: C:\xampp\htdocs\drupal_9\web\themes\contrib\dempo\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: C:\xampp\htdocs\drupal_9\web\themes\contrib\dempo\css\bootstrap.css
-------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
-------------------------------------------------------------------------
3663 | ERROR | Style definitions must end with a semicolon
6414 | ERROR | Style definitions must end with a semicolon
6424 | ERROR | Style definitions must end with a semicolon
-------------------------------------------------------------------------

FILE: C:\xampp\htdocs\drupal_9\web\themes\contrib\dempo\css\custom.css
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
7 | ERROR | Class definition is empty
----------------------------------------------------------------------

FILE: C:\xampp\htdocs\drupal_9\web\themes\contrib\dempo\css\header.css
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
165 | ERROR | Style definitions must end with a semicolon
----------------------------------------------------------------------

FILE: C:\xampp\htdocs\drupal_9\web\themes\contrib\dempo\css\navigation.css
--------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------
70 | ERROR | Class definition is empty
155 | ERROR | Style definition is empty
--------------------------------------------------------------------------

FILE: C:\xampp\htdocs\drupal_9\web\themes\contrib\dempo\dempo.theme
-----------------------------------------------------------------------------------------------------------------------------------------
FOUND 5 ERRORS AND 1 WARNING AFFECTING 6 LINES
-----------------------------------------------------------------------------------------------------------------------------------------
11 | ERROR | Doc comment is empty
18 | ERROR | No key specified for array entry; first entry specifies key
717 | ERROR | Doc comment is empty
722 | WARNING | Line exceeds 80 characters; contains 89 characters
774 | ERROR | The array declaration extends to column 106 (the limit is 80). The array content should be split up over multiple lines
793 | ERROR | The array declaration extends to column 106 (the limit is 80). The array content should be split up over multiple lines
-----------------------------------------------------------------------------------------------------------------------------------------

FILE: C:\xampp\htdocs\drupal_9\web\themes\contrib\dempo\lib\bs5\bootstrap-5-examples\cheatsheet\cheatsheet.css
--------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 4 LINES
--------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
64 | ERROR | [x] Blank lines are not allowed in class definitions
119 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 0
120 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 0
--------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------------

FILE: C:\xampp\htdocs\drupal_9\web\themes\contrib\dempo\lib\bs5\bootstrap-5-examples\cheatsheet\cheatsheet.rtl.css
------------------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
114 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 0
115 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 0
------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------

FILE: C:\xampp\htdocs\drupal_9\web\themes\contrib\dempo\lib\bs5\css\bootstrap-grid.css
--------------------------------------------------------------------------------------
FOUND 10 ERRORS AFFECTING 10 LINES
--------------------------------------------------------------------------------------
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
27 | ERROR | Style definitions must end with a semicolon
28 | ERROR | Style definitions must end with a semicolon
29 | ERROR | Style definitions must end with a semicolon
30 | ERROR | Style definitions must end with a semicolon
110 | ERROR | Style definitions must end with a semicolon
--------------------------------------------------------------------------------------

FILE: C:\xampp\htdocs\drupal_9\web\themes\contrib\dempo\lib\bs5\css\bootstrap-grid.rtl.css
------------------------------------------------------------------------------------------
FOUND 10 ERRORS AFFECTING 10 LINES
------------------------------------------------------------------------------------------
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
27 | ERROR | Style definitions must end with a semicolon
28 | ERROR | Style definitions must end with a semicolon
29 | ERROR | Style definitions must end with a semicolon
30 | ERROR | Style definitions must end with a semicolon
110 | ERROR | Style definitions must end with a semicolon
------------------------------------------------------------------------------------------

FILE: C:\xampp\htdocs\drupal_9\web\themes\contrib\dempo\lib\bs5\css\bootstrap-reboot.css
----------------------------------------------------------------------------------------
FOUND 10 ERRORS AFFECTING 10 LINES
----------------------------------------------------------------------------------------
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
27 | ERROR | Style definitions must end with a semicolon
28 | ERROR | Style definitions must end with a semicolon
29 | ERROR | Style definitions must end with a semicolon
30 | ERROR | Style definitions must end with a semicolon
110 | ERROR | Style definitions must end with a semicolon
----------------------------------------------------------------------------------------

FILE: C:\xampp\htdocs\drupal_9\web\themes\contrib\dempo\lib\bs5\css\bootstrap-reboot.rtl.css
--------------------------------------------------------------------------------------------
FOUND 10 ERRORS AFFECTING 10 LINES
--------------------------------------------------------------------------------------------
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
27 | ERROR | Style definitions must end with a semicolon
28 | ERROR | Style definitions must end with a semicolon
29 | ERROR | Style definitions must end with a semicolon
30 | ERROR | Style definitions must end with a semicolon
110 | ERROR | Style definitions must end with a semicolon
--------------------------------------------------------------------------------------------

FILE: C:\xampp\htdocs\drupal_9\web\themes\contrib\dempo\lib\bs5\css\bootstrap-utilities.css
-------------------------------------------------------------------------------------------
FOUND 10 ERRORS AFFECTING 10 LINES
-------------------------------------------------------------------------------------------
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
27 | ERROR | Style definitions must end with a semicolon
28 | ERROR | Style definitions must end with a semicolon
29 | ERROR | Style definitions must end with a semicolon
30 | ERROR | Style definitions must end with a semicolon
110 | ERROR | Style definitions must end with a semicolon
-------------------------------------------------------------------------------------------

FILE: C:\xampp\htdocs\drupal_9\web\themes\contrib\dempo\lib\bs5\css\bootstrap-utilities.rtl.css
-----------------------------------------------------------------------------------------------
FOUND 10 ERRORS AFFECTING 10 LINES
-----------------------------------------------------------------------------------------------
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
27 | ERROR | Style definitions must end with a semicolon
28 | ERROR | Style definitions must end with a semicolon
29 | ERROR | Style definitions must end with a semicolon
30 | ERROR | Style definitions must end with a semicolon
110 | ERROR | Style definitions must end with a semicolon
-----------------------------------------------------------------------------------------------

FILE: C:\xampp\htdocs\drupal_9\web\themes\contrib\dempo\lib\bs5\css\bootstrap.css
---------------------------------------------------------------------------------
FOUND 19 ERRORS AFFECTING 19 LINES
---------------------------------------------------------------------------------
2428 | ERROR | Style definitions must end with a semicolon
2430 | ERROR | Style definitions must end with a semicolon
3013 | ERROR | Style definition is empty
3754 | ERROR | Style definition is empty
3872 | ERROR | Style definition is empty
4050 | ERROR | Style definition is empty
4425 | ERROR | Style definition is empty
4426 | ERROR | Style definition is empty
4430 | ERROR | Style definition is empty
4435 | ERROR | Style definition is empty
4436 | ERROR | Style definition is empty
4437 | ERROR | Style definition is empty
4752 | ERROR | Style definition is empty
4753 | ERROR | Style definition is empty
5482 | ERROR | Style definition is empty
5549 | ERROR | Style definition is empty
5563 | ERROR | Style definition is empty
5841 | ERROR | Style definition is empty
5960 | ERROR | Style definition is empty
---------------------------------------------------------------------------------

FILE: C:\xampp\htdocs\drupal_9\web\themes\contrib\dempo\lib\bs5\css\bootstrap.rtl.css
-------------------------------------------------------------------------------------
FOUND 19 ERRORS AFFECTING 19 LINES
-------------------------------------------------------------------------------------
2426 | ERROR | Style definitions must end with a semicolon
2428 | ERROR | Style definitions must end with a semicolon
3011 | ERROR | Style definition is empty
3752 | ERROR | Style definition is empty
3870 | ERROR | Style definition is empty
4048 | ERROR | Style definition is empty
4423 | ERROR | Style definition is empty
4424 | ERROR | Style definition is empty
4428 | ERROR | Style definition is empty
4433 | ERROR | Style definition is empty
4434 | ERROR | Style definition is empty
4435 | ERROR | Style definition is empty
4750 | ERROR | Style definition is empty
4751 | ERROR | Style definition is empty
5480 | ERROR | Style definition is empty
5547 | ERROR | Style definition is empty
5561 | ERROR | Style definition is empty
5839 | ERROR | Style definition is empty
5950 | ERROR | Style definition is empty
-------------------------------------------------------------------------------------

FILE: C:\xampp\htdocs\drupal_9\web\themes\contrib\dempo\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
----------------------------------------------------------------------

FILE: C:\xampp\htdocs\drupal_9\web\themes\contrib\dempo\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
----------------------------------------------------------------------

📌 Task
Status

Fixed

Version

2.0

Component

Code

Created by

🇮🇳India arti_parmar

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

Comments & Activities

Production build 0.71.5 2024