- Issue created by @mondrake
- Status changed to Needs review
over 1 year ago 8:53am 23 April 2023 - last update
over 1 year ago 29,302 pass - 🇫🇷France andypost
Looks a good place to apply variadics!
It could use CR to notify module developers
- 🇬🇧United Kingdom catch
This looks like a good plan to me, and good to start using this technique for other issues eventually too.
- Status changed to Needs work
over 1 year ago 5:10pm 19 May 2023 - 🇺🇸United States smustgrave
Thanks @catch and @andypost
Moving to NW for the change record mentioned in #3
Can mark after that.
- last update
over 1 year ago 29,878 pass - @mondrake opened merge request.
- Status changed to Needs review
over 1 year ago 7:46pm 23 July 2023 - Status changed to Needs work
over 1 year ago 7:48pm 23 July 2023 - Status changed to Needs review
over 1 year ago 7:34am 24 July 2023 - 🇬🇧United Kingdom longwave UK
+++ b/core/.deprecation-ignore.txt @@ -10,12 +10,15 @@ +%FormBuilder::getForm\(\).* will require a new "mixed \.\.\. \$args" argument in the next major version of its interface% +%FormBuilder::submitForm\(\).* will require a new "mixed \.\.\. \$args" argument in the next major version of its interface%
Does the class name need to be fully qualified here?
In the case that someone has extended FormBuilder as
\Drupal\custom_module\FormBuilder
and swapped it in, I think this will match and accidentally skip the deprecation? We don't always add tests for this sort of thing any more, but this is new (to us) so maybe we should here. - last update
over 1 year ago 29,877 pass - Status changed to RTBC
over 1 year ago 5:24pm 24 July 2023 - 🇺🇸United States smustgrave
With CR added think this is good to add for 10.2
-
longwave →
committed 29dc14b2 on 11.x
Issue #3355839 by mondrake: Prepare FormBuilder for variadic functions
-
longwave →
committed 29dc14b2 on 11.x
- Status changed to Fixed
over 1 year ago 11:31am 26 July 2023 - 🇦🇺Australia larowlan 🇦🇺🏝.au GMT+10
Hi 👋
If the deprecation is ignored, will contrib and custom projects see it?Thanks
- last update
over 1 year ago 29,835 pass, 1 fail - 🇬🇧United Kingdom longwave UK
That's why I asked for the fully qualified class name in #11, as we can't implement this change in the core implementation yet, but all other users of the interface should be notified.
- 🇮🇹Italy mondrake 🇮🇹
Filed 📌 Make DebugClassLoader ignored deprecations more accurate Fixed for a possible follow-up.
- 🇬🇧United Kingdom catch
I missed the last week of progress here, but really nice to see this land and the first ever time we've been able to do this with the debug classloader doing what it's supposed to do!
Automatically closed - issue fixed for 2 weeks with no activity.