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 the constructor of the UpdateProcessor class, the type for the argument $key_value_expirable_factory is KeyValueFactoryInterface whereas there is a KeyValueExpirableFactoryInterface
Proposed resolution
Change the type to KeyValueExpirableFactoryInterface $key_value_expirable_factory
Release notes snippet
Changed the type of $key_value_expirable_factory of UpdateProcessor to KeyValueExpirableFactoryInterface from KeyValueFactoryInterface
Comment | File | Size | Author |
---|
Issue fork drupal-3239471
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 #2
gbaudoin CreditAttribution: gbaudoin at Swissquote commentedComment #5
longwaveLots of test failures, it looks like there is a missing
use
statement.Comment #6
yogeshmpawarWorking on the patch.
Comment #7
yogeshmpawarAdded patch which will resolve test failures.
Comment #11
gbaudoin CreditAttribution: gbaudoin at Swissquote commentedThanks @yogeshmpawar, I'm trying to see what is the process to add your patch to my merge request.
Comment #12
longwaveThe MR looks correct to me and the tests pass as expected.
Comment #13
catchSomething going on with the MR - the raw diff has a lot of unrelated changes. https://git.drupalcode.org/project/drupal/-/merge_requests/1246.diff
Comment #14
yogeshmpawarHi @catch - I have rebased #1246 this MR with 9.3.x & so it is now ready to review & merge.
Raw diff showing related changes now - https://git.drupalcode.org/project/drupal/-/merge_requests/1246.diff
Comment #15
longwaveComment #17
catchCommitted 9b9fcd7 and pushed to 9.3.x. Thanks!