Closed (fixed)
Project:
Drupal core
Version:
10.1.x-dev
Component:
base system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
1 Dec 2022 at 13:40 UTC
Updated:
15 Jan 2023 at 22:46 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #3
spokjeAttached out of
vendor/bin/phpstan analyze --configuration=core/phpstan.neon.dist --xdebug --no-ansiwith lvl 2 before and after applying the MR.Comment #4
spokjeLet's not mess with copied Doctrine code for now.
Comment #5
spokjeHmm, that looks like a known random JS test failure.
Putting this on NR and ordering retest.
Comment #6
mondrakeNice cleanup. Just one quirk, then it's RTBC for me.
Comment #7
mondrakeUsual random javascrpti test failure? Retesting and RTBCing. Only PHPDoc changes.
Comment #9
longwaveCommitted to 10.1.x and backported to 10.0.x and 9.5.x to keep API docs in sync.
Committed and pushed 85eeb1bde1 to 10.1.x and 18e211cc79 to 10.0.x and d2cc35b992 to 9.5.x. Thanks!
Comment #13
tr commentedAt least one of the changes in this patch is wrong:
This should be
LanguageInterface|nulland not justLanguage.I opened an issue for this problem with the "language" datatype definition a year ago in #3264592: Core 'language' datatype has wrong @var types.
I would appreciate some eyes on that because the commit here did not fix the problem and just made more work for me.