- Merge request !22Issue #3014858 by rahulrasgon, Suresh Prabhu Parkala, thalles, dww, Pooja... โ (Open) created by marcos_lima
- ๐บ๐ธUnited States Kristen Pol Santa Cruz, CA, USA
Assigning to myself as I'm triaging all RTBC issues.
- Issue was unassigned.
- Status changed to Needs work
over 1 year ago 4:54am 9 August 2023 - ๐บ๐ธUnited States Kristen Pol Santa Cruz, CA, USA
Thanks, everyone, for the hard work for some time to get this patch in order.
1. Regarding the
t()
in #52, we can create a new issue for that. Also, coding standard changes that are unrelated to this issue can be left out. I didn't see any obvious ones in this patch but did in the one in 2 below.2. This related patch should be included here IMO (see comment #6 for an explanation):
๐ Use dependency injection on redirect\Form\RedirectForm Postponed
3. The patch needs a reroll:
Kristens-MacBook-Pro:redirect kristenpol$ patch -p1 < 22.diff patching file modules/redirect_404/redirect_404.services.yml patching file modules/redirect_404/src/SqlRedirectNotFoundStorage.php patching file modules/redirect_404/tests/src/Unit/SqlRedirectNotFoundStorageTest.php Hunk #3 FAILED at 44. Hunk #4 succeeded at 51 (offset -2 lines). Hunk #5 succeeded at 61 (offset -2 lines). Hunk #6 succeeded at 76 (offset -2 lines). 1 out of 6 hunks FAILED -- saving rejects to file modules/redirect_404/tests/src/Unit/SqlRedirectNotFoundStorageTest.php.rej patching file redirect.services.yml patching file src/EventSubscriber/RedirectRequestSubscriber.php patching file src/Form/RedirectForm.php patching file src/Form/RedirectSettingsForm.php patching file src/Plugin/Field/FieldWidget/RedirectSourceWidget.php Hunk #1 succeeded at 3 with fuzz 2 (offset -1 lines). Hunk #2 succeeded at 33 (offset -1 lines). Hunk #3 succeeded at 122 (offset -1 lines). Hunk #4 succeeded at 138 (offset -1 lines). patching file src/RedirectChecker.php Hunk #1 FAILED at 4. 1 out of 2 hunks FAILED -- saving rejects to file src/RedirectChecker.php.rej patching file src/RedirectRepository.php patching file tests/src/Unit/RedirectRequestSubscriberTest.php Hunk #1 succeeded at 14 with fuzz 2 (offset -1 lines). Hunk #2 succeeded at 155 (offset -9 lines). Hunk #3 succeeded at 166 (offset -9 lines).
4. Please don't add company specific tags unless it's around a public event.
5. Hiding patches since we are using an MR now.
- First commit to issue fork.
- last update
over 1 year ago 63 pass - Status changed to Needs review
over 1 year ago 2:42pm 11 August 2023 - Status changed to Needs work
over 1 year ago 11:02am 30 August 2023 - ๐จ๐ญSwitzerland berdir Switzerland
timestamp is an unusual name for the time server, core uses just $time.
- last update
over 1 year ago 63 pass - last update
over 1 year ago 63 pass - Status changed to Needs review
over 1 year ago 11:57am 30 August 2023 - First commit to issue fork.
- last update
over 1 year ago 57 pass, 6 fail - last update
over 1 year ago 55 pass, 9 fail - last update
over 1 year ago 60 pass, 5 fail - last update
over 1 year ago 60 pass, 5 fail - last update
10 months ago 63 pass - last update
10 months ago 52 pass, 4 fail - last update
10 months ago 63 pass - Status changed to RTBC
6 months ago 7:22am 5 July 2024 - gaurav gupta Jaipur, Rajasthsan
Hello
I have tested the MR and the issue as been solved but there are still phpcs error and remaining dependency injection error for which we can create a new issue in D.O.
Thanks - Status changed to Needs work
4 months ago 7:37am 10 August 2024 - Assigned to zniki.ru
- ๐ท๐บRussia zniki.ru
Conflicts fixed.
Remove unwanted changes from MR, such as comments for properties.
Made changes for RedirectSettingsForm constructor.
Looks like it's ready for review. - ๐ฉ๐ชGermany Anybody Porta Westfalica
Nice work @nikolay shapovalov! Just had a look at the code and LGTM!
- ๐จ๐ญSwitzerland berdir Switzerland
I'm wondering if we want to use some more modern features at this point, like constructor property promotion, which requires more modern PHP versions. And maybe autowire, but I think that doesn't work yet for plugins and forms, just controllers.
I'd be OK with either requiring a 10.x version at this point (e.g. 10.1 or 10.2 depending on the features we want), that also implies PHP 8.1+. That should probably be done in a separate issue, first.
- ๐ท๐บRussia zniki.ru
Using new features is great idea.
There are 19 matches for __construct methods in code base now, and we are going to change 9 of them.
It will be much easy to review, if property promotions will be made in separate issue.