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 the $event parameter in \Drupal\automatic_updates\Updater::getExclusions doesn't have a type which can cause an error in the getExclusions code as anything can be passed to this function.

Proposed resolution

Change the type of $event parameter in \Drupal\automatic_updates\Updater::getExclusions to UpdateEvent.

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

Issue summary: View changes

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

  • tedbow committed c25a043 on 8.x-2.x authored by kunal.sachdev
    Issue #3238714 by kunal.sachdev: Change type of $event parameter in \...
tedbow’s picture

Status: Active » Fixed

Looks great!

Status: Fixed » Closed (fixed)

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