Drupal 9 compatibility issues, I will post a patch if someone doesn't beat me to it :)
drupal-check -ad web/modules/contrib/rrssb
11/11 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
------ -----------------------------------------------------------------------
Line includes/rrssb.drush.inc
------ -----------------------------------------------------------------------
13 Function rrssb_drush_command not found while trying to analyse it -
autoloading is probably not configured properly.
31 Function rrssb_drush_help not found while trying to analyse it -
autoloading is probably not configured properly.
41 Function drush_rrssb_post_pm_enable not found while trying to analyse
it - autoloading is probably not configured properly.
44 Function drush_rrssb_plugin not found.
51 Function drush_rrssb_plugin not found while trying to analyse it -
autoloading is probably not configured properly.
62 Call to deprecated function drush_log().
63 Call to deprecated function drush_delete_dir().
74 Function drush_download_file not found.
79 Function drush_tarball_extract not found.
92 Function drush_move_dir not found.
98 Call to deprecated function drush_log().
104 Function drush_rrssb_gen_css not found while trying to analyse it -
autoloading is probably not configured properly.
------ -----------------------------------------------------------------------
------ ------------------------------------------------------------
Line rrssb.install
------ ------------------------------------------------------------
85 Call to deprecated method entityManager() of class Drupal.
------ ------------------------------------------------------------
------ -----------------------------------------------------------------
Line rrssb.module
------ -----------------------------------------------------------------
180 Variable $rrssb might not be defined.
278 Variable $buttons in isset() always exists and is not nullable.
------ -----------------------------------------------------------------
------ ---------------------------------------------------
Line src/Form/RRSSBDeleteForm.php
------ ---------------------------------------------------
42 Call to deprecated function drupal_set_message().
------ ---------------------------------------------------
------ ----------------------------------------------------
Line src/Form/RRSSBSettingsForm.php
------ ----------------------------------------------------
24 Access to an undefined property
Drupal\rrssb\Form\RRSSBSettingsForm::$entityQuery.
266 Access to an undefined property
Drupal\rrssb\Form\RRSSBSettingsForm::$entityQuery.
------ ----------------------------------------------------
------ ----------------------------------------------------------------------
Line src/Plugin/Block/RRSSBBlock.php
------ ----------------------------------------------------------------------
25 \Drupal calls should be avoided in classes, use dependency injection
instead
------ ----------------------------------------------------------------------
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | deprecated-3057221-7.patch | 1.41 KB | sergiu stici |
| #3 | rrssb.drupal.9-3057221-3.patch | 2.57 KB | adamps |
Comments
Comment #2
goyalsushant commentedComment #3
adamps commentedI have just created an automatic test and this patch fixes the deprecation problems that prevent it from running cleanly. It will not fix everything - we can do a second commit later.
Comment #6
adamps commentedComment #7
sergiu stici commentedI found a few deprecated function.
Here is the patch, please review.
Comment #9
adamps commentedGreat thanks