Closed (fixed)
Project:
Drupal core
Version:
9.5.x-dev
Component:
configuration system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
1 Nov 2022 at 20:14 UTC
Updated:
16 Nov 2022 at 17:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
andypostFail and fix patches
Comment #3
andypostComment #4
andypostComment #6
alexpottI think you can change way less logic by doing...
Plus we should update the @param to say it accepts string|callable rather then string|array
Comment #7
andypostIts already written in phpdoc
@param string|callable $sync_stepHere's 2 patches:
- 10.x could use faster approach for callables (since PHP 8.1 first-class callables are recommended for that)
- 9.x needs to use Closure in test and just change condition
Comment #8
alexpottI like the change to positive logic and we've got test coverage so +1
Comment #11
catchCommitted/cherry-picked the respective patches to 10.1.x, 10.0.x 9.5.x, thanks!