php drupal-check.phar modules/contrib/migration_tools/
 44/44 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%

 ------ --------------------------------------------------------------------------------------- 
  Line   src/Plugin/migrate_plus/data_parser/Dom.php                                            
 ------ --------------------------------------------------------------------------------------- 
         Class Drupal\migrate_plus\DataParserPluginBase not found and could not be autoloaded.  
 ------ --------------------------------------------------------------------------------------- 

 ------ ------------------------------------------ 
  Line   src/Redirects.php                         
 ------ ------------------------------------------ 
  479    Call to deprecated function file_load().  
 ------ ------------------------------------------ 

 ------ ------------------------------------------------------------------------------- 
  Line   src/StringTools.php                                                            
 ------ ------------------------------------------------------------------------------- 
  847    Call to deprecated method strlen() of class Drupal\Component\Utility\Unicode.  
 ------ ------------------------------------------------------------------------------- 

 ------ ------------------------------------------ 
  Line   src/Url.php                               
 ------ ------------------------------------------ 
  154    Call to deprecated function node_load().  
 ------ ------------------------------------------ 

                                                                                                                        
 [ERROR] Found 4 errors 
CommentFileSizeAuthor
#2 deprecated-3082237-2.patch1.68 KBsergiu stici

Comments

Sergiu Stici created an issue. See original summary.

sergiu stici’s picture

Status: Active » Needs review
StatusFileSize
new1.68 KB

Here's the patch, please review.

swirt’s picture

Status: Needs review » Reviewed & tested by the community

Thank you for your contribution Sergiu Stici. I had to make one change to remove the 'if' wrapper around `return mb_strlen($text)` as it is no longer needed due to your changes.

  • swirt committed 650a521 on 8.x-2.x authored by Sergiu Stici
    Issue #3082237 by Sergiu Stici, swirt: Deprecated Code Report
    
swirt’s picture

Status: Reviewed & tested by the community » Fixed
swirt’s picture

Status: Fixed » Closed (fixed)