php drupal-check.phar modules/contrib/http_response_headers/
 8/8 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%

 ------ ------------------------------------------------------------ 
  Line   http_response_headers.install                               
 ------ ------------------------------------------------------------ 
  59     Call to deprecated method entityManager() of class Drupal.  
 ------ ------------------------------------------------------------ 

 ------ ------------------------------------------------------------------------------------- 
  Line   src/Controller/ResponseHeaderListBuilder.php                                         
 ------ ------------------------------------------------------------------------------------- 
  26     Call to deprecated method getLabel() of class Drupal\Core\Entity\EntityListBuilder.  
 ------ ------------------------------------------------------------------------------------- 

 ------ --------------------------------------------------- 
  Line   src/Form/ResponseHeaderDeleteForm.php              
 ------ --------------------------------------------------- 
  41     Call to deprecated function drupal_set_message().  
 ------ --------------------------------------------------- 

 ------ --------------------------------------------------- 
  Line   src/Form/ResponseHeaderForm.php                    
 ------ --------------------------------------------------- 
  102    Call to deprecated function drupal_set_message().  
  107    Call to deprecated function drupal_set_message().  
 ------ --------------------------------------------------- 

                                                                                                                        
 [ERROR] Found 5 errors 
CommentFileSizeAuthor
#2 deprecated-3083515-2.patch2.73 KBsergiu stici

Comments

Sergiu Stici created an issue. See original summary.

sergiu stici’s picture

Status: Active » Needs review
StatusFileSize
new2.73 KB

Here is the patch, please review.

vijaycs85’s picture

Status: Needs review » Fixed

Thanks @Sergiu Stici. drupal-check after this patch:

8/8 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%

[OK] No errors

Status: Fixed » Closed (fixed)

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