Problem/Motivation

 ------ --------------------------------------------------------- 
  Line   src/Controller/DisplayLinkController.php                 
 ------ --------------------------------------------------------- 
  97     Call to deprecated function views_embed_view():          
         in drupal:11.4.0 and is removed from drupal:13.0.0. Use  
           '#type' => 'view' render elements instead.             
         🪪  function.deprecated                                  
  101    Call to deprecated function views_embed_view():          
         in drupal:11.4.0 and is removed from drupal:13.0.0. Use  
           '#type' => 'view' render elements instead.             
         🪪  function.deprecated                                  
 ------ --------------------------------------------------------- 

 ------ --------------------------------------------------------- 
  Line   src/Controller/ReportController.php                      
 ------ --------------------------------------------------------- 
  133    Call to deprecated function views_embed_view():          
         in drupal:11.4.0 and is removed from drupal:13.0.0. Use  
           '#type' => 'view' render elements instead.             
         🪪  function.deprecated                                  
  140    Call to deprecated function views_embed_view():          
         in drupal:11.4.0 and is removed from drupal:13.0.0. Use  
           '#type' => 'view' render elements instead.             
         🪪  function.deprecated                                  
 ------ --------------------------------------------------------- 

 ------ ------------------------------------------------------------------------------ 
  Line   src/Hook/CounterHooks.php                                                     
 ------ ------------------------------------------------------------------------------ 
  25     \Drupal calls should be avoided in classes, use dependency injection instead  
         🪪  globalDrupalDependencyInjection.useDependencyInjection                    
  28     \Drupal calls should be avoided in classes, use dependency injection instead  
         🪪  globalDrupalDependencyInjection.useDependencyInjection                    
  30     \Drupal calls should be avoided in classes, use dependency injection instead  
         🪪  globalDrupalDependencyInjection.useDependencyInjection                    
  33     \Drupal calls should be avoided in classes, use dependency injection instead  
         🪪  globalDrupalDependencyInjection.useDependencyInjection                    
  58     \Drupal calls should be avoided in classes, use dependency injection instead  
         🪪  globalDrupalDependencyInjection.useDependencyInjection                    
 ------ ------------------------------------------------------------------------------ 

 ------ ------------------------------------------------------------------------------ 
  Line   src/Hook/CronHooks.php                                                        
 ------ ------------------------------------------------------------------------------ 
  19     \Drupal calls should be avoided in classes, use dependency injection instead  
         🪪  globalDrupalDependencyInjection.useDependencyInjection                    
 ------ ------------------------------------------------------------------------------ 

 ------ ------------------------------------------------------------------------------ 
  Line   src/Hook/PageAttachmentsHooks.php                                             
 ------ ------------------------------------------------------------------------------ 
  19     \Drupal calls should be avoided in classes, use dependency injection instead  
         🪪  globalDrupalDependencyInjection.useDependencyInjection                    
 ------ ------------------------------------------------------------------------------ 

 ------ ------------------------------------------------------------------------------ 
  Line   src/Hook/SearchHooks.php                                                      
 ------ ------------------------------------------------------------------------------ 
  26     \Drupal calls should be avoided in classes, use dependency injection instead  
         🪪  globalDrupalDependencyInjection.useDependencyInjection                    
  46     \Drupal calls should be avoided in classes, use dependency injection instead  
         🪪  globalDrupalDependencyInjection.useDependencyInjection                    
 ------ ------------------------------------------------------------------------------ 

 ------ ------------------------------------------------------------------------------ 
  Line   src/Hook/ThemeHooks.php                                                       
 ------ ------------------------------------------------------------------------------ 
  48     \Drupal calls should be avoided in classes, use dependency injection instead  
         🪪  globalDrupalDependencyInjection.useDependencyInjection                    
  54     \Drupal calls should be avoided in classes, use dependency injection instead  
         🪪  globalDrupalDependencyInjection.useDependencyInjection                    
 ------ ------------------------------------------------------------------------------ 

 ------ ------------------------------------------------------------------------------ 
  Line   src/Hook/TokenHooks.php                                                       
 ------ ------------------------------------------------------------------------------ 
  38     \Drupal calls should be avoided in classes, use dependency injection instead  
         🪪  globalDrupalDependencyInjection.useDependencyInjection                    
  50     \Drupal calls should be avoided in classes, use dependency injection instead  
         🪪  globalDrupalDependencyInjection.useDependencyInjection                    
  51     \Drupal calls should be avoided in classes, use dependency injection instead  
         🪪  globalDrupalDependencyInjection.useDependencyInjection                    
  58     \Drupal calls should be avoided in classes, use dependency injection instead  
         🪪  globalDrupalDependencyInjection.useDependencyInjection                    
  69     \Drupal calls should be avoided in classes, use dependency injection instead  
         🪪  globalDrupalDependencyInjection.useDependencyInjection                    
 ------ ------------------------------------------------------------------------------ 

 ------ ------------------------------------------------------------------------------ 
  Line   src/Hook/UserHooks.php                                                        
 ------ ------------------------------------------------------------------------------ 
  25     \Drupal calls should be avoided in classes, use dependency injection instead  
         🪪  globalDrupalDependencyInjection.useDependencyInjection                    
  37     \Drupal calls should be avoided in classes, use dependency injection instead  
         🪪  globalDrupalDependencyInjection.useDependencyInjection                    
 ------ ------------------------------------------------------------------------------ 

 ------ ------------------------------------------------------------------------------ 
  Line   src/Hook/ViewsHooks.php                                                       
 ------ ------------------------------------------------------------------------------ 
  28     \Drupal calls should be avoided in classes, use dependency injection instead  
         🪪  globalDrupalDependencyInjection.useDependencyInjection                    
  30     \Drupal calls should be avoided in classes, use dependency injection instead  
         🪪  globalDrupalDependencyInjection.useDependencyInjection                    
 ------ ------------------------------------------------------------------------------ 

 ------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 
  Line   tests/src/Kernel/HookUpdate30000Test.php                                                                                                                                        
 ------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 
  222    Avoid calling Symfony\Component\Yaml\Yaml::parse() directly. Use \Drupal\Component\Serialization\Yaml::decode() instead, which handles exceptions consistently and applies the  
         correct parse flags.                                                                                                                                                            
         🪪  drupal.symfonyYamlParse                                                                                                                                                     
 ------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 

 ------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 
  Line   tests/src/Kernel/Plugin/Block/PopularContentTest.php                                                                                                                            
 ------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 
  59     Avoid calling Symfony\Component\Yaml\Yaml::parse() directly. Use \Drupal\Component\Serialization\Yaml::decode() instead, which handles exceptions consistently and applies the  
         correct parse flags.                                                                                                                                                            
         🪪  drupal.symfonyYamlParse                                                                                                                                                     
 ------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 

 ------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 
  Line   tests/src/Kernel/Plugin/Block/VisitorsOnlineTest.php                                                                                                                            
 ------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 
  61     Avoid calling Symfony\Component\Yaml\Yaml::parse() directly. Use \Drupal\Component\Serialization\Yaml::decode() instead, which handles exceptions consistently and applies the  
         correct parse flags.                                                                                                                                                            
         🪪  drupal.symfonyYamlParse                                                                                                                                                     
 ------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 

 ------ ----------------------------------------------------------------------------------------------------------------------------------------------------------- 
  Line   tests/src/Unit/Plugin/views/field/VisitorsCounterTimestampTest.php                                                                                         
 ------ ----------------------------------------------------------------------------------------------------------------------------------------------------------- 
  79     Storing entity storage as a class property is not recommended. Call Drupal\Core\Entity\EntityTypeManagerInterface::getStorage() at the call-site instead.  
         🪪  drupal.entityStoragePropertyAssignment                                                                                                                 
         💡  See https://mglaman.dev/blog/dependency-injection-anti-patterns-drupal                                                                                 
 ------ ----------------------------------------------------------------------------------------------------------------------------------------------------------- 

 ------ ----------------------------------------------------------------------------------------- 
  Line   visitors.post_update.php                                                                 
 ------ ----------------------------------------------------------------------------------------- 
         File /var/www/html/web/modules/custom/visitors/visitors.post_update.php does not exist.  
         🪪  phpstan.path (non-ignorable)                                                         
 ------ ----------------------------------------------------------------------------------------- 

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork visitors-3637754

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

bluegeek9 created an issue. See original summary.

bluegeek9’s picture

Assigned: bluegeek9 » Unassigned
Status: Active » Fixed
//www.flaticon.com/free-icons/thank-you Thank you for your contribution! Your continued support makes this project sustainable.
There are multiple ways to show appreciation, including:
  • Triage issues and adding more context to existing issues.
  • Writing documentation or patches for this project.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.