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

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

joy29 created an issue. See original summary.

joy29’s picture

joy29’s picture

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

joy29’s picture

Assigned: joy29 » Unassigned
joy29’s picture

I added some improvement of my above patch

joy29’s picture

Assigned: joy29 » 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.

joy29’s picture

Assigned: Unassigned » joy29
joy29’s picture

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

joy29’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.