Needs review
Project:
Trending Images
Version:
8.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
31 Mar 2020 at 11:51 UTC
Updated:
16 Sep 2020 at 08:02 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
ankithashettyReplaced all deprecated code in the following patch. Please review the same.
Thank You.
Comment #3
ankithashettyUpdated the patch from #2. Please review the new patch attached below.
Comment #4
meghasharma commentedComment #5
meghasharma commentedComment #6
meghasharma commentedhave fixed coding standard errors.
ran rector tools on tranding images module: no errors reported
Comment #7
meghasharma commentedComment #8
msutharsComment #9
msuthars@meghasharma Please fix these issues also.
Upgrade Status Report
--------------------------------------------------------------------------------
Trending Images
1 error found.
modules/contrib/trending_images/src/Plugin/Field/FieldFormatter/TrendingImagesFormatter.php:
┌─────────────────────────────────────────────────────----┐
│ STATUS │ LINE │ MESSAGE │
├─────────────────────────────────────────────────────----┤
│ Fix now │ 86 │ Call to deprecated method getStorage() of class │
│ │ │Drupal\Core\Entity\EntityManager. Deprecated in drupal:8.0.0 │
│ │ │ and is removed from drupal:9.0.0. Use │
│ │ │ Drupal\Core\Entity\EntityTypeManagerInterface::getStorage() │
│ │ │ instead. │
│ │ │ │
└────────────────────────────────────────────────────────┘
modules/contrib/trending_images/src/TrendingImagesService.php:
┌───────────────────────────────────────────────────────┐
│ STATUS │ LINE │ MESSAGE │
├───────────────────────────────────────────────────────┤
│ Ignore │ 107 │ Call to deprecated method isSubclassOf() of class │
│ │ │ Drupal\Core\Entity\EntityTypeInterface. Deprecated in │
│ │ │ drupal:8.3.0 and is removed from drupal:10.0.0. Use │
│ │ │ Drupal\Core\Entity\EntityTypeInterface::entityClassImplement │
│ │ │ s() instead. │
│ │ │ │
└────────────────────────────────────────────────────────┘
Comment #10
karishmaamin commentedFixed issue mentioned in #9, please review