The following issues were returned by drupal-check.

 $ drupal-check .
 37/37 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%

 ------ --------------------------------------------------------------------------
  Line   adva.module
 ------ --------------------------------------------------------------------------
  45     Call to deprecated method entityManager() of class Drupal:
         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.
  92     Call to deprecated function drupal_set_message():
         in drupal:8.5.0 and is removed from drupal:9.0.0.
         Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
 ------ --------------------------------------------------------------------------

 ------ ----------------------------------------------------------------------
  Line   src/AccessStorage.php
 ------ ----------------------------------------------------------------------
  297    Call to deprecated function drupal_set_time_limit():
         in drupal:8.7.0 and is removed from drupal:9.0.0. Use
         \Drupal\Component\Utility\Environment::setTimeLimit() instead.
  319    Call to deprecated function drupal_set_message():
         in drupal:8.5.0 and is removed from drupal:9.0.0.
         Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
 ------ ----------------------------------------------------------------------

 ------ ----------------------------------------------------------------------
  Line   src/Form/SettingsForm.php
 ------ ----------------------------------------------------------------------
  240    Call to deprecated function drupal_set_message():
         in drupal:8.5.0 and is removed from drupal:9.0.0.
         Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
 ------ ----------------------------------------------------------------------

 ------ -------------------------------------------------------------------------------------------
  Line   src/Plugin/adva/ReferenceAccessProvider.php
 ------ -------------------------------------------------------------------------------------------
  237    Call to deprecated method isSubclassOf() of class Drupal\Core\Entity\EntityTypeInterface:
         in drupal:8.3.0 and is removed from drupal:9.0.0.
         Use Drupal\Core\Entity\EntityTypeInterface::entityClassImplements()
         instead.
 ------ -------------------------------------------------------------------------------------------


 [ERROR] Found 6 errors
CommentFileSizeAuthor
#2 3110143-2.patch5.27 KBrichgerdes

Comments

richgerdes created an issue. See original summary.

richgerdes’s picture

Title: Drupal 9 Depricated Code Report » Drupal 9 Deprecated Code Report
Status: Active » Needs review
StatusFileSize
new5.27 KB

Attached patch removes the deprecated code.

  • richgerdes committed fc281d7 on 8.x-1.x
    Issue #3110143 by richgerdes: Drupal 9 Deprecated Code Report
    
richgerdes’s picture

Status: Needs review » Fixed

Patch has been committed.

$ drupal-check .
 37/37 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%

 [OK] No errors

Status: Fixed » Closed (fixed)

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