Fix issues reported by PHPCS

Created on 5 March 2025, 29 days ago

Problem/Motivation

It would be great to address the below minor PHPCS issues :

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

FILE: /var/www/web/themes/contrib/prototype/tests/cypress/README.md
------------------------------------------------------------------------
FOUND 1 ERROR AND 10 WARNINGS AFFECTING 11 LINES
------------------------------------------------------------------------
 16 | WARNING | [ ] Line exceeds 80 characters; contains 334 characters
 20 | WARNING | [ ] Line exceeds 80 characters; contains 119 characters
 28 | WARNING | [ ] Line exceeds 80 characters; contains 334 characters
 29 | WARNING | [ ] Line exceeds 80 characters; contains 137 characters
 30 | WARNING | [ ] Line exceeds 80 characters; contains 149 characters
 34 | WARNING | [ ] Line exceeds 80 characters; contains 234 characters
 36 | WARNING | [ ] Line exceeds 80 characters; contains 229 characters
 42 | WARNING | [ ] Line exceeds 80 characters; contains 90 characters
 45 | WARNING | [ ] Line exceeds 80 characters; contains 105 characters
 51 | WARNING | [ ] Line exceeds 80 characters; contains 151 characters
 52 | ERROR   | [x] Expected 1 newline at end of file; 0 found
------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------


FILE: /var/www/web/themes/contrib/prototype/vendor/README.md
-----------------------------------------------------------------------
FOUND 1 ERROR AND 3 WARNINGS AFFECTING 3 LINES
-----------------------------------------------------------------------
 2 | WARNING | [ ] Line exceeds 80 characters; contains 109 characters
 4 | WARNING | [ ] Line exceeds 80 characters; contains 198 characters
 6 | WARNING | [ ] Line exceeds 80 characters; contains 308 characters
 6 | ERROR   | [x] Expected 1 newline at end of file; 0 found
-----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------


FILE: /var/www/web/themes/contrib/prototype/README.md
-------------------------------------------------------------------------
FOUND 1 ERROR AND 30 WARNINGS AFFECTING 31 LINES
-------------------------------------------------------------------------
  15 | WARNING | [ ] Line exceeds 80 characters; contains 113 characters
  17 | WARNING | [ ] Line exceeds 80 characters; contains 119 characters
  18 | WARNING | [ ] Line exceeds 80 characters; contains 104 characters
  22 | WARNING | [ ] Line exceeds 80 characters; contains 302 characters
  36 | WARNING | [ ] Line exceeds 80 characters; contains 334 characters
  37 | WARNING | [ ] Line exceeds 80 characters; contains 137 characters
  38 | WARNING | [ ] Line exceeds 80 characters; contains 165 characters
  44 | WARNING | [ ] Line exceeds 80 characters; contains 117 characters
  45 | WARNING | [ ] Line exceeds 80 characters; contains 101 characters
  49 | WARNING | [ ] Line exceeds 80 characters; contains 119 characters
  50 | WARNING | [ ] Line exceeds 80 characters; contains 107 characters
  55 | WARNING | [ ] Line exceeds 80 characters; contains 200 characters
  57 | WARNING | [ ] Line exceeds 80 characters; contains 180 characters
  59 | WARNING | [ ] Line exceeds 80 characters; contains 157 characters
  61 | WARNING | [ ] Line exceeds 80 characters; contains 336 characters
  72 | WARNING | [ ] Line exceeds 80 characters; contains 253 characters
  77 | WARNING | [ ] Line exceeds 80 characters; contains 229 characters
  88 | WARNING | [ ] Line exceeds 80 characters; contains 266 characters
  90 | WARNING | [ ] Line exceeds 80 characters; contains 157 characters
  93 | WARNING | [ ] Line exceeds 80 characters; contains 108 characters
 154 | WARNING | [ ] Line exceeds 80 characters; contains 348 characters
 156 | WARNING | [ ] Line exceeds 80 characters; contains 326 characters
 158 | WARNING | [ ] Line exceeds 80 characters; contains 268 characters
 162 | WARNING | [ ] Line exceeds 80 characters; contains 193 characters
 164 | WARNING | [ ] Line exceeds 80 characters; contains 162 characters
 166 | WARNING | [ ] Line exceeds 80 characters; contains 154 characters
 168 | WARNING | [ ] Line exceeds 80 characters; contains 247 characters
 170 | WARNING | [ ] Line exceeds 80 characters; contains 351 characters
 172 | WARNING | [ ] Line exceeds 80 characters; contains 388 characters
 175 | WARNING | [ ] Line exceeds 80 characters; contains 341 characters
 190 | ERROR   | [x] Expected 1 newline at end of file; 0 found
