Closed (fixed)
Project:
Cloud
Version:
3.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
19 Sep 2020 at 02:13 UTC
Updated:
22 Oct 2020 at 09:19 UTC
Jump to comment: Most recent, Most recent file
$ phpcs --standard=DrupalPractice --extensions=json,php,module,inc,install,test,profile,theme,css,info,txt,md,yml /var/www/html/web/modules/contrib/cloud
FILE: /var/www/html/web/modules/contrib/cloud/modules/cloud_service_providers/k8s/src/Service/CostFieldsRenderer.php
--------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
--------------------------------------------------------------------------------------------------------------------
46 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
--------------------------------------------------------------------------------------------------------------------
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3171934-2.patch | 2.05 KB | sekinet |
Comments
Comment #2
sekinet commented@yas
Please review the patch file. Thanks.
Comment #3
yas@sekinet
Thank you for fixing the issue. It looks good to me. I'll merge the patch to
8.x-1.x,8.x-2.xand3.xand close this issue asFixed.Comment #7
yasComment #8
yas