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

Created on 6 June 2023, over 1 year ago
Updated 15 June 2023, over 1 year ago

$phpcs --standard=Drupalpractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml sidekick/

FILE: D:\xampp\htdocs\my_site_name_dir\web\modules\contrib\sidekick\src\Form\SettingsForm.php
---------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES
---------------------------------------------------------------------------------------------
59 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
61 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
72 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
---------------------------------------------------------------------------------------------

📌 Task
Status

Fixed

Version

1.0

Component

Code

Created by

🇮🇳India arti_parmar

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

Comments & Activities

Production build 0.71.5 2024