-------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------


FILE: /var/www/web/themes/contrib/prototype/config/install/prototype.settings.yml
---------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
---------------------------------------------------------------------------------
 1 | ERROR | [x] Expected 1 newline at end of file; 0 found
---------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------


FILE: /var/www/web/themes/contrib/prototype/dist/css/global/wysiwyg.css
-----------------------------------------------------------------------------------------------
FOUND 121 ERRORS AFFECTING 107 LINES
-----------------------------------------------------------------------------------------------
  46 | ERROR | [x] Multiple selectors should each be on a single line
  80 | ERROR | [x] CSS colors must be defined in lowercase; expected #0d6efd but found #0D6EFD
  81 | ERROR | [x] CSS colors must be defined in lowercase; expected #6610f2 but found #6610F2
  82 | ERROR | [x] CSS colors must be defined in lowercase; expected #6f42c1 but found #6F42C1
  83 | ERROR | [x] CSS colors must be defined in lowercase; expected #d63384 but found #D63384
  84 | ERROR | [x] CSS colors must be defined in lowercase; expected #dc3545 but found #DC3545
  85 | ERROR | [x] CSS colors must be defined in lowercase; expected #fd7e14 but found #FD7E14
  86 | ERROR | [x] CSS colors must be defined in lowercase; expected #ffc107 but found #FFC107
  88 | ERROR | [x] CSS colors must be defined in lowercase; expected #20c997 but found #20C997
  89 | ERROR | [x] CSS colors must be defined in lowercase; expected #0dcaf0 but found #0DCAF0
  93 | ERROR | [x] CSS colors must be defined in lowercase; expected #ffffff but found #FFFFFF
  94 | ERROR | [ ] Style definitions must end with a semicolon
  94 | ERROR | [x] CSS colors must be defined in lowercase; expected #f8f9fa but found #F8F9FA
  95 | ERROR | [ ] Style definitions must end with a semicolon
  95 | ERROR | [x] CSS colors must be defined in lowercase; expected #e9ecef but found #E9ECEF
  96 | ERROR | [ ] Style definitions must end with a semicolon
  96 | ERROR | [x] CSS colors must be defined in lowercase; expected #dee2e6 but found #DEE2E6
  97 | ERROR | [ ] Style definitions must end with a semicolon
  97 | ERROR | [x] CSS colors must be defined in lowercase; expected #ced4da but found #CED4DA
  98 | ERROR | [ ] Style definitions must end with a semicolon
  98 | ERROR | [x] CSS colors must be defined in lowercase; expected #adb5bd but found #ADB5BD
  99 | ERROR | [ ] Style definitions must end with a semicolon
  99 | ERROR | [x] CSS colors must be defined in lowercase; expected #6c757d but found #6C757D
 100 | ERROR | [ ] Style definitions must end with a semicolon
 101 | ERROR | [ ] Style definitions must end with a semicolon
 101 | ERROR | [x] CSS colors must be defined in lowercase; expected #343a40 but found #343A40
 102 | ERROR | [ ] Style definitions must end with a semicolon
 130 | ERROR | [ ] Style definitions must end with a semicolon
 131 | ERROR | [ ] Style definitions must end with a semicolon
 133 | ERROR | [ ] Style definitions must end with a semicolon
 134 | ERROR | [ ] Style definitions must end with a semicolon
 135 | ERROR | [ ] Style definitions must end with a semicolon
 143 | ERROR | [ ] Style definitions must end with a semicolon
 144 | ERROR | [ ] Style definitions must end with a semicolon
 146 | ERROR | [ ] Style definitions must end with a semicolon
 147 | ERROR | [ ] Style definitions must end with a semicolon
 148 | ERROR | [ ] Style definitions must end with a semicolon
 159 | ERROR | [ ] Style definitions must end with a semicolon
 160 | ERROR | [ ] Style definitions must end with a semicolon
 162 | ERROR | [ ] Style definitions must end with a semicolon
 163 | ERROR | [ ] Style definitions must end with a semicolon
 164 | ERROR | [ ] Style definitions must end with a semicolon
 172 | ERROR | [ ] Style definitions must end with a semicolon
 173 | ERROR | [ ] Style definitions must end with a semicolon
 175 | ERROR | [ ] Style definitions must end with a semicolon
 176 | ERROR | [ ] Style definitions must end with a semicolon
 177 | ERROR | [ ] Style definitions must end with a semicolon
 189 | ERROR | [ ] Style definitions must end with a semicolon
 190 | ERROR | [ ] Style definitions must end with a semicolon
 192 | ERROR | [ ] Style definitions must end with a semicolon
 193 | ERROR | [ ] Style definitions must end with a semicolon
 201 | ERROR | [ ] Style definitions must end with a semicolon
 202 | ERROR | [ ] Style definitions must end with a semicolon
 204 | ERROR | [ ] Style definitions must end with a semicolon
 205 | ERROR | [ ] Style definitions must end with a semicolon
 217 | ERROR | [ ] Style definitions must end with a semicolon
 218 | ERROR | [ ] Style definitions must end with a semicolon
 226 | ERROR | [ ] Style definitions must end with a semicolon
 227 | ERROR | [ ] Style definitions must end with a semicolon
 318 | ERROR | [x] Multiple selectors should each be on a single line
 342 | ERROR | [x] CSS colors must be defined in lowercase; expected #0d6efd but found #0D6EFD
 343 | ERROR | [x] CSS colors must be defined in lowercase; expected #6610f2 but found #6610F2
 344 | ERROR | [x] CSS colors must be defined in lowercase; expected #6f42c1 but found #6F42C1
 345 | ERROR | [x] CSS colors must be defined in lowercase; expected #d63384 but found #D63384
 346 | ERROR | [x] CSS colors must be defined in lowercase; expected #dc3545 but found #DC3545
 347 | ERROR | [x] CSS colors must be defined in lowercase; expected #fd7e14 but found #FD7E14
 348 | ERROR | [x] CSS colors must be defined in lowercase; expected #ffc107 but found #FFC107
 350 | ERROR | [x] CSS colors must be defined in lowercase; expected #20c997 but found #20C997
 351 | ERROR | [x] CSS colors must be defined in lowercase; expected #0dcaf0 but found #0DCAF0
 354 | ERROR | [x] CSS colors must be defined in lowercase; expected #ffffff but found #FFFFFF
 355 | ERROR | [ ] Style definitions must end with a semicolon
 355 | ERROR | [x] CSS colors must be defined in lowercase; expected #f8f9fa but found #F8F9FA
 356 | ERROR | [ ] Style definitions must end with a semicolon
 356 | ERROR | [x] CSS colors must be defined in lowercase; expected #e9ecef but found #E9ECEF
 357 | ERROR | [ ] Style definitions must end with a semicolon
 357 | ERROR | [x] CSS colors must be defined in lowercase; expected #dee2e6 but found #DEE2E6
 358 | ERROR | [ ] Style definitions must end with a semicolon
 358 | ERROR | [x] CSS colors must be defined in lowercase; expected #ced4da but found #CED4DA
 359 | ERROR | [ ] Style definitions must end with a semicolon
 359 | ERROR | [x] CSS colors must be defined in lowercase; expected #adb5bd but found #ADB5BD
 360 | ERROR | [ ] Style definitions must end with a semicolon
 360 | ERROR | [x] CSS colors must be defined in lowercase; expected #6c757d but found #6C757D
 361 | ERROR | [ ] Style definitions must end with a semicolon
 362 | ERROR | [ ] Style definitions must end with a semicolon
 362 | ERROR | [x] CSS colors must be defined in lowercase; expected #343a40 but found #343A40
 363 | ERROR | [ ] Style definitions must end with a semicolon
 387 | ERROR | [ ] Style definitions must end with a semicolon
 388 | ERROR | [ ] Style definitions must end with a semicolon
 390 | ERROR | [ ] Style definitions must end with a semicolon
 391 | ERROR | [ ] Style definitions must end with a semicolon
 392 | ERROR | [ ] Style definitions must end with a semicolon
 400 | ERROR | [ ] Style definitions must end with a semicolon
 401 | ERROR | [ ] Style definitions must end with a semicolon
 403 | ERROR | [ ] Style definitions must end with a semicolon
 404 | ERROR | [ ] Style definitions must end with a semicolon
 405 | ERROR | [ ] Style definitions must end with a semicolon
 416 | ERROR | [ ] Style definitions must end with a semicolon
 417 | ERROR | [ ] Style definitions must end with a semicolon
 419 | ERROR | [ ] Style definitions must end with a semicolon
 420 | ERROR | [ ] Style definitions must end with a semicolon
 421 | ERROR | [ ] Style definitions must end with a semicolon
 429 | ERROR | [ ] Style definitions must end with a semicolon
 430 | ERROR | [ ] Style definitions must end with a semicolon
 432 | ERROR | [ ] Style definitions must end with a semicolon
 433 | ERROR | [ ] Style definitions must end with a semicolon
 434 | ERROR | [ ] Style definitions must end with a semicolon
 446 | ERROR | [ ] Style definitions must end with a semicolon
 447 | ERROR | [ ] Style definitions must end with a semicolon
 449 | ERROR | [ ] Style definitions must end with a semicolon
 450 | ERROR | [ ] Style definitions must end with a semicolon
 458 | ERROR | [ ] Style definitions must end with a semicolon
 459 | ERROR | [ ] Style definitions must end with a semicolon
 461 | ERROR | [ ] Style definitions must end with a semicolon
 462 | ERROR | [ ] Style definitions must end with a semicolon
 474 | ERROR | [ ] Style definitions must end with a semicolon
 475 | ERROR | [ ] Style definitions must end with a semicolon
 483 | ERROR | [ ] Style definitions must end with a semicolon
 484 | ERROR | [ ] Style definitions must end with a semicolon
 565 | ERROR | [x] Multiple selectors should each be on a single line
 622 | ERROR | [x] Multiple selectors should each be on a single line
 648 | ERROR | [x] Expected 1 newline at end of file; 0 found
