5/5 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%

------ ----------------------------------------------------------------------
Line bulk_invite.install
------ ----------------------------------------------------------------------
32 Call to deprecated function db_create_table():
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,
get
its schema driver, and call createTable() on it. For example,
------ ----------------------------------------------------------------------

------ ----------------------------------------------------------------------
Line src/Controller/UsersInvitedController.php
------ ----------------------------------------------------------------------
127 Call to deprecated function drupal_set_message():
in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
130 Call to deprecated function drupal_set_message():
in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
169 Call to deprecated function drupal_set_message():
in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
174 Call to deprecated function drupal_set_message():
in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
------ ----------------------------------------------------------------------

------ ----------------------------------------------------------------------
Line src/Form/BulkInviteForm.php
------ ----------------------------------------------------------------------
75 Call to deprecated function drupal_set_message():
in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
80 Call to deprecated function drupal_set_message():
in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
82 Call to deprecated function drupal_set_message():
in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
------ ----------------------------------------------------------------------

[ERROR] Found 8 errors

Comments

joy29 created an issue. See original summary.

rudranil29’s picture

StatusFileSize
new4.41 KB

patch for drupal 9 compatibility

rudranil29’s picture

Assigned: rudranil29 » Unassigned
Status: Active » Needs review
rudranil29’s picture

Assigned: Unassigned » rudranil29
StatusFileSize
new4.58 KB
rudranil29’s picture

Assigned: rudranil29 » Unassigned
rudranil29’s picture

Assigned: Unassigned » rudranil29
StatusFileSize
new4.42 KB

I added some improvement of my above patch

rudranil29’s picture

Assigned: rudranil29 » Unassigned
gnuget’s picture

Status: Needs review » Needs work

Pretty much the same as in the other issue, No need to inject the messenger in the controllers, the trait is already in the ControllerBase class.

rudranil29’s picture

Assigned: Unassigned » rudranil29
rudranil29’s picture

StatusFileSize
new2.86 KB

thanks I follow your instruction.. and made changes in patches

rudranil29’s picture

Status: Needs work » Needs review

  • gnuget committed b711431 on 8.x-1.x authored by joy29
    Issue #3070762 by joy29, gnuget: Drupal 9 Deprecated Code Report
    
gnuget’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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