Line exceeds 80 characters

Created on 8 June 2022, over 2 years ago
Updated 21 August 2024, about 1 month ago
FILE:  C:\xampp\htdocs\contribution\web\modules\contrib\nouislider_widget\README.md
----------------------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
----------------------------------------------------------------------------------
 12 | WARNING | Line exceeds 80 characters; contains 114 characters
 26 | WARNING | Line exceeds 80 characters; contains 98 characters
----------------------------------------------------------------------------------

Time: 265ms; Memory: 8MB

šŸ“Œ Task
Status

Needs work

Version

1.0

Component

Code

Created by

šŸ‡®šŸ‡³India Rakhi Soni

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • Hi@everyone,

    Applied the patch provided on comment #2, confirmed it can be applied successfully, however, one error still reported. Please see below:

    āžœ  nouislider_widget git:(master) āœ— curl https://www.drupal.org/files/issues/2022-06-08/Line_exceeds_80_characters-3284610-1.patch | patch -p1
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    100   799  100   799    0     0   2951      0 --:--:-- --:--:-- --:--:--  3096
    patching file README.md
    āžœ  nouislider_widget git:(master) āœ— ..
    āžœ  contrib git:(master) āœ— phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml,twig nouislider_widget
    
    FILE: /Users/PrometInterns/Demo-site/drupal-orgissue-v9/web/modules/contrib/nouislider_widget/src/Plugin/Field/FieldWidget/NoUiSliderWidget.php
    -------------------------------------------------------------------------------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    -------------------------------------------------------------------------------------------------------------------------------------------------
     7 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Field\Plugin\Field\FieldWidget\NumberWidget.
    -------------------------------------------------------------------------------------------------------------------------------------------------
    PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    -------------------------------------------------------------------------------------------------------------------------------------------------
    
    Time: 142ms; Memory: 10MB

    Kindly check

    Thanks,
    Jake

Production build 0.71.5 2024