-----------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 39 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------


FILE: /var/www/web/themes/contrib/prototype/dist/css/global/settings/spacing.css
--------------------------------------------------------------------------------
FOUND 43 ERRORS AFFECTING 43 LINES
--------------------------------------------------------------------------------
  4 | ERROR | [ ] Style definitions must end with a semicolon
  5 | ERROR | [ ] Style definitions must end with a semicolon
  6 | ERROR | [ ] Style definitions must end with a semicolon
  7 | ERROR | [ ] Style definitions must end with a semicolon
  8 | ERROR | [ ] Style definitions must end with a semicolon
  9 | ERROR | [ ] Style definitions must end with a semicolon
 10 | ERROR | [ ] Style definitions must end with a semicolon
 11 | ERROR | [ ] Style definitions must end with a semicolon
 12 | ERROR | [ ] Style definitions must end with a semicolon
 13 | ERROR | [ ] Style definitions must end with a semicolon
 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
 17 | 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
 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
 31 | ERROR | [ ] Style definitions must end with a semicolon
 32 | ERROR | [ ] Style definitions must end with a semicolon
 33 | ERROR | [ ] Style definitions must end with a semicolon
 39 | ERROR | [ ] Style definitions must end with a semicolon
 40 | ERROR | [ ] Style definitions must end with a semicolon
 41 | ERROR | [ ] Style definitions must end with a semicolon
 42 | ERROR | [ ] Style definitions must end with a semicolon
 43 | ERROR | [ ] Style definitions must end with a semicolon
 44 | ERROR | [ ] Style definitions must end with a semicolon
 45 | ERROR | [ ] Style definitions must end with a semicolon
 46 | ERROR | [ ] Style definitions must end with a semicolon
 47 | ERROR | [ ] Style definitions must end with a semicolon
 48 | ERROR | [ ] Style definitions must end with a semicolon
 49 | ERROR | [ ] Style definitions must end with a semicolon
 55 | ERROR | [ ] Style definitions must end with a semicolon
 56 | ERROR | [ ] Style definitions must end with a semicolon
 57 | ERROR | [ ] Style definitions must end with a semicolon
 58 | ERROR | [ ] Style definitions must end with a semicolon
 59 | ERROR | [ ] Style definitions must end with a semicolon
 61 | ERROR | [x] Expected 1 newline at end of file; 0 found
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------


