php drupal-check.phar modules/contrib/legal/
 20/20 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%

 ------ ---------------------------------------------------- 
  Line   legal.module                                        
 ------ ---------------------------------------------------- 
  294    Call to deprecated function drupal_get_messages().  
  299    Call to deprecated function drupal_set_message().   
  605    Call to deprecated function db_select().            
  674    Call to deprecated function db_select().            
  685    Call to deprecated function db_select().            
  714    Call to deprecated function db_select().            
  716    Call to deprecated function db_or().                
  718    Call to deprecated function db_and().               
  794    Call to deprecated function db_select().            
  810    Call to deprecated function db_select().            
  859    Call to deprecated function drupal_set_message().   
 ------ ---------------------------------------------------- 

 ------ --------------------------------------------------- 
  Line   src/Form/LegalAdminSettingsForm.php                
 ------ --------------------------------------------------- 
  89     Call to deprecated function drupal_set_message().  
 ------ --------------------------------------------------- 

 ------ --------------------------------------------------- 
  Line   src/Form/LegalAdminTermsForm.php                   
 ------ --------------------------------------------------- 
  404    Call to deprecated function drupal_set_message().  
 ------ --------------------------------------------------- 

 ------ -------------------------------------------------------------------------------------- 
  Line   src/Form/LegalLanguageSettings.php                                                    
 ------ -------------------------------------------------------------------------------------- 
  35     Call to deprecated method checkPlain() of class Drupal\Component\Utility\SafeMarkup.  
  35     Call to method checkPlain() of deprecated class Drupal\Component\Utility\SafeMarkup.  
  66     Call to deprecated function db_select().                                              
  77     Call to deprecated function db_select().                                              
  93     Call to deprecated function db_select().                                              
 ------ -------------------------------------------------------------------------------------- 

 ------ --------------------------------------------------------------------------- 
  Line   tests/src/Functional/LegalTestBase.php                                     
 ------ --------------------------------------------------------------------------- 
  83     Call to deprecated method getUsername() of class Drupal\user\Entity\User.  
 ------ --------------------------------------------------------------------------- 

 ------ -------------------------------------------- 
  Line   tests/src/Functional/PasswordResetTest.php  
 ------ -------------------------------------------- 
  29     Call to deprecated function db_update().    
 ------ -------------------------------------------- 

                                                                                                                        
 [ERROR] Found 20 errors
CommentFileSizeAuthor
#2 deprecated-3086697-2.patch8.95 KBsergiu stici

Comments

Sergiu Stici created an issue. See original summary.

sergiu stici’s picture

Status: Active » Needs review
StatusFileSize
new8.95 KB

Here is the patch, please review.

robert castelo’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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