Drupal Practice

Created on 31 December 2022, almost 2 years ago
Updated 15 September 2024, 3 months ago

Problem/Motivation

FILE: ...l/web/modules/contrib/autocomplete_deluxe/assets/js/autocomplete_deluxe.js
--------------------------------------------------------------------------------
FOUND 57 ERRORS AFFECTING 57 LINES
--------------------------------------------------------------------------------
   6 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
  10 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
  15 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
  16 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but
     |       |     found "true"
  40 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
  50 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
  65 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
 115 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
 122 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
 127 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
 132 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
 137 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "NULL" but
     |       |     found "null"
 146 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
 147 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but
     |       |     found "true"
 150 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
 164 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but
     |       |     found "false"
 172 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but
     |       |     found "false"
 175 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but
     |       |     found "false"
 186 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but
     |       |     found "true"
 201 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
 224 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but
     |       |     found "true"
 229 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but
     |       |     found "true"
 237 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "NULL" but
     |       |     found "null"
 239 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
 250 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
 284 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
 289 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
 312 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
 333 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
 344 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
 352 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
 356 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
 368 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
 376 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
 383 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
 384 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but
     |       |     found "true"
 386 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but
     |       |     found "true"
 408 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
 418 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
 429 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
 439 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
 443 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
 465 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
 483 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "NULL" but
     |       |     found "null"
 503 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
 516 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
 521 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
 533 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but
     |       |     found "false"
 536 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
 540 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
 548 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but
     |       |     found "false"
 550 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
 575 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but
     |       |     found "true"
 577 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but
     |       |     found "false"
 611 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
 616 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but
     |       |     found "false"
 618 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but
     |       |     found "false"
--------------------------------------------------------------------------------


FILE: ...ocomplete_deluxe/src/Plugin/Field/FieldWidget/AutocompleteDeluxeWidget.php
--------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------------
 247 | ERROR | [x] Use null coalesce operator instead of ternary operator.
 371 | ERROR | [x] Use null coalesce operator instead of ternary operator.
--------------------------------------------------------------------------------


FILE: ...ules/contrib/autocomplete_deluxe/src/Element/AutocompleteDeluxeElement.php
--------------------------------------------------------------------------------
FOUND 15 ERRORS AFFECTING 14 LINES
--------------------------------------------------------------------------------
  39 | ERROR | [ ] The array declaration extends to column 115 (the limit is
     |       |     80). The array content should be split up over multiple
     |       |     lines
  39 | ERROR | [ ] The array declaration extends to column 114 (the limit is
     |       |     80). The array content should be split up over multiple
     |       |     lines
  78 | ERROR | [x] Use null coalesce operator instead of ternary operator.
  97 | ERROR | [x] Use null coalesce operator instead of ternary operator.
 103 | ERROR | [x] Use null coalesce operator instead of ternary operator.
 116 | ERROR | [x] Use null coalesce operator instead of ternary operator.
 117 | ERROR | [x] Use null coalesce operator instead of ternary operator.
 118 | ERROR | [x] Use null coalesce operator instead of ternary operator.
 119 | ERROR | [x] Use null coalesce operator instead of ternary operator.
 120 | ERROR | [x] Use null coalesce operator instead of ternary operator.
 121 | ERROR | [x] Use null coalesce operator instead of ternary operator.
 122 | ERROR | [x] Use null coalesce operator instead of ternary operator.
 123 | ERROR | [x] Use null coalesce operator instead of ternary operator.
 147 | ERROR | [x] Use null coalesce operator instead of ternary operator.
 152 | ERROR | [x] Use null coalesce operator instead of ternary operator.
--------------------------------------------------------------------------------

Time: 1.72 secs; Memory: 16MB
📌 Task
Status

Closed: outdated

Version

2.0

Component

Miscellaneous

Created by

🇮🇳India Rohit Rana

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.

Production build 0.71.5 2024