FILE: /var/www/html/drupal-contrib/modules/contrib/ezcontent_api/modules/ezcontent_preview/src/Form/PreviewForm.php
-------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------
68 | WARNING | NodeType::loadMultiple calls should be avoided in classes, use dependency injection instead
-------------------------------------------------------------------------------------------------------------------
FILE: /var/www/html/drupal-contrib/modules/contrib/ezcontent_api/modules/ezcontent_preview/src/Controller/PreviewView.php
-------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 4 WARNINGS AFFECTING 4 LINES
-------------------------------------------------------------------------------------------------------------------------
24 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
62 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
63 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
64 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
------------------------------------------------------------------------------------------------------------------------
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | ezcontent_api-3128797-7.patch | 4.74 KB | karishmaamin |
| #5 | 3128797-3.patch | 3.35 KB | prabha1997 |
Comments
Comment #2
prabha1997 commentedComment #3
prabha1997 commentedKindly review patch
Comment #4
prabha1997 commentedComment #5
prabha1997 commentedKindly review my patch
Comment #6
clemens.tolboomSome doc comment have too many spaces.
Comment #7
karishmaamin commentedplease review
Comment #8
saurabh-2k17 commentedHi,
We have resolved all dependency injection and D9 compatibility issues.
Thank you
Comment #9
saurabh-2k17 commentedComment #10
clemens.tolboom@Saurabh_sgh not sure what your intention was but it was not helping ... "We have resolved ..." without a commit does not help.
This still needs a review.
Comment #11
vaibhavjainHi @clemens.tolboom Sorry we missed this issue in the issue queue. Internally, we were working on making this compatible with D9 and sort out any PHPCS issues. Please see the commit history here https://git.drupalcode.org/project/ezcontent_api/-/commits/8.x
If you have any feedback / issues / feature requests, please open a new issue.
I am adding credits to you on the issue #3128795: Drupal 9 Readiness
Keep Contributing !!
Comment #12
vaibhavjain