Skip to content

replace deprecated constant REQUIREMENT_ERROR by RequirementSeverity::Error

💬 Description

replace deprecated constant REQUIREMENT_ERROR by RequirementSeverity::Error

🎟️ Issue(s)

 ------ ---------------------------------------------------------------- 
  Line   src/Controller/OverviewController.php                           
 ------ ---------------------------------------------------------------- 
  128    Fetching deprecated class constant REQUIREMENT_ERROR of class   
         Drupal\system\SystemManager:                                    
         in drupal:11.2.0 and is removed from drupal:12.0.0. Use         
          \Drupal\Core\Extension\Requirement\RequirementSeverity::Error  
         instead.                                                        
         🪪 classConstant.deprecated                                     
  142    Fetching deprecated class constant REQUIREMENT_ERROR of class   
         Drupal\system\SystemManager:                                    
         in drupal:11.2.0 and is removed from drupal:12.0.0. Use         
          \Drupal\Core\Extension\Requirement\RequirementSeverity::Error  
         instead.                                                        
         🪪 classConstant.deprecated                                     
  155    Fetching deprecated class constant REQUIREMENT_ERROR of class   
         Drupal\system\SystemManager:                                    
         in drupal:11.2.0 and is removed from drupal:12.0.0. Use         
          \Drupal\Core\Extension\Requirement\RequirementSeverity::Error  
         instead.                                                        
         🪪 classConstant.deprecated                                     
 ------ ---------------------------------------------------------------- 
  • Update the "Unreleased" section of the CHANGELOG.md with chan

Merge request reports

Loading