------ ---------------------------------------------------------------------- 
  Line   src/BlockUploadBuild.php                                              
 ------ ---------------------------------------------------------------------- 
  83     Call to deprecated function file_prepare_directory():                 
         in Drupal 8.7.0, will be removed before Drupal 9.0.0.                 
         Use \Drupal\Core\File\FileSystemInterface::prepareDirectory().        
  96     Call to deprecated function file_delete():                            
         in Drupal 8.7.0, will be removed before Drupal 9.0.0.                 
         Use \Drupal\Core\Entity\EntityStorageInterface::delete() instead.     
  103    Call to deprecated function drupal_set_message():                     
         in Drupal 8.5.0 and will be removed before Drupal 9.0.0.              
         Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.  
 ------ ---------------------------------------------------------------------- 

 ------ ---------------------------------------------------------------------- 
  Line   src/Form/BlockUploadForm.php                                          
 ------ ---------------------------------------------------------------------- 
  155    Call to deprecated function drupal_set_message():                     
         in Drupal 8.5.0 and will be removed before Drupal 9.0.0.              
         Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.  
 ------ ---------------------------------------------------------------------- 

 ------ ---------------------------------------------------------------------- 
  Line   src/Form/BlockUploadPluploadForm.php                                  
 ------ ---------------------------------------------------------------------- 
  120    Call to deprecated function file_prepare_directory():                 
         in Drupal 8.7.0, will be removed before Drupal 9.0.0.                 
         Use \Drupal\Core\File\FileSystemInterface::prepareDirectory().        
  125    Call to deprecated function file_unmanaged_move():                    
         in Drupal 8.7.0, will be removed before Drupal 9.0.0.                 
         Use \Drupal\Core\File\FileSystemInterface::move().                    
  135    Call to deprecated function drupal_set_message():                     
         in Drupal 8.5.0 and will be removed before Drupal 9.0.0.              
         Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.  
 ------ ---------------------------------------------------------------------- 

                                                                                                                        
 [ERROR] Found 7 errors

Comments

adci_contributor created an issue. See original summary.

adci_contributor’s picture

Title: Depricated code report » Deprecated code report

adci_contributor’s picture

Status: Active » Fixed

Deprecated code was eliminated.

Status: Fixed » Closed (fixed)

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