Drupal calls should be avoided in classes, use dependency injection instead

Created on 31 May 2024, 6 months ago

Problem/Motivation

FILE: /var/www/html/drupal9.3.0/web/modules/contrib/sftp_export/src/Form/UploadForm.php
----------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 4 WARNINGS AFFECTING 4 LINES
----------------------------------------------------------------------------------------------
  60 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
  64 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
 100 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
 104 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
----------------------------------------------------------------------------------------------



📌 Task
Status

Needs review

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

Production build 0.71.5 2024