FILE: /var/www/web/themes/contrib/prototype/dist/css/global/settings/typography.css
-----------------------------------------------------------------------------------
FOUND 34 ERRORS AFFECTING 34 LINES
-----------------------------------------------------------------------------------
  14 | ERROR | [ ] Style definitions must end with a semicolon
  15 | ERROR | [ ] Style definitions must end with a semicolon
  17 | 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
  27 | ERROR | [ ] Style definitions must end with a semicolon
  28 | ERROR | [ ] Style definitions must end with a semicolon
  30 | ERROR | [ ] Style definitions must end with a semicolon
  31 | ERROR | [ ] Style definitions must end with a semicolon
  32 | ERROR | [ ] Style definitions must end with a semicolon
  43 | ERROR | [ ] Style definitions must end with a semicolon
  44 | ERROR | [ ] Style definitions must end with a semicolon
  46 | ERROR | [ ] Style definitions must end with a semicolon
  47 | ERROR | [ ] Style definitions must end with a semicolon
  48 | ERROR | [ ] Style definitions must end with a semicolon
  56 | ERROR | [ ] Style definitions must end with a semicolon
  57 | ERROR | [ ] Style definitions must end with a semicolon
  59 | ERROR | [ ] Style definitions must end with a semicolon
  60 | ERROR | [ ] Style definitions must end with a semicolon
  61 | ERROR | [ ] Style definitions must end with a semicolon
  73 | ERROR | [ ] Style definitions must end with a semicolon
  74 | ERROR | [ ] Style definitions must end with a semicolon
  76 | ERROR | [ ] Style definitions must end with a semicolon
  77 | ERROR | [ ] Style definitions must end with a semicolon
  85 | ERROR | [ ] Style definitions must end with a semicolon
  86 | ERROR | [ ] Style definitions must end with a semicolon
  88 | ERROR | [ ] Style definitions must end with a semicolon
  89 | ERROR | [ ] Style definitions must end with a semicolon
 101 | ERROR | [ ] Style definitions must end with a semicolon
 102 | ERROR | [ ] Style definitions must end with a semicolon
 110 | ERROR | [ ] Style definitions must end with a semicolon
 111 | ERROR | [ ] Style definitions must end with a semicolon
 202 | ERROR | [x] Multiple selectors should each be on a single line
 223 | ERROR | [x] Expected 1 newline at end of file; 0 found
