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!
CommentFileSizeAuthor
#13 3352313-13.patch2.74 KBchaitanyadessai
#8 3352313.patch1.34 KBprabuela
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

Akshay kashyap created an issue. See original summary.

akshay kashyap’s picture

Issue summary: View changes
avpaderno’s picture

Title: Drupal Coding Standard As Per 'Drupal-check'. » Fix the issues reported by drupal-check
Version: 3.3.0 » 3.x-dev
Category: Bug report » Task
Issue summary: View changes
avpaderno’s picture

The Relying on entity queries to check access by default is deprecated errors have been already reported in #3338408: Resolve access check errors for D10 compatibility, which has a patch.

prabuela’s picture

Assigned: Unassigned » prabuela
prabuela’s picture

Assigned: prabuela » Unassigned
prabuela’s picture

Assigned: Unassigned » prabuela
prabuela’s picture

StatusFileSize
new1.34 KB
prabuela’s picture

Assigned: prabuela » Unassigned
avpaderno’s picture

Status: Active » Needs work

Alina Basarabeanu made their first commit to this issue’s fork.

chaitanyadessai’s picture

Status: Needs work » Needs review
StatusFileSize
new2.74 KB

Adding Patch.

marcoliver made their first commit to this issue’s fork.

marcoliver’s picture

I updated the MR from #12, incorporated the changes from #8 and worked on the rest of the reported issues.

drupal-check now shows me no errors!

japerry’s picture

Status: Needs review » Closed (outdated)