4/4 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%

------ -------------------------------------------------------------------------
Line mob_queue.drush.inc
------ -------------------------------------------------------------------------
49 Call to deprecated function db_update():
as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Instead, get
a database connection injected into your service from the container and
call update() on it. For example,
65 Call to deprecated function drupal_set_time_limit():
in Drupal 8.7.0 and will be removed before Drupal 9.0.0. Use
\Drupal\Core\Environment::setTimeLimit() instead.
------ -------------------------------------------------------------------------

[ERROR] Found 2 errors

CommentFileSizeAuthor
#2 mob_queue-3075796-1.patch1.02 KBrudranil29

Comments

joy29 created an issue. See original summary.

rudranil29’s picture

StatusFileSize
new1.02 KB

patch for drupal 9 compatibility

rudranil29’s picture

Assigned: rudranil29 » Unassigned
Status: Active » Needs review
wuinfo - bill wu’s picture

Status: Needs review » Needs work

After applying the patch, I got the following error when executing the Drush command.

"Error: Class 'Drupal\Core\Environment' not found in
/Users/admin/Sites/devdesktop/drupal-8.1.1.a/modules/mob_queue/mob_queue.drush.inc, line 66 "

rudranil29’s picture

You are running outdated drush please install .. please check drush version 9.5-dev

rudranil29’s picture

Status: Needs work » Needs review
kristen pol’s picture

Issue tags: +Drupal 9 compatibility

Per a Slack discussion with Gábor Hojtsy regarding usage of D9 tags (Drupal 9, Drupal 9 compatibility, Drupal 9 readiness, etc.), "Drupal 9 compatibility" should be used for contributed projects that need updating and "Drupal 9" was the old tag for D8 issues before the D9 branch was ready. Doing tag cleanup here based on that discussion.

  • wuinfo committed 3451fab on 8.x-1.x authored by joy29
    Issue #3075796 by joy29: Drupal 9 Deprecated Code Report
    
wuinfo - bill wu’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.