Problem/Motivation

drupal-check results on commit hash: 20fdaef13659716b1965309f710f58442b8c20c2



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

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

 ------ --------------------------------------------------------------------------- 
  Line   tests/src/Functional/TempStorageTest.php                                   
 ------ --------------------------------------------------------------------------- 
  56     Call to deprecated method getUsername() of class Drupal\user\Entity\User.  
  60     Call to deprecated method getUsername() of class Drupal\user\Entity\User.  
  64     Call to deprecated method getUsername() of class Drupal\user\Entity\User.  
  71     Call to deprecated method getUsername() of class Drupal\user\Entity\User.  
  76     Call to deprecated method getUsername() of class Drupal\user\Entity\User.  
 ------ --------------------------------------------------------------------------- 

 ------ --------------------------------------------------------- 
  Line   tests/src/Unit/Integration/RulesIntegrationTestBase.php  
 ------ --------------------------------------------------------- 
  209    Fetching class constant class of deprecated class        
         Drupal\Core\Entity\EntityManagerInterface.               
 ------ --------------------------------------------------------- 

 ------ --------------------------------------------------- 
  Line   tests/src/Unit/RulesActionBaseTest.php             
 ------ --------------------------------------------------- 
  49     Fetching class constant class of deprecated class  
         Drupal\Core\StringTranslation\TranslationWrapper.  
 ------ --------------------------------------------------- 

 [ERROR] Found 9 errors                                                                   

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

CommentFileSizeAuthor
#3 deprecated.patch4.21 KBtr

Comments

mcdwayne created an issue. See original summary.

tr’s picture

Status: Active » Postponed (maintainer needs more info)

So are you going to provide a patch? The only things that needs changing are the getUsername() methods and the TranslationWrapper.

tr’s picture

Status: Postponed (maintainer needs more info) » Needs review
StatusFileSize
new4.21 KB

  • TR committed 3f7e627 on 8.x-3.x
    Issue #3042662 by TR: Drupal 9 Deprecated Code Report
    
tr’s picture

Status: Needs review » Fixed

Committed.

Status: Fixed » Closed (fixed)

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