Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Issue fork automatic_updates-3238717
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
Comment #3
kunal.sachdev CreditAttribution: kunal.sachdev commentedComment #4
tedbowComment #5
kunal.sachdev CreditAttribution: kunal.sachdev commentedComment #8
tedbow