ImageStyle::load calls should be avoided in classes, use dependency injection instead

Created on 26 June 2023, over 1 year ago
Updated 30 August 2023, over 1 year ago

FILE: D:\xampp\htdocs\drupal_10\web\modules\contrib\geofield_map\src\Services\MarkerIconService.php
---------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 5 WARNINGS AFFECTING 5 LINES
---------------------------------------------------------------------------------------------------------------
543 | WARNING | ImageStyle::load calls should be avoided in classes, use dependency injection instead
551 | WARNING | ImageStyle::loadMultiple calls should be avoided in classes, use dependency injection instead
667 | WARNING | ImageStyle::load calls should be avoided in classes, use dependency injection instead
824 | WARNING | ImageStyle::load calls should be avoided in classes, use dependency injection instead
825 | WARNING | ImageStyle::load calls should be avoided in classes, use dependency injection instead
---------------------------------------------------------------------------------------------------------------

📌 Task
Status

Fixed

Version

3.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