-----------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------


FILE: /var/www/web/themes/contrib/prototype/dist/css/global/settings/colors.css
----------------------------------------------------------------------------------------------
FOUND 27 ERRORS AFFECTING 20 LINES
----------------------------------------------------------------------------------------------
  2 | ERROR | [x] CSS colors must be defined in lowercase; expected #0d6efd but found #0D6EFD
  3 | ERROR | [x] CSS colors must be defined in lowercase; expected #6610f2 but found #6610F2
  4 | ERROR | [x] CSS colors must be defined in lowercase; expected #6f42c1 but found #6F42C1
  5 | ERROR | [x] CSS colors must be defined in lowercase; expected #d63384 but found #D63384
  6 | ERROR | [x] CSS colors must be defined in lowercase; expected #dc3545 but found #DC3545
  7 | ERROR | [x] CSS colors must be defined in lowercase; expected #fd7e14 but found #FD7E14
  8 | ERROR | [x] CSS colors must be defined in lowercase; expected #ffc107 but found #FFC107
 10 | ERROR | [x] CSS colors must be defined in lowercase; expected #20c997 but found #20C997
 11 | ERROR | [x] CSS colors must be defined in lowercase; expected #0dcaf0 but found #0DCAF0
 15 | ERROR | [x] CSS colors must be defined in lowercase; expected #ffffff but found #FFFFFF
 16 | ERROR | [ ] Style definitions must end with a semicolon
 16 | ERROR | [x] CSS colors must be defined in lowercase; expected #f8f9fa but found #F8F9FA
 17 | ERROR | [ ] Style definitions must end with a semicolon
 17 | ERROR | [x] CSS colors must be defined in lowercase; expected #e9ecef but found #E9ECEF
 18 | ERROR | [ ] Style definitions must end with a semicolon
 18 | ERROR | [x] CSS colors must be defined in lowercase; expected #dee2e6 but found #DEE2E6
 19 | ERROR | [ ] Style definitions must end with a semicolon
 19 | ERROR | [x] CSS colors must be defined in lowercase; expected #ced4da but found #CED4DA
 20 | ERROR | [ ] Style definitions must end with a semicolon
 20 | ERROR | [x] CSS colors must be defined in lowercase; expected #adb5bd but found #ADB5BD
 21 | ERROR | [ ] Style definitions must end with a semicolon
 21 | ERROR | [x] CSS colors must be defined in lowercase; expected #6c757d but found #6C757D
 22 | ERROR | [ ] Style definitions must end with a semicolon
 23 | ERROR | [ ] Style definitions must end with a semicolon
 23 | ERROR | [x] CSS colors must be defined in lowercase; expected #343a40 but found #343A40
 24 | ERROR | [ ] Style definitions must end with a semicolon
 37 | ERROR | [x] Expected 1 newline at end of file; 0 found
