Drupal 9 Compatibility

Created on 23 May 2020, over 4 years ago
Updated 1 December 2023, about 1 year ago
6/6 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%


================================================================================
User revision,  8.8.5
Scanned on Sat, 05/23/2020 - 17:16

FILE: web/modules/contrib/user_revision/src/Access/UserRevisionAccessCheck.php

STATUS         LINE                           MESSAGE
--------------------------------------------------------------------------------
Fix now        37   Parameter $entity_manager of method
                    Drupal\user_revision\Access\UserRevisionAccessCheck::__const
                    ruct() has typehint with deprecated interface
                    Drupal\Core\Entity\EntityManagerInterface. Deprecated in
                    drupal:8.0.0 and is removed from drupal:9.0.0.
--------------------------------------------------------------------------------

FILE: web/modules/contrib/user_revision/src/Controller/UserController.php

STATUS         LINE                           MESSAGE
--------------------------------------------------------------------------------
Check manually 57   Call to deprecated method entityManager() of class
                    Drupal\Core\Controller\ControllerBase. Deprecated in
                    drupal:8.0.0 and is removed from drupal:9.0.0. Most of the
                    time static::entityTypeManager() is supposed to be used
                    instead.
--------------------------------------------------------------------------------
Check manually 58   Call to deprecated method entityManager() of class
                    Drupal\Core\Controller\ControllerBase. Deprecated in
                    drupal:8.0.0 and is removed from drupal:9.0.0. Most of the
                    time static::entityTypeManager() is supposed to be used
                    instead.
--------------------------------------------------------------------------------
Fix now        84   Call to deprecated method link() of class
                    Drupal\Core\Entity\EntityInterface. Deprecated in
                    drupal:8.0.0 and is removed from drupal:9.0.0. Use
                    Drupal\Core\EntityInterface::toLink()->toString() instead.
--------------------------------------------------------------------------------
Fix now        87   Call to deprecated method l() of class
                    Drupal\Core\Controller\ControllerBase. Deprecated in
                    drupal:8.0.0 and is removed from drupal:9.0.0. Use
                    \Drupal\Core\Link::fromTextAndUrl() instead.
--------------------------------------------------------------------------------
Check manually 97   Call to deprecated function drupal_render(). Deprecated in
                    drupal:8.0.0 and is removed from drupal:9.0.0. Use the
--------------------------------------------------------------------------------
Check manually 172  Call to deprecated method entityManager() of class
                    Drupal\Core\Controller\ControllerBase. Deprecated in
                    drupal:8.0.0 and is removed from drupal:9.0.0. Most of the
                    time static::entityTypeManager() is supposed to be used
                    instead.
--------------------------------------------------------------------------------
Check manually 177  Call to deprecated method entityManager() of class
                    Drupal\Core\Controller\ControllerBase. Deprecated in
                    drupal:8.0.0 and is removed from drupal:9.0.0. Most of the
                    time static::entityTypeManager() is supposed to be used
                    instead.
--------------------------------------------------------------------------------
Check manually 191  Call to deprecated method entityManager() of class
                    Drupal\Core\Controller\ControllerBase. Deprecated in
                    drupal:8.0.0 and is removed from drupal:9.0.0. Most of the
                    time static::entityTypeManager() is supposed to be used
                    instead.
--------------------------------------------------------------------------------
Check manually 192  Call to deprecated function format_date(). Deprecated in
                    drupal:8.0.0 and is removed from drupal:9.0.0. Use
                    Drupal::service('date.formatter')->format().
--------------------------------------------------------------------------------

FILE: web/modules/contrib/user_revision/src/Form/UserRevisionDeleteForm.php

STATUS         LINE                           MESSAGE
--------------------------------------------------------------------------------
Fix now        47   Call to deprecated method getStorage() of class
                    Drupal\Core\Entity\EntityManager. Deprecated in drupal:8.0.0
                    and is removed from drupal:9.0.0. Use
                    Drupal\Core\Entity\EntityTypeManagerInterface::getStorage()
                    instead.
--------------------------------------------------------------------------------
Check manually 62   Call to deprecated function format_date(). Deprecated in
                    drupal:8.0.0 and is removed from drupal:9.0.0. Use
                    Drupal::service('date.formatter')->format().
--------------------------------------------------------------------------------
Check manually 97   Call to deprecated function drupal_set_message(). Deprecated
                    in drupal:8.5.0 and is removed from drupal:9.0.0. Use
                    Drupal\Core\Messenger\MessengerInterface::addMessage()
                    instead.
--------------------------------------------------------------------------------
Check manually 97   Call to deprecated function format_date(). Deprecated in
                    drupal:8.0.0 and is removed from drupal:9.0.0. Use
                    Drupal::service('date.formatter')->format().
