- Issue created by @mondrake
- last update
over 1 year ago 29,670 pass, 13 fail - @mondrake opened merge request.
- last update
over 1 year ago 29,778 pass, 5 fail - last update
over 1 year ago 29,836 pass, 1 fail - last update
over 1 year ago 29,885 pass - Issue was unassigned.
- Status changed to Needs review
over 1 year ago 2:14pm 27 July 2023 - 🇬🇧United Kingdom catch
hmm when we added this, Symfony was triggering this message for all sorts of code that had no intention of adding a return type hint, just because it had @return docblock. So I am a bit surprised that there are so few explicit ones needed now. But... maybe there's been an upstream change, and we can always change things to make them a bit looser again.
- 🇬🇧United Kingdom catch
in individual followups try to fix each dependency
I think this will be hard for some - Symfony adds the warning only based on documentation, there is no extra flag to trigger a deprecation error - i.e. it's not like the commented out method parameters where you have to do something explicit. This was by design on their part to essentially nudge everyone into using strict return types, but it's very annoying.
However we might still be able some individual messages, even if it means adding return type hints to our own code that aren't already added in upstream code, so yeah worth a try.
- Status changed to RTBC
over 1 year ago 10:46pm 30 July 2023 - 🇺🇸United States smustgrave
If I'm understanding correctly from the conversation this has sign off. Should follow ups be opened before merging or handled as they come up?
- last update
over 1 year ago 29,900 pass, 1 fail - 🇬🇧United Kingdom longwave UK
Overall I think this is a good change and tightens up our code; we should be adding types everywhere anyway! We should add these return types in followups, even if upstream has no intention of actually doing so. The Behat, Composer and Doctrine cases should be trivial as it seems unlikely anyone is extending these in custom code.
Twig is more likely to add the types in future, and probably needs a bit more thought - we might have to suppress the deprecation for some specific core classes and let the deprecation cascade to downstream users, and then add the return types finally in Drupal 11?
- 🇬🇧United Kingdom catch
Yeah I think it's worth adding what we can and worst case we end up with a shorter list, best case an empty list.
- 🇮🇹Italy mondrake 🇮🇹
IMHO, it's good to have an explicit list, since that would highlight changes occurring to more dependencies should they come. But I am a bit scared on jumping and trying to fix them (well, maybe apart from the PHP ones), since they are only based on interpreting
@return
annotations upstream: if we lock that in our typehints, and later for any reason dependencies change it to anything else (which could happen), then we may end up in TypeErrors. - last update
over 1 year ago 29,946 pass - last update
over 1 year ago 29,946 pass 38:08 34:04 Running- last update
over 1 year ago 29,953 pass - last update
over 1 year ago 29,958 pass - last update
over 1 year ago 29,958 pass - last update
over 1 year ago 29,957 pass, 1 fail - last update
about 1 year ago 29,959 pass - last update
about 1 year ago 30,044 pass - last update
about 1 year ago 30,051 pass - last update
about 1 year ago 30,056 pass - last update
about 1 year ago 30,055 pass, 1 fail - 🇳🇿New Zealand quietone
I'm triaging RTBC issues → .
I didn't find anything here that needs work, leaving at RTBC.
- last update
about 1 year ago 30,060 pass - last update
about 1 year ago 30,060 pass - last update
about 1 year ago 30,098 pass - last update
about 1 year ago 30,134 pass - last update
about 1 year ago 30,135 pass - last update
about 1 year ago 30,124 pass, 2 fail - last update
about 1 year ago 30,136 pass - last update
about 1 year ago 30,146 pass - last update
about 1 year ago 30,147 pass, 1 fail - Status changed to Fixed
about 1 year ago 9:07pm 12 September 2023 -
longwave →
committed c5b3bf7b on 11.x
Issue #3377356 by mondrake, catch, longwave: Make DebugClassLoader...
-
longwave →
committed c5b3bf7b on 11.x
Automatically closed - issue fixed for 2 weeks with no activity.