Fix the errors reported by PHPCS

Created on 8 August 2023, over 1 year ago

Problem/Motivation

While checking with PHPCS, able to see some errors. Needs to fix them

Steps to reproduce

Run PHPCS can show us errors/suggestions

Proposed resolution

Check the errors/suggestions and need fix for them
FILE: /var/www/html/web/modules/contrib/find_external_links-3379871/src/Form/ConfigurationForm.php
--------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES
--------------------------------------------------------------------------------------------------
158 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
238 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
242 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
--------------------------------------------------------------------------------------------------

🐛 Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

🇮🇳India bhanutejaswi

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

Comments & Activities

Production build 0.71.5 2024