Fix the issues reported by drupal-check

Created on 5 April 2023, over 1 year ago
Updated 2 August 2024, 5 months ago

vendor/mglaman/drupal-check/drupal-check modules/admin_toolbar/

------ ----------------------------------------------------------------------- 
  Line   admin_toolbar_search/src/SearchLinks.php                               
 ------ ----------------------------------------------------------------------- 
  123    Relying on entity queries to check access by default is deprecated in  
         drupal:9.2.0 and an error will be thrown from drupal:10.0.0. Call      
         \Drupal\Core\Entity\Query\QueryInterface::accessCheck() with TRUE or   
         FALSE to specify whether access should be checked.                     
         ๐Ÿ’ก See https://www.drupal.org/node/3201242                             
 ------ ----------------------------------------------------------------------- 

 ------ -------------------------------------------------------------------------------- 
  Line   admin_toolbar_search/tests/src/FunctionalJavascript/AdminToolbarSearchTest.php  
 ------ -------------------------------------------------------------------------------- 
  25     Call to an undefined method                                                     
         Drupal\Tests\WebAssert::waitForElementVisible().                                
  26     Call to an undefined method                                                     
         Drupal\Tests\WebAssert::waitForElementVisible().                                
  27     Call to an undefined method                                                     
         Drupal\Tests\WebAssert::waitForElementVisible().                                
 ------ -------------------------------------------------------------------------------- 

 ------ ------------------------------------------------------------------------------------- 
  Line   admin_toolbar_search/tests/src/FunctionalJavascript/AdminToolbarToolsSearchTest.php  
 ------ ------------------------------------------------------------------------------------- 
  118    Call to an undefined method                                                          
         Drupal\Tests\WebAssert::waitForElementVisible().                                     
  119    Call to an undefined method                                                          
         Drupal\Tests\WebAssert::waitForElementVisible().                                     
  120    Call to an undefined method                                                          
         Drupal\Tests\WebAssert::waitForElementVisible().                                     
  173    Call to an undefined method                                                          
         Drupal\Tests\WebAssert::waitForElementVisible().                                     
  177    Call to an undefined method                                                          
         Drupal\Tests\WebAssert::waitForElementVisible().                                     
  203    Call to an undefined method                                                          
         Drupal\Tests\WebAssert::waitForElementVisible().                                     
  212    Call to an undefined method                                                          
         Drupal\Tests\WebAssert::waitForElementVisible().                                     
 ------ ------------------------------------------------------------------------------------- 

 ------ ----------------------------------------------------------------------- 
  Line   admin_toolbar_tools/src/Plugin/Derivative/ExtraLinks.php               
 ------ ----------------------------------------------------------------------- 
  114    Relying on entity queries to check access by default is deprecated in  
         drupal:9.2.0 and an error will be thrown from drupal:10.0.0. Call      
         \Drupal\Core\Entity\Query\QueryInterface::accessCheck() with TRUE or   
         FALSE to specify whether access should be checked.                     
         ๐Ÿ’ก See https://www.drupal.org/node/3201242                             
 ------ ----------------------------------------------------------------------- 

 [ERROR] Found 12 errors                                                        

Thanks for using drupal-check!
๐Ÿ“Œ Task
Status

Closed: outdated

Version

3.0

Component

Code

Created by

๐Ÿ‡ฎ๐Ÿ‡ณIndia Akshay kashyap

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024