Unused variables in VarnishPurgerFormBase.php and varnish_image_purge.module

Created on 11 March 2024, 4 months ago
Updated 12 March 2024, 4 months ago

Referred source
when I run the command
phpcs --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml
for your module
I found this

FILE: /var/www/html/web/modules/contrib/varnish_purge/src/Form/VarnishPurgerFormBase.php
----------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------------------------
378 | WARNING | Unused variable $tokens.
----------------------------------------------------------------------------------------

FILE: /var/www/html/web/modules/contrib/varnish_purge/modules/varnish_image_purge/varnish_image_purge.module
------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------
127 | WARNING | Unused variable $delta.

📌 Task
Status

Needs review

Version

2.2

Component

Code

Created by

🇮🇳India Harpreet_singh_saluja

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

Comments & Activities

Production build 0.69.0 2024