- Issue created by @spokje
- last update
over 1 year ago 30,060 pass - @spokje opened merge request.
- Status changed to Needs review
over 1 year ago 6:16am 27 August 2023 - ๐ณ๐ฑNetherlands spokje
Since there's no usage of both
supports()
in core currently, I believe we don't need a deprecation test for this one? - ๐ฎ๐นItaly mondrake ๐ฎ๐น
Being
final
classes, maybe we can just remove the methods? - ๐ณ๐ฑNetherlands spokje
Would love that and it makes sense, but there currently doesn't seem to be any ruling on that in https://www.drupal.org/about/core/policies/core-change-policies/drupal-d... โ
Maybe this could be the issue to enhance that?
- Status changed to RTBC
over 1 year ago 8:44am 27 August 2023 - ๐ฌ๐งUnited Kingdom catch
I think argument resolvers would be covered under @internal insofar as they're equivalent to plugins and controllers and therefore not explicitly named. However also I think it's easier to deprecate + remove when in doubt same as we do for constructors unless something particularly makes that difficult.
- Status changed to Needs work
over 1 year ago 8:48am 27 August 2023 - ๐ฎ๐นItaly mondrake ๐ฎ๐น
Second thinking, itโs not just about extending classes but also about potential direct calls to the methods in these classes. So letโs deprecate - but now with PHPStan doing the check for calls, I think we should do the
@deprecate
and@see
dance in the docblocks. - last update
over 1 year ago 30,060 pass - Status changed to Needs review
over 1 year ago 4:55pm 27 August 2023 - ๐ณ๐ฑNetherlands spokje
Ironic, and absolutely right, thanks @mondrake
- Status changed to RTBC
over 1 year ago 5:24pm 27 August 2023 - Status changed to Fixed
over 1 year ago 7:05am 28 August 2023 - ๐ณ๐ฑNetherlands spokje
Added "Introduced in version" in CR.
Should it be published now or when 10.2.0 ships?
Automatically closed - issue fixed for 2 weeks with no activity.