Problem/Motivation
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | interdiff_2-5.txt | 7.49 KB | heddn |
| #5 | 3382718-5.patch | 11.65 KB | heddn |
Issue fork ui_patterns-3382718
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
heddnComment #3
grimreaperHi,
@heddn, thanks for the patch.
But it seems not ready for PHP 8.2 regarding tests results. Or is not related?
Comment #4
heddnWorking on fixes. I found those failures come from #3343198: Improve documentation of hook_theme_suggestions_HOOK_alter().
Comment #5
heddnThis probably is a little overboard. But it fixes the failing test and a few other test warnings that came from phpunit. Apparently naming an abstract class ending in
Testisn't desirable any more.I'm also getting some JS test failures now, but I don't know if that is because of flaky js testing or not, so we'll see how the testbot likes things.
Comment #6
grimreaperHi,
Thanks for the updated patch.
Here is my review.
Why not having only `$this->definition['theme hook'] = $altered_hook`?
Should an inheritdoc be added?
Why this addition?
Comment #7
heddn1) That's an oversight. It shouldn't be there.
2) I don't think there is a parent variable to inherit doc from. If we need to repeat the variable name in a comment, I can do that.
3) I don't remember. If it isn't needed to get passing tests, we can remove it.
Comment #8
pdureau commentedComment #9
grimreaperHi,
I have enabled Gitlab CI and fix the problem of templates suggestions in #3417517: Enable Gitlab CI + Update README + Coding standards.
@heddn, Could you please create a MR on the latest codebase. I think with the change from your first patch only.
Comment #11
heddnTests pass green on php 8.2 in the bot. I couldn't figure out an easy way to run a test-only pass on the code to demonstrate the error w/o any fixes..
Comment #12
grimreaperThanks a lot for the quick response time.
No problem. It fixes a PHPStan error so I guess it is ok.
I will just push a PHPCS fix.
Comment #14
grimreaper