- ๐ฎ๐ณIndia roshni27
Execute the command: phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml,twig image_widget_crop/
Branch : 8.x-2.x
FILE: /home/lenovo/d7to9/web/modules/contrib/image_widget_crop/modules/image_widget_crop_examples/src/Form/ImageWidgetCropExamplesForm.php ------------------------------------------------------------------------------------------------------------------------------------------ FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES ------------------------------------------------------------------------------------------------------------------------------------------ 116 | WARNING | [ ] File::load calls should be avoided in classes, use dependency injection instead 160 | WARNING | [ ] File::load calls should be avoided in classes, use dependency injection instead ------------------------------------------------------------------------------------------------------------------------------------------ FILE: /home/lenovo/d7to9/web/modules/contrib/image_widget_crop/src/ImageWidgetCropManager.php --------------------------------------------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNINGS AFFECTING 1 LINES --------------------------------------------------------------------------------------------------------------------------------------------- 189 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead ---------------------------------------------------------------------------------------------------------------------------------------------
I am working on it.
- Issue was unassigned.
- Status changed to Needs review
over 1 year ago 9:17am 14 July 2023 - last update
over 1 year ago 1 pass, 4 fail The last submitted patch, 11: solve-dependency-injection-3018018-11.patch, failed testing. View results โ
- last update
over 1 year ago 1 pass, 4 fail