php drupal-check.phar modules/contrib/ckeditor_uploadimage/
 11/11 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%

 ------ --------------------------------------------------- 
  Line   ckeditor_uploadimage.install                       
 ------ --------------------------------------------------- 
  28     Call to deprecated function drupal_get_profile().  
 ------ --------------------------------------------------- 

 ------ ------------------------------------------------------- 
  Line   src/Controller/CKEditorUploadImageController.php       
 ------ ------------------------------------------------------- 
  32     Call to deprecated function file_upload_max_size().    
  34     Call to deprecated function file_prepare_directory().  
  57     Call to deprecated function drupal_get_messages().     
 ------ ------------------------------------------------------- 

 ------ ----------------------------------------------------- 
  Line   src/Plugin/CKEditorPlugin/DrupalUploadImage.php      
 ------ ----------------------------------------------------- 
  91     Call to deprecated function file_upload_max_size().  
 ------ ----------------------------------------------------- 

 ------ ----------------------------------------------------- 
  Line   src/Plugin/CKEditorPlugin/DrupalUploadImageImce.php  
 ------ ----------------------------------------------------- 
  91     Call to deprecated function file_upload_max_size().  
 ------ ----------------------------------------------------- 

 ------ --------------------------------------------------- 
  Line   src/Plugin/CKEditorPlugin/FileTools.php            
 ------ --------------------------------------------------- 
  35     Call to deprecated function drupal_get_profile().  
  36     Call to deprecated function drupal_get_profile().  
 ------ --------------------------------------------------- 

 ------ --------------------------------------------------- 
  Line   src/Plugin/CKEditorPlugin/Notification.php         
 ------ --------------------------------------------------- 
  36     Call to deprecated function drupal_get_profile().  
  37     Call to deprecated function drupal_get_profile().  
 ------ --------------------------------------------------- 

 ------ ------------------------------------------------------ 
  Line   src/Plugin/CKEditorPlugin/NotificationAggregator.php  
 ------ ------------------------------------------------------ 
  35     Call to deprecated function drupal_get_profile().     
  36     Call to deprecated function drupal_get_profile().     
 ------ ------------------------------------------------------ 

 ------ --------------------------------------------------- 
  Line   src/Plugin/CKEditorPlugin/UploadImage.php          
 ------ --------------------------------------------------- 
  36     Call to deprecated function drupal_get_profile().  
  37     Call to deprecated function drupal_get_profile().  
 ------ --------------------------------------------------- 

 ------ --------------------------------------------------- 
  Line   src/Plugin/CKEditorPlugin/UploadWidget.php         
 ------ --------------------------------------------------- 
  35     Call to deprecated function drupal_get_profile().  
  36     Call to deprecated function drupal_get_profile().  
 ------ --------------------------------------------------- 

                                                                                                                        
 [ERROR] Found 16 errors 
CommentFileSizeAuthor
#2 deprecated-3095048-2.patch10.1 KBsergiu stici

Comments

Sergiu Stici created an issue. See original summary.

sergiu stici’s picture

Status: Active » Needs review
StatusFileSize
new10.1 KB

Here's the patch, please review.

  • arpeggio committed af9d41f on 8.x-1.x
    Issue #3095048 by arpeggio:  Refactor changed deprecated codes
    
arpeggio’s picture

Status: Needs review » Fixed

@Sergiu Stici I have already pushed your patch. Thank you for sharing it.

  • arpeggio committed 7fcd0e1 on 8.x-1.x
    Issue #3095048 by arpeggio: Revert to assign this changes as new branch
    

Status: Fixed » Closed (fixed)

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