- Issue created by @nicxvan
- ๐ฌ๐งUnited Kingdom alexpott ๐ช๐บ๐
The issue summary here is missing the why we should do this. What is wrong with the old system of using $phase. If the answer is the hook system updates to be OOP - then I'm not sure that we're thinking about this the right way around.
- ๐บ๐ธUnited States nicxvan
The short answer is the different phases have different requirements for what can be injected. Also almost all modules only interact with one phase so this would be a clean move.
I'll reply more fully on the meta.
- ๐บ๐ธUnited States nicxvan
Marking this postponed since an alternate approach was suggested in the Meta
- ๐บ๐ธUnited States dww
Thanks for moving this forward. The parent meta has good discussion on why this is actually the right approach, after all. ๐
Left a bunch of suggestions on the MR. Mostly pedantic nits, but a few things of substance.
- ๐บ๐ธUnited States nicxvan
I applied all suggestions, I'll take care of the last suggestion tomorrow, thanks!
- ๐บ๐ธUnited States smustgrave
Left some comments. But think if we can see some phpcs violations we should try and address in the issue.
Phpstan different animal and agree breaking that out.
- ๐บ๐ธUnited States smustgrave
Thanks, believe feedback has been addressed
- ๐บ๐ธUnited States dww
Apologies, I missed a point in my previous feedback on the API docs.
- ๐บ๐ธUnited States nicxvan
nicxvan โ changed the visibility of the branch 3490841-create-hookruntimerequirements to hidden.
- ๐บ๐ธUnited States dww
I have a very minor lingering concern that INFO and OK are weird for update. Theyโre never displayed unless thereโs an error or warning, in which case all update requirements, even OK and INFO, are shown to the user, distracting them from the thing they actually have to fix. ๐ This is not a problem to be solved in this issue. ๐ Maybe some of it can be addressed at ๐ Deprecate REQUIREMENT_INFO in favor of REQUIREMENT_OK Active , but probably weโll want yet another follow up for the UX of update.php when there are requirements problems.
That said, I think weโve done everything we can to make this a clean and solid improvement. RTBC!
Thanks,
-Derek - ๐บ๐ธUnited States nicxvan
nicxvan โ changed the visibility of the branch 11.x to hidden.
-
alexpott โ
committed 87982857 on 11.x
Issue #3490842 by nicxvan, alexpott, dww, smustgrave: Create...
-
alexpott โ
committed 87982857 on 11.x
- Status changed to Fixed
2 months ago 10:54pm 31 January 2025 Automatically closed - issue fixed for 2 weeks with no activity.