Closed (fixed)
Project:
Drupal core
Version:
9.1.x-dev
Component:
phpunit
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
5 Dec 2020 at 08:43 UTC
Updated:
10 Jun 2021 at 12:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
mondrakeThe PHP script I developed for automated conversion, and an initial patch.
Comment #4
mondrakeFixes and manually removing/adjusting deprecation stuff.
Comment #5
longwaveThe script looks good and the manual fixes are trivial. However, this already needs a reroll and will almost certainly need scheduling as it's going to be disruptive to basically every functional test patch currently in the queue.
Comment #6
paulocsPatch rerolled.
Comment #7
daffie commentedComment #8
longwaveScheduled for the middle of the beta window for 9.2.0. This gives time for 9.2.0-beta1 to bed in but get this committed before the freeze for 9.2.0-rc1.
Comment #9
longwaveComment #11
mondrakeComment #13
spokjeTo prevent re-rolling this huge patch every time a commit is made on
9.2.x-dev(since it touches so many test classes), let's wait until this one is up for actually being committed in #3210939: [meta] Disruptive patches for 9.2 beta.Postponing until then.
Comment #15
longwaveRerolled and pushed to the MR, with remaining fixes applied with some horrible regex
Comment #17
longwaveComment #18
alexpottNeeds a reroll.
Comment #19
spokjeRerolling.
Comment #20
spokjeComment #21
spokjeComment #22
spokjeArgh, reverting changes in Title and Version
Comment #23
daffie commentedI am reviewing.
Comment #24
daffie commentedComment #25
spokjeThanks @daffie for his eagle-eyed review.
I can't resolve threads, since I'm not the original creator of the MR, but I've made the requested changes (https://git.drupalcode.org/project/drupal/-/merge_requests/686/diffs?dif...).
Also merged the latest HEAD from
9.2.xin.Back to
The FutureNR.Comment #26
daffie commentedThis MR changes a lot of multi-line code to a single line version, which lowers the readability a lot. There a lot of places where this is happening. Please change them all back. Only for the ones that are now multi-line. I know that it a bit of work, sorry.
Comment #27
paulocsWorking on it
Comment #28
paulocsI merged branch 9.2.x into this branch and added the suggested change made by @daffie.
Notice that I only added multi-line code where the array size is bigger than one or if the array index or value are big.
Comment #29
daffie commentedBack to need work from the removal of the one line.
Comment #30
longwaveAddressed #29.
Comment #31
daffie commentedAll changes in the MR from the module layout_builder and beyond are for me RTBC.
I will review the rest tomorrow.
Comment #32
daffie commentedAll code changes look good to me.
The deprecation message supression has been removed.
There is a deprecation message test.
For me it is RTBC.
Comment #33
daffie commentedThe MR needs to be rebased.
Comment #34
spokjeWorking on this.
Comment #36
spokjeFound one double use of
drupalGetin the9.2.xMR, fixed that in both MRs.9.2.x: MR6869.3.x: MR706Comment #37
spokjeComment #38
daffie commentedThe MR with id 686 is for me RTBC.
Comment #39
daffie commentedThe result of running the command
diff 686.diff 706.diffis empty. Therefore both patch files are the same. For me is the MR 706 also RTBC.Comment #41
catchCommitted/pushed to 9.3.x and cherry-picked to 9.2.x, thanks!
Comment #43
catchComment #45
spokjeAll green now.
Comment #46
paulocsAll
drupalPostFormcalls were properly replaced and looks good to me.All calls to
$this->submitFormkeeps multi-line when the array size is bigger the one.Comment #47
catchCommitted/pushed to 9.1.x, thanks!