----------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 18 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------------------


FILE: /var/www/web/themes/contrib/prototype/dist/css/global/base/media.css
--------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------
 15 | ERROR | [x] Expected 1 newline at end of file; 0 found
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: /var/www/web/themes/contrib/prototype/dist/css/global/base/reset.css
--------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------
 40 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 10
 70 | ERROR | [x] Expected 1 newline at end of file; 0 found
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: /var/www/web/themes/contrib/prototype/dist/css/global/base/page.css
-------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
-------------------------------------------------------------------------
  7 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 5
 33 | ERROR | [x] Expected 1 newline at end of file; 0 found
-------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------


FILE: /var/www/web/themes/contrib/prototype/dist/css/global/base/forms.css
--------------------------------------------------------------------------
FOUND 5 ERRORS AFFECTING 5 LINES
--------------------------------------------------------------------------
  53 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 5
  54 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 10
  74 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 5
  75 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 10
 167 | ERROR | [x] Expected 1 newline at end of file; 0 found
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: /var/www/web/themes/contrib/prototype/dist/css/global/base/lists.css
--------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------
 15 | ERROR | [x] Expected 1 newline at end of file; 0 found
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: /var/www/web/themes/contrib/prototype/dist/css/global/base/tables.css
---------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
---------------------------------------------------------------------------
 14 | ERROR | [x] Multiple selectors should each be on a single line
 45 | ERROR | [x] Expected 1 newline at end of file; 0 found
---------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------


FILE: /var/www/web/themes/contrib/prototype/dist/css/global/region/region--branding.css
---------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
---------------------------------------------------------------------------------------
 28 | ERROR | [x] Expected 1 newline at end of file; 0 found
