Problem/Motivation

in #3236299: User should not be allowed to do update if it is from minor version to another minor version we found that at some places \Drupal::service is used instead of dependency injection. As dependency injection is the preferred method for accessing and using services in Drupal it should be used wherever possible.

Proposed resolution

Replace the uses of \Drupal::service with dependency injection in ReadinessValidationManager wherever possible.

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:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

kunal.sachdev created an issue. See original summary.

kunal.sachdev’s picture

Status: Active » Needs review
tedbow’s picture

Status: Needs review » Needs work
kunal.sachdev’s picture

Status: Needs work » Needs review

  • tedbow committed 678df7e on 8.x-2.x authored by kunal.sachdev
    Issue #3238717 by kunal.sachdev, phenaproxima: Replace the uses of \...

tedbow’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.