Closed (fixed)
Project:
Drupal core
Version:
10.0.x-dev
Component:
image system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
12 Feb 2022 at 20:31 UTC
Updated:
1 Mar 2022 at 19:59 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
andypostonly 2
Comment #4
andypostComment #5
daffie commentedLooks good to me.
Comment #7
catchCommitted 22859f8 and pushed to 10.0.x. Thanks!
Comment #8
mondrakeThis has caused an off-synch of the PHPStan baseline,
Running PHPStan on *all* files.
------ --------------------------------------------------------------------------------
Line core/modules/media/src/Plugin/Field/FieldFormatter/MediaThumbnailFormatter.php
------ --------------------------------------------------------------------------------
62 Method
Drupal\image\Plugin\Field\FieldFormatter\ImageFormatter::__construct(
) invoked with 9 parameters, 10 required.
------ --------------------------------------------------------------------------------
Comment #9
andypostThe follow-up, nice catch!
Comment #10
andypostI think it better to rollback as new argument needs deprecation notice https://www.drupal.org/about/core/policies/core-change-policies/drupal-d...
Comment #11
spokjeBlocking D10 removal patch in #3227033-110: Remove Quick Edit from core (See https://www.drupal.org/pift-ci-job/2319582)
Since that issue has Priority Major, bumping this to major as well.
Comment #12
catchWait I think that is fixed by #3255887: MediaThumbnailFormatter => Calling ImageFormatter::__construct() without the $file_url_generator argument is deprecated in drupal:9.3.0, which I just committed to 10.0.x (and will be backported to 9.4.x and 9.4.x), so we might not need to roll back here.
Comment #13
spokjeIndeed fixed by #3255887: MediaThumbnailFormatter => Calling ImageFormatter::__construct() without the $file_url_generator argument is deprecated in drupal:9.3.0, back to Normal again.
Comment #14
andypostit's already fixed in 10.0.x