drupal-check against pdfpreview-8.x-1.x-dev (4 Jul 2018)
------ ------------------------------------------------------------
Line src/PDFPreviewGenerator.php
------ ------------------------------------------------------------
146 Call to deprecated method addArgument() of class
Drupal\imagemagick\Plugin\ImageToolkit\ImagemagickToolkit.
147 Call to deprecated method addArgument() of class
Drupal\imagemagick\Plugin\ImageToolkit\ImagemagickToolkit.
148 Call to deprecated method addArgument() of class
Drupal\imagemagick\Plugin\ImageToolkit\ImagemagickToolkit.
149 Call to deprecated method addArgument() of class
Drupal\imagemagick\Plugin\ImageToolkit\ImagemagickToolkit.
151 Call to deprecated method setDestinationFormat() of class
Drupal\imagemagick\Plugin\ImageToolkit\ImagemagickToolkit.
154 Call to deprecated method setDestinationFormat() of class
Drupal\imagemagick\Plugin\ImageToolkit\ImagemagickToolkit.
156 Call to deprecated method setSourceFormat() of class
Drupal\imagemagick\Plugin\ImageToolkit\ImagemagickToolkit.
157 Call to deprecated method setSourceLocalPath() of class
Drupal\imagemagick\Plugin\ImageToolkit\ImagemagickToolkit.
------ ------------------------------------------------------------
------ ---------------------------------------------------------
Line src/Plugin/Field/FieldFormatter/PDFPreviewFormatter.php
------ ---------------------------------------------------------
100 Call to deprecated method urlInfo() of class
Drupal\Core\Entity\EntityInterface.
------ ---------------------------------------------------------
[ERROR] Found 9 errors
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | pdfpreview-fix-deprications-3052005-8-D8.patch | 2.49 KB | e.bogatyrev |
| #5 | pdfpreview-3052005-5.patch | 597 bytes | Snehal Brahmbhatt |
| #3 | pdfpreview-fix-depricated-methods-3052005.patch | 1.51 KB | brandonratz |
Comments
Comment #2
waverate commentedComment #3
brandonratz commentedFixes method compatibility for use with ImageMagick 3.x
Comment #4
waverate commentedPatch at #3 fixes deprecated ImageMagick methods. However, there is still a deprecated method urlInfo().
Comment #5
Snehal Brahmbhatt commented@waverate, Please find the below-attached patch, & let me know your views for the same.
thanks!.
Comment #6
waverate commented@snehal.addweb. Patch at #5 fixes the deprecated method urlInfo(). Can you please re-roll the patch to include patch #3?
Comment #7
waverate commentedComment #8
e.bogatyrevHi @waverate, all,
I combined two patches above (#3, #5) into one and added fix for deprecated functions
Please review.
Thanks
Comment #9
waverate commentedPatch at #8 applied without errors. drupal-check returns:
Thank you @e.bogatyrev.
Comment #11
mstrelan commentedI made a few commits and forgot to credit everyone so adding a dummy commit as above and closing this issue. Thanks everyone!