I have used drupal-check and found this error

Line src/Form/AddLocation.php
------ -------------------------------------------------------------------------
86 Call to deprecated function db_insert():
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 insert() on it. For example,
97 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/EditLocation.php
------ -------------------------------------------------------------------------
41 Call to deprecated function db_select():
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 select() on it. For example,
101 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,
113 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/GoogleMapList.php
------ -------------------------------------------------------------------------
38 Call to deprecated function db_select():
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 select() on it. For example,
------ -------------------------------------------------------------------------

------ -------------------------------------------------------------------------
Line src/Form/MapLocationDelete.php
------ -------------------------------------------------------------------------
38 Call to deprecated function db_select():
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 select() on it. For example,
79 Call to deprecated function db_delete():
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 delete() on it. For example,
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 9 errors
patch for change after finding with drupal check

CommentFileSizeAuthor
#2 drupal-9-compatible.patch8.64 KBpriyanshucs0094

Comments

priyanshucs0094 created an issue. See original summary.

priyanshucs0094’s picture

Issue summary: View changes
StatusFileSize
new8.64 KB
priyanshucs0094’s picture

Assigned: priyanshucs0094 » Unassigned
Status: Active » Needs review

b n pandey’s picture

Version: 8.x-1.x-dev » 8.x-2.x-dev
Assigned: Unassigned » b n pandey
Status: Needs review » Closed (outdated)

We have removed all deprecated code in new release.