---------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------


FILE: /var/www/web/themes/contrib/prototype/dist/css/global/region/region--navigation.css
-----------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-----------------------------------------------------------------------------------------
 173 | ERROR | [x] Expected 1 newline at end of file; 0 found
-----------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------


FILE: /var/www/web/themes/contrib/prototype/dist/css/global/region/region--footer.css
-------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-------------------------------------------------------------------------------------
 13 | ERROR | [x] Expected 1 newline at end of file; 0 found
-------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------


FILE: /var/www/web/themes/contrib/prototype/dist/css/global/layout/layout.css
-----------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-----------------------------------------------------------------------------
 224 | ERROR | [x] Expected 1 newline at end of file; 0 found
-----------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------


FILE: /var/www/web/themes/contrib/prototype/prototype.theme
---------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AND 2 WARNINGS AFFECTING 3 LINES
---------------------------------------------------------------------------------------------------------------------------
   9 | ERROR   | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Component\Utility\Html.
  14 | WARNING | [ ] Hook implementations should not duplicate @param documentation
 262 | WARNING | [ ] Hook implementations should not duplicate @param documentation
---------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------------------------------


FILE: /var/www/web/themes/contrib/prototype/components/breadcrumbs/breadcrumbs.css
----------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------------------
 47 | ERROR | [x] Expected 1 newline at end of file; 0 found
----------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------


FILE: /var/www/web/themes/contrib/prototype/components/page-title/page-title.css
--------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------
 1 | ERROR | [x] Expected 1 newline at end of file; 0 found
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------


FILE: /var/www/web/themes/contrib/prototype/components/slideshow/README.md
--------------------------------------------------------------------------
FOUND 0 ERRORS AND 10 WARNINGS AFFECTING 10 LINES
--------------------------------------------------------------------------
  3 | WARNING | Line exceeds 80 characters; contains 199 characters
  9 | WARNING | Line exceeds 80 characters; contains 84 characters
 11 | WARNING | Line exceeds 80 characters; contains 264 characters
 13 | WARNING | Line exceeds 80 characters; contains 158 characters
 15 | WARNING | Line exceeds 80 characters; contains 195 characters
 19 | WARNING | Line exceeds 80 characters; contains 116 characters
 31 | WARNING | Line exceeds 80 characters; contains 89 characters
 32 | WARNING | Line exceeds 80 characters; contains 130 characters
 35 | WARNING | Line exceeds 80 characters; contains 207 characters
 44 | WARNING | Line exceeds 80 characters; contains 82 characters
--------------------------------------------------------------------------


FILE: /var/www/web/themes/contrib/prototype/components/slideshow/slideshow.css
------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------
 31 | ERROR | [x] Expected 1 newline at end of file; 0 found
------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------


FILE: /var/www/web/themes/contrib/prototype/components/pager/pager.css
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
 19 | ERROR | [x] Expected 1 newline at end of file; 0 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: /var/www/web/themes/contrib/prototype/components/video/video.css
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
 7 | ERROR | [x] Expected 1 newline at end of file; 0 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: /var/www/web/themes/contrib/prototype/components/menu/menu.css
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
 44 | ERROR | [x] Multiple selectors should each be on a single line
 64 | ERROR | [x] Expected 1 newline at end of file; 0 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: /var/www/web/themes/contrib/prototype/components/accordion-group/accordion-group.css
------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------
 10 | ERROR | [x] Expected 1 newline at end of file; 0 found
------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------


FILE: /var/www/web/themes/contrib/prototype/components/accordion-group/README.md
--------------------------------------------------------------------------------
FOUND 1 ERROR AND 2 WARNINGS AFFECTING 2 LINES
--------------------------------------------------------------------------------
 7 | WARNING | [ ] Line exceeds 80 characters; contains 192 characters
 9 | WARNING | [ ] Line exceeds 80 characters; contains 142 characters
 9 | ERROR   | [x] Expected 1 newline at end of file; 0 found
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------