--------------------------------------------------------------------------------

FILE: web/modules/contrib/user_revision/src/Form/UserRevisionRevertForm.php

STATUS         LINE                           MESSAGE
--------------------------------------------------------------------------------
Fix now        46   Call to deprecated method getStorage() of class
                    Drupal\Core\Entity\EntityManager. Deprecated in drupal:8.0.0
                    and is removed from drupal:9.0.0. Use
                    Drupal\Core\Entity\EntityTypeManagerInterface::getStorage()
                    instead.
--------------------------------------------------------------------------------
Check manually 61   Call to deprecated function format_date(). Deprecated in
                    drupal:8.0.0 and is removed from drupal:9.0.0. Use
                    Drupal::service('date.formatter')->format().
--------------------------------------------------------------------------------
Check manually 108  Call to deprecated function format_date(). Deprecated in
                    drupal:8.0.0 and is removed from drupal:9.0.0. Use
                    Drupal::service('date.formatter')->format().
--------------------------------------------------------------------------------
Check manually 112  Call to deprecated function drupal_set_message(). Deprecated
                    in drupal:8.5.0 and is removed from drupal:9.0.0. Use
                    Drupal\Core\Messenger\MessengerInterface::addMessage()
                    instead.
--------------------------------------------------------------------------------
Check manually 112  Call to deprecated function format_date(). Deprecated in
                    drupal:8.0.0 and is removed from drupal:9.0.0. Use
                    Drupal::service('date.formatter')->format().
--------------------------------------------------------------------------------

FILE: web/modules/contrib/user_revision/user_revision.install

STATUS         LINE                           MESSAGE
--------------------------------------------------------------------------------
Check manually 21   Call to deprecated method entityManager() of class Drupal.
                    Deprecated in drupal:8.0.0 and is removed from drupal:9.0.0.
                    Use Drupal::entityTypeManager() instead in most cases. If
                    the needed method is not on
                    \Drupal\Core\Entity\EntityTypeManagerInterface, see the
                    deprecated \Drupal\Core\Entity\EntityManager to find the
                    correct interface or service.
--------------------------------------------------------------------------------
Check manually 32   Call to deprecated method entityManager() of class Drupal.
                    Deprecated in drupal:8.0.0 and is removed from drupal:9.0.0.
                    Use Drupal::entityTypeManager() instead in most cases. If
                    the needed method is not on
                    \Drupal\Core\Entity\EntityTypeManagerInterface, see the
                    deprecated \Drupal\Core\Entity\EntityManager to find the
                    correct interface or service.
--------------------------------------------------------------------------------

FILE: web/modules/contrib/user_revision/user_revision.module

STATUS         LINE                           MESSAGE
--------------------------------------------------------------------------------
Check manually 290  Call to deprecated method entityManager() of class Drupal.
                    Deprecated in drupal:8.0.0 and is removed from drupal:9.0.0.
                    Use Drupal::entityTypeManager() instead in most cases. If
                    the needed method is not on
                    \Drupal\Core\Entity\EntityTypeManagerInterface, see the
                    deprecated \Drupal\Core\Entity\EntityManager to find the
                    correct interface or service.
--------------------------------------------------------------------------------
Check manually 291  Call to deprecated function db_query(). Deprecated in
                    drupal:8.0.0 and is removed from drupal:9.0.0. Instead, get
                    a database connection injected into your service from the
                    container and call query() on it. For example,
--------------------------------------------------------------------------------
Check manually 304  Call to deprecated method entityManager() of class Drupal.
                    Deprecated in drupal:8.0.0 and is removed from drupal:9.0.0.
                    Use Drupal::entityTypeManager() instead in most cases. If
                    the needed method is not on
                    \Drupal\Core\Entity\EntityTypeManagerInterface, see the
                    deprecated \Drupal\Core\Entity\EntityManager to find the
                    correct interface or service.
--------------------------------------------------------------------------------
Check manually 305  Call to deprecated function db_query(). Deprecated in
                    drupal:8.0.0 and is removed from drupal:9.0.0. Instead, get
                    a database connection injected into your service from the
                    container and call query() on it. For example,
--------------------------------------------------------------------------------

FILE: web/modules/contrib/user_revision/user_revision.info.yml

STATUS         LINE                           MESSAGE
--------------------------------------------------------------------------------
Check manually 0    Add <code>core_version_requirement: ^8 || ^9 to
                    user_revision.info.yml to designate that the module is
                    compatible with Drupal 9. See
                    https://drupal.org/node/3070687.
--------------------------------------------------------------------------------
📌 Task
Status

Fixed

Version

1.0

Component

Code

Created by

🇮🇳India ashutosh.mishra

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024