php drupal-check.phar modules/contrib/bee/
 14/14 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%

 ------ ------------------------------------------------------------ 
  Line   bee.module                                                  
 ------ ------------------------------------------------------------ 
  283    Call to deprecated function drupal_set_message().           
  286    Call to deprecated function drupal_set_message().           
  289    Call to deprecated function drupal_set_message().           
  365    Call to deprecated method entityManager() of class Drupal.  
  386    Call to deprecated method entityManager() of class Drupal.  
 ------ ------------------------------------------------------------ 

 ------ -------------------------------------------------------------------------------------- 
  Line   modules/bee_webform/bee_webform.module                                                
 ------ -------------------------------------------------------------------------------------- 
  54     Call to deprecated function node_load().                                              
  145    Call to deprecated function drupal_set_message().                                     
  151    Call to deprecated function drupal_set_message().                                     
  302    Call to deprecated method checkPlain() of class Drupal\Component\Utility\SafeMarkup.  
  302    Call to method checkPlain() of deprecated class Drupal\Component\Utility\SafeMarkup.  
  369    Call to deprecated function node_load().                                              
 ------ -------------------------------------------------------------------------------------- 

 ------ ------------------------------------------------------------------------------------------ 
  Line   modules/bee_webform/src/Element/WebformBeeReservationForm.php                             
 ------ ------------------------------------------------------------------------------------------ 
         Class Drupal\webform\Element\WebformCompositeBase not found and could not be autoloaded.  
 ------ ------------------------------------------------------------------------------------------ 

 ------ -------------------------------------------------------------------------------------------------------- 
  Line   modules/bee_webform/src/Plugin/WebformElement/WebformBeeReservationForm.php                             
 ------ -------------------------------------------------------------------------------------------------------- 
         Class Drupal\webform\Plugin\WebformElement\WebformCompositeBase not found and could not be autoloaded.  
 ------ -------------------------------------------------------------------------------------------------------- 

 ------ --------------------------------------------------- 
  Line   src/BeePermissions.php                             
 ------ --------------------------------------------------- 
  44     Call to deprecated function entity_get_bundles().  
 ------ --------------------------------------------------- 

 ------ ------------------------------------------------------------ 
  Line   src/Form/AddReservationForm.php                             
 ------ ------------------------------------------------------------ 
  209    Call to deprecated method entityManager() of class Drupal.  
  253    Call to deprecated function drupal_set_message().           
 ------ ------------------------------------------------------------ 

 ------ --------------------------------------------------- 
  Line   src/Form/UpdateAvailabilityForm.php                
 ------ --------------------------------------------------- 
  271    Call to deprecated function drupal_set_message().  
  327    Call to deprecated function drupal_set_message().  
 ------ --------------------------------------------------- 

 ------ ---------------------------------------------------------------------------------------------------- 
  Line   src/Resolvers/SalepriceResolver.php                                                                 
 ------ ---------------------------------------------------------------------------------------------------- 
  16     Class Drupal\commerce_price\Resolver\PriceResolverInterface not found and could not be autoloaded.  
 ------ ---------------------------------------------------------------------------------------------------- 

                                                                                                                        
 [ERROR] Found 19 errors                 
CommentFileSizeAuthor
#2 deprecated-3072110-2.patch8.63 KBsergiu stici

Comments

Sergiu Stici created an issue. See original summary.

sergiu stici’s picture

Status: Active » Needs review
StatusFileSize
new8.63 KB

Here is the patch, please review.

  • nicola85 committed 891869f on 8.x-1.x
    Issue #3072110 by Sergiu Stici: Replace deprecated code
    

acrollet credited nicola85.

acrollet’s picture

Status: Needs review » Fixed

committed, thanks for the contribution!

Status: Fixed » Closed (fixed)

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