Problem/Motivation
#3122763: Replaced deprecated method for drush_log and drush_delete_dir() introduced a change which doesn't use dependency injection, but static service call instead.
$this->renderer is already present, file_url_generator service has to be injected in src/PhotoswipePreprocessProcessor.php
Proposed resolution
Use DI and write a test to ensure functionality isn't broken.
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork photoswipe-3270715
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 #4
grevil commentedFixed!
Comment #5
anybodyVery well done, thanks @Grevil!