FILE: D:\xampp\htdocs\drupal_10\web\modules\contrib\image_url_formatter\src\Plugin\Field\FieldFormatter\ImageUrlFormatter.php
-----------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
-----------------------------------------------------------------------------------------------------------------------------
236 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
-----------------------------------------------------------------------------------------------------------------------------

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

arti_parmar created an issue. See original summary.

arti_parmar’s picture

Assigned: arti_parmar » Unassigned
Category: Task » Bug report
Status: Active » Needs review
FileSize
3.69 KB

Kindly review patch.

kenyoOwen’s picture

Status: Needs review » Reviewed & tested by the community
FileSize
284.06 KB
271.92 KB

Hi arti_parmar

I applied your patch and confirmed that the issue mentioned is resolved. Please see the screenshots attached.

Thank you.

g089h515r806’s picture

Status: Reviewed & tested by the community » Fixed

committed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.