Drupal 9 Deprecated Code Report

Created on 22 July 2019, over 5 years ago
Updated 23 October 2023, about 1 year ago

Problem/Motivation

drupal-check on version:
1a842425307643c0558890d11607136c616adf89

------ ------------------------------------------------------------------------------ 
  Line   src/Controller/MenuTwigController.php                                         
 ------ ------------------------------------------------------------------------------ 
  28     \Drupal calls should be avoided in classes, use dependency injection instead  
  40     Variable $data might not be defined.                                          
  66     \Drupal calls should be avoided in classes, use dependency injection instead  
 ------ ------------------------------------------------------------------------------ 

 ------ ----------------------------------------------------------- 
  Line   src/Twig/MenuTwigExtension.php                             
 ------ ----------------------------------------------------------- 
  21     Instantiation of deprecated class Twig_Function_Function:  
         since 1.12 (to be removed in 2.0)                          
  50     Class Drupal\menu_twig\Twig\Attribute not found.           
 ------ ----------------------------------------------------------- 
                                                                                                
 [ERROR] Found 5 errors                                                                                                                                                       
📌 Task
Status

Fixed

Version

1.0

Component

Code

Created by

🇺🇦Ukraine Ujin

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024