Drupal 9 Deprecated Code Report

Created on 27 May 2020, about 4 years ago
Updated 22 January 2023, over 1 year ago
root@cf89fe457f2a:/var/www/html# dc -d modules/contrib/google_calendar_service 
 24/24 [â–“â–“â–“â–“â–“â–“â–“â–“â–“â–“â–“â–“â–“â–“â–“â–“â–“â–“â–“â–“â–“â–“â–“â–“â–“â–“â–“â–“] 100%

 ------ ---------------------------------------------------------------------------------- 
  Line   src/CalendarEventListBuilder.php                                                  
 ------ ---------------------------------------------------------------------------------- 
  44     Call to deprecated method urlInfo() of class Drupal\Core\Entity\EntityInterface:  
         in drupal:8.0.0 and is removed from drupal:9.0.0.                                 
         Use \Drupal\Core\Entity\EntityInterface::toUrl() instead.                         
  51     Call to deprecated method urlInfo() of class Drupal\Core\Entity\EntityInterface:  
         in drupal:8.0.0 and is removed from drupal:9.0.0.                                 
         Use \Drupal\Core\Entity\EntityInterface::toUrl() instead.                         
 ------ ---------------------------------------------------------------------------------- 

 ------ ------------------------------------------------------------------------- 
  Line   src/CalendarImport.php                                                   
 ------ ------------------------------------------------------------------------- 
  252    Call to deprecated function db_delete():                                 
         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 delete() on it. For example,                                        
 ------ ------------------------------------------------------------------------- 

 ------ ---------------------------------------------------------------------------------- 
  Line   src/CalendarListBuilder.php                                                       
 ------ ---------------------------------------------------------------------------------- 
  48     Call to deprecated method urlInfo() of class Drupal\Core\Entity\EntityInterface:  
         in drupal:8.0.0 and is removed from drupal:9.0.0.                                 
         Use \Drupal\Core\Entity\EntityInterface::toUrl() instead.                         
  57     Call to deprecated method urlInfo() of class Drupal\Core\Entity\EntityInterface:  
         in drupal:8.0.0 and is removed from drupal:9.0.0.                                 
         Use \Drupal\Core\Entity\EntityInterface::toUrl() instead.                         
 ------ ---------------------------------------------------------------------------------- 

 ------ ------------------------------------------------------------------- 
  Line   src/Form/CalendarDeleteForm.php                                    
 ------ ------------------------------------------------------------------- 
  29     Call to deprecated function entity_delete_multiple():              
         in drupal:8.0.0 and is removed from drupal:9.0.0. Use              
         the entity storage's delete() method to delete multiple entities:  
 ------ ------------------------------------------------------------------- 

 ------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 
  Line   src/Form/CalendarEventDeleteForm.php                                                                                                                                                              
 ------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 
  39     Parameter $entity_manager of method Drupal\google_calendar_service\Form\CalendarEventDeleteForm::__construct() has typehint with deprecated interface Drupal\Core\Entity\EntityManagerInterface:  
         in drupal:8.0.0 and is removed from drupal:9.0.0.                                                                                                                                                 
 ------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 

 ------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 
  Line   src/Form/CalendarEventForm.php                                                                                                                                                              
 ------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 
  62     Parameter $entity_manager of method Drupal\google_calendar_service\Form\CalendarEventForm::__construct() has typehint with deprecated interface Drupal\Core\Entity\EntityManagerInterface:  
         in drupal:8.0.0 and is removed from drupal:9.0.0.                                                                                                                                           
  62     Parameter $tempstore of method Drupal\google_calendar_service\Form\CalendarEventForm::__construct() has typehint with deprecated class Drupal\user\PrivateTempStoreFactory:                 
         in drupal:8.5.0 and is removed from drupal:9.0.0.                                                                                                                                           
         Use \Drupal\Core\TempStore\PrivateTempStoreFactory instead.                                                                                                                                 
 ------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 

 ------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 
  Line   src/Form/CalendarForm.php                                                                                                                                                              
 ------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 
  49     Parameter $entity_manager of method Drupal\google_calendar_service\Form\CalendarForm::__construct() has typehint with deprecated interface Drupal\Core\Entity\EntityManagerInterface:  
         in drupal:8.0.0 and is removed from drupal:9.0.0.                                                                                                                                      
 ------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 

                                            

Also, Add core_version_requirement: ^8 || ^9 to info.yml

💬 Support request
Status

Fixed

Version

1.1

Component

Code

Created by

🇮🇳India himanshu_sindhwani

Live updates comments and jobs are added and updated live.
  • Needs manual testing

    The change/bugfix cannot be fully demonstrated by automated testing, and thus requires manual testing in a variety of environments.

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.69.0 2024