- ๐ฎ๐ณIndia dev16.addweb
silvi.addweb โ made their first commit to this issueโs fork.
- Merge request !73Removed unnecessary variables and fixed t() issue. โ (Open) created by Unnamed author
- ๐ฎ๐ณ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.