drupal-check results on commit hash:
source : [git] https://git.drupal.org/project/checklistapi 8c2928a836ef43a255e9fd82c5dab7cc7ec4cd5c
source : http://cgit.drupalcode.org/checklistapi

 ------ -------------------------------------------------- 
  Line   checklistapi.drush.inc                            
 ------ -------------------------------------------------- 
  146    Call to deprecated function format_date().        
  147    Call to deprecated method getUsername() of class  
         Drupal\user\Entity\User.                          
 ------ -------------------------------------------------- 

 ------ --------------------------------------------------- 
  Line   src/ChecklistapiChecklist.php                      
 ------ --------------------------------------------------- 
  124    Call to deprecated method substr() of class        
         Drupal\Component\Utility\Unicode.                  
  147    Call to deprecated function drupal_set_message().  
  181    Call to deprecated method getUsername() of class   
         Drupal\user\Entity\User.                           
  197    Call to deprecated function format_date().         
  311    Call to deprecated function drupal_set_message().  
 ------ --------------------------------------------------- 

 ------ --------------------------------------------------- 
  Line   src/Controller/ChecklistapiController.php          
 ------ --------------------------------------------------- 
  46     Call to deprecated function drupal_placeholder().  
  46     Call to deprecated method l() of class             
         Drupal\Core\Controller\ControllerBase.             
 ------ --------------------------------------------------- 

 ------ --------------------------------------------------- 
  Line   src/Form/ChecklistapiChecklistForm.php             
 ------ --------------------------------------------------- 
  87     Call to deprecated function format_date().         
  88     Call to deprecated method getUsername() of class   
         Drupal\user\Entity\User.                           
  107    Call to deprecated method l() of class Drupal.     
  159    Call to deprecated function drupal_set_message().  
 ------ --------------------------------------------------- 

 [ERROR] Found 13 errors                                                    
 
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mcdwayne created an issue. See original summary.

TravisCarden’s picture

Title: Drupal 9 Deprecated Code Report » Update deprecated code
Issue summary: View changes

Thank you very kindly, @mcdwayne. How nice to see someone from Pantheon in my queue. :) If you're interested in commit credit, I would be very happy to review a patch. If not--I appreciate the report--I'll get to it when I'm able to.

Sergiu Stici’s picture

Status: Active » Needs review
FileSize
6.77 KB

Here is the patch, please review.

TravisCarden’s picture

FileSize
3.62 KB

Nicely done, @Sergiu Stici--thanks! Committing with a few changes. (See interdiff.txt.)

TravisCarden’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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