FILE: /var/www/web/themes/contrib/prototype/components/link/link.css
----------------------------------------------------------------------
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: /var/www/web/themes/contrib/prototype/components/search-bar/search-bar.css
--------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------------
 125 | ERROR | [x] Multiple selectors should each be on a single line
 139 | ERROR | [x] Expected 1 newline at end of file; 0 found
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------


FILE: /var/www/web/themes/contrib/prototype/components/button/button.css
------------------------------------------------------------------------
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: /var/www/web/themes/contrib/prototype/components/button/button.component.yml
----------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------------------
 28 | ERROR | [x] Expected 1 newline at end of file; 2 found
----------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------


FILE: /var/www/web/themes/contrib/prototype/components/cta/cta.css
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
 48 | ERROR | [x] Expected 1 newline at end of file; 0 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


FILE: /var/www/web/themes/contrib/prototype/components/back-to-top/back-to-top.css
----------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------------------
 27 | ERROR | [x] Expected 1 newline at end of file; 0 found
----------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------


FILE: /var/www/web/themes/contrib/prototype/components/tabs-content/tabs-content.css
------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------
 14 | ERROR | [x] Expected 1 newline at end of file; 0 found
------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------


FILE: /var/www/web/themes/contrib/prototype/components/drupal-messages/drupal-messages.css
------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------
  9 | ERROR | [x] Multiple selectors should each be on a single line
 49 | ERROR | [x] Expected 1 newline at end of file; 0 found
------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------


FILE: /var/www/web/themes/contrib/prototype/components/teaser/teaser.css
-------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
-------------------------------------------------------------------------
 52 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 10
 68 | ERROR | [x] Expected 1 newline at end of file; 0 found
-------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------


FILE: /var/www/web/themes/contrib/prototype/components/pullquote/pullquote.css
------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------
 3 | ERROR | [x] Expected 1 newline at end of file; 0 found
------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------


FILE: /var/www/web/themes/contrib/prototype/components/figure/figure.css
------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------
 7 | ERROR | [x] Expected 1 newline at end of file; 0 found
------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------


FILE: /var/www/web/themes/contrib/prototype/components/accordion/README.md
--------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
--------------------------------------------------------------------------
 7 | WARNING | Line exceeds 80 characters; contains 150 characters
--------------------------------------------------------------------------


FILE: /var/www/web/themes/contrib/prototype/components/accordion/accordion.css
------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------
 75 | ERROR | [x] Expected 1 newline at end of file; 0 found
------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------


FILE: /var/www/web/themes/contrib/prototype/components/menu-tabs/menu-tabs.css
------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------
 34 | ERROR | [x] Multiple selectors should each be on a single line
 39 | ERROR | [x] Expected 1 newline at end of file; 0 found
------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------


FILE: /var/www/web/themes/contrib/prototype/CHANGELOG.md
----------------------------------------------------------------------
FOUND 0 ERRORS AND 8 WARNINGS AFFECTING 8 LINES
----------------------------------------------------------------------
 11 | WARNING | Line exceeds 80 characters; contains 200 characters
 44 | WARNING | Line exceeds 80 characters; contains 91 characters
 47 | WARNING | Line exceeds 80 characters; contains 279 characters
 50 | WARNING | Line exceeds 80 characters; contains 180 characters
 52 | WARNING | Line exceeds 80 characters; contains 150 characters
 60 | WARNING | Line exceeds 80 characters; contains 125 characters
 61 | WARNING | Line exceeds 80 characters; contains 150 characters
 62 | WARNING | Line exceeds 80 characters; contains 464 characters
----------------------------------------------------------------------

Time: 833ms; Memory: 16MB

Steps to reproduce

  • Install the theme, composer require 'drupal/prototype:^5.2@alpha'
  • Run the command,

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

Proposed resolution

Fix the PHPCS issues.

📌 Task
Status

Active

Version

5.2

Component

Code

Created by

🇮🇳India abhiyanshu

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

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

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024