Unused variable

Created on 9 November 2022, about 2 years ago
Updated 8 February 2023, almost 2 years ago

Problem/Motivation

FILE: /var/www/html/drupal_cms/drupal9/web/modules/contrib/eme/js/eme-export-id.js
-------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-------------------------------------------------------------------------------------------
 21 | ERROR | TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true"
-------------------------------------------------------------------------------------------

FILE: /var/www/html/drupal_cms/drupal9/web/modules/contrib/eme/src/Export/ExportPluginBase.php
----------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------------------------------
 491 | WARNING | Unused variable $scheme.
----------------------------------------------------------------------------------------------
📌 Task
Status

Needs work

Version

1.0

Component

Code

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.

  • 🇭🇺Hungary huzooka Hungary 🇭🇺🇪🇺

    @Rohit Rana The JS issue your command reports is a false positive violation. The unused variable is real, but I won't commit a single variable removal.

    If you really want to help, please address all JS CS violations that are reported during the weekly tests (these showed up from October 2022, here is an example: https://www.drupal.org/pift-ci-job/2588544 ) 🙏.

    @erikaagp How were you able to "test" this without knowing the linter and the config it is using? 🤔

Production build 0.71.5 2024