Problem/Motivation

Running drupal-check on the module getting the list of errors including next:

 ------ ------------------------------------------------------------------------- 
  Line   high_contrast.install                                                    
 ------ ------------------------------------------------------------------------- 
  30     Call to deprecated function db_query():                                  
         in drupal:8.0.0 and is removed from drupal:9.0.0. Instead,               
         get a database connection injected into your service from the container  
         and call query() on it. . For example,
         $injected_database->query($query, $args, $options);                               
 ------ ------------------------------------------------------------------------- 

Proposed resolution

See https://www.drupal.org/node/2993033

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

Comments

andralex created an issue. See original summary.

andralex’s picture

Issue summary: View changes
andralex’s picture

andralex’s picture

Status: Active » Closed (cannot reproduce)

The issue reported by mistake. It was run drupal-check on 7.x branch instead.

pifagor’s picture

Status: Closed (cannot reproduce) » Fixed
pifagor’s picture

Status: Fixed » Closed (fixed)