Currently the constructor of SvgImageFormatter uses the LoggerChannel object instead of the LoggerInterface. Therefore I created this patch that makes it more general to also allow different loggers.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | use_logger_interface-2954559-2.patch | 1.77 KB | timkruijsen |
Comments
Comment #2
timkruijsen commentedComment #3
pdenooijer commentedSeems like a good change!
Dependency inversion principle
Comment #4
imyaro commentedComment #6
imyaro commentedYes, change is pretty good. Applied.
Comment #7
pdenooijer commentedNice :)!
Comment #9
svenryen commentedThe fix in this issue was reverted by #2941795: Uninstalling module wipes out unrelated display configs.. See #3008518: Issue #2941795 reverted the code fix in #2954559 (LoggerInterface) for a fix.