Unused variable $display_id.

Created on 4 February 2020, almost 5 years ago
Updated 1 May 2024, 8 months ago

FILE: /Applications/MAMP/htdocs/drupal8/modules/entity_usage/src/Plugin/EntityUsage/Track/BlockField.php
--------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
--------------------------------------------------------------------------------------------------------
37 | WARNING | Unused variable $display_id.

๐Ÿ› Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

๐Ÿ‡ฎ๐Ÿ‡ณIndia mahtab_alam

Live updates comments and jobs are added and updated live.
  • Needs reroll

    The patch will have to be re-rolled with new suggestions/changes described in the comments in the issue.

Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

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

  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia dev16.addweb

    silvi.addweb โ†’ made their first commit to this issueโ€™s fork.

  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia dev16.addweb

    FILE: /home/addweb/Drupal8-vagrant/web/web/patches/entity_usage-3110943/tests/src/Kernel/EntityUsageTest.php
    ------------------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
    ------------------------------------------------------------------------------------------------------------
    116 | WARNING | Unused variable $source_vid.
    182 | WARNING | Unused variable $storage.
    ------------------------------------------------------------------------------------------------------------

    FILE: /home/addweb/Drupal8-vagrant/web/web/patches/entity_usage-3110943/src/Commands/EntityUsageCommands.php
    -----------------------------------------------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    -----------------------------------------------------------------------------------------------------------------------------------------
    82 | WARNING | t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
    -----------------------------------------------------------------------------------------------------------------------------------------

    FILE: /home/addweb/Drupal8-vagrant/web/web/patches/entity_usage-3110943/src/Plugin/EntityUsage/Track/BlockField.php
    -------------------------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    -------------------------------------------------------------------------------------------------------------------
    37 | WARNING | Unused variable $display_id.
    -------------------------------------------------------------------------------------------------------------------

    Fixed all the above issues. and raised MR for the same.

  • Pipeline finished with Failed
    8 months ago
    Total: 542s
    #161339
Production build 0.71.5 2024