php drupal-check.phar modules/contrib/background_image/
30/30 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
------ ----------------------------------------------------------------
Line src/BackgroundImageManager.php
------ ----------------------------------------------------------------
201 Call to deprecated function file_unmanaged_delete_recursive().
------ ----------------------------------------------------------------
------ -------------------------------------------------------------------------------
Line src/Controller/BackgroundImageCssController.php
------ -------------------------------------------------------------------------------
122 Call to deprecated function drupal_dirname().
123 Call to deprecated function file_prepare_directory().
198 Call to deprecated method substr() of class Drupal\Component\Utility\Unicode.
237 Call to deprecated function file_prepare_directory().
238 Call to deprecated function file_unmanaged_save_data().
243 Call to deprecated function file_unmanaged_save_data().
301 Call to deprecated function file_stream_wrapper_valid_scheme().
------ -------------------------------------------------------------------------------
------ ------------------------------------------------
Line src/Entity/BackgroundImage.php
------ ------------------------------------------------
631 Call to deprecated method l() of class Drupal.
------ ------------------------------------------------
------ ---------------------------------------------------
Line src/Form/BackgroundImageForm.php
------ ---------------------------------------------------
799 Call to deprecated function drupal_set_message().
802 Call to deprecated function drupal_set_message().
859 Call to deprecated function drupal_set_message().
864 Call to deprecated function drupal_set_message().
------ ---------------------------------------------------
[ERROR] Found 13 errors | Comment | File | Size | Author |
|---|---|---|---|
| #6 | 3092133-6.patch | 16.48 KB | markhalliwell |
Comments
Comment #2
sergiu stici commentedHere's the patch, please review.
Comment #3
basvredeling#2 looks mostly good. I've added a few missing deprecation fixes and changed the order of the use statements to be alphabetical.
Comment #4
markhalliwellComment #5
markhalliwellComment #6
markhalliwell