------ ------------------------------------------------ 
  Line   simple_amp.install                              
 ------ ------------------------------------------------ 
  61     Call to deprecated function db_table_exists().  
 ------ ------------------------------------------------ 

 ------ ------------------------------------------ 
  Line   src/AmpBase.php                           
 ------ ------------------------------------------ 
  108    Call to deprecated function db_insert().  
  117    Call to deprecated function db_delete().  
  124    Call to deprecated function db_select().  
 ------ ------------------------------------------ 

 ------ ---------------------------------------------------------------------------------------------------------------------------------------------- 
  Line   src/Controller/AmpController.php                                                                                                              
 ------ ---------------------------------------------------------------------------------------------------------------------------------------------- 
         Class Drupal\simple_amp\Controller\AMPController was not found while trying to analyse it - autoloading is probably not configured properly.  
 ------ ---------------------------------------------------------------------------------------------------------------------------------------------- 

                                                                                                                        
 [ERROR] Found 5 errors
CommentFileSizeAuthor
#3 deprecated-3084586-2.patch1.37 KBsergiu stici

Comments

Sergiu Stici created an issue. See original summary.

minnur’s picture

Thanks for the report. Those functions will be deprecated in Drupal 9 , not in Drupal 8 so it is good to have those in there for now, but definitely I will changes in the near future.

sergiu stici’s picture

Status: Active » Needs review
StatusFileSize
new1.37 KB

Here's the patch, please review.

  • minnur committed 88b6ae1 on 8.x-1.x
    Issue #3086923 by Lilit_Ghazaryan: Drupal 9 Deprecated Code report....
minnur’s picture

Thanks for the patch.

minnur’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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