- Issue created by @joachim
- First commit to issue fork.
- Status changed to RTBC
4 months ago 10:36am 2 September 2024 - 🇬🇧United Kingdom joachim
Remember to set an issue to 'Needs review' when it's ready.
Looks good to me. Thanks!
- 🇫🇮Finland ronttizz Helsinki
Thanks for the reminder. I'm trying to figure out why the tests are not passing. If you have any idea please let me know.
- 🇬🇧United Kingdom joachim
Functional Javascript tests can be a bit temperamental. It can't be a problem with your MR, as api.php code is not executed.
- 🇧🇷Brazil kleiton_rodrigues Americana/SP
JavaScript tests can be a bit unpredictable.
The code changes incore/lib/Drupal/Core/Render/theme.api.php
should not directly affect these tests, I am investigating to better understand the issue. - 🇳🇿New Zealand quietone
@kleiton_rodrigues, thanks for the interest in this issue. In Drupal we do not upload images of our IDE, images are reserved for discussing changes to the User Interface. The failing test may be a random one. You can check by first reading 🌱 [meta] Known intermittent, random, and environment-specific test failures Active and there are instructions for how to deal with a random failure → . The previous comment also did say that the failing test is not related to the change here.
Changing to a task because this is neither "Incorrect or misleading user interface text" or "Incorrect or misleading documentation"
- 🇬🇧United Kingdom joachim
It's a bug because if people copy this code as a sample, then their code will fail coding standard.
- Status changed to Needs work
4 months ago 8:52am 3 September 2024 - 🇬🇧United Kingdom longwave UK
Let's change my_module_list's variables to match while we are here, it's much easier to read in multiline format.
- First commit to issue fork.
- Status changed to Needs review
4 months ago 9:31am 3 September 2024 - 🇫🇮Finland sonyavpaa
Seperated also the my_module_list and my_module_icon arrays into multiple lines, needs review!
- Status changed to RTBC
4 months ago 4:18pm 4 September 2024 -
quietone →
committed f79f5982 on 10.3.x
Issue #3471544 by ronttizz, sonyavpaa, joachim, longwave, smustgrave:...
-
quietone →
committed f79f5982 on 10.3.x
-
quietone →
committed db8a4ac5 on 10.4.x
Issue #3471544 by ronttizz, sonyavpaa, joachim, longwave, smustgrave:...
-
quietone →
committed db8a4ac5 on 10.4.x
-
quietone →
committed 9e36c151 on 11.0.x
Issue #3471544 by ronttizz, sonyavpaa, joachim, longwave, smustgrave:...
-
quietone →
committed 9e36c151 on 11.0.x
-
quietone →
committed a9b0fa6d on 11.x
Issue #3471544 by ronttizz, sonyavpaa, joachim, longwave, smustgrave:...
-
quietone →
committed a9b0fa6d on 11.x
- Status changed to Fixed
4 months ago 2:17am 5 September 2024 - 🇳🇿New Zealand quietone
@joachim, I do get your point, but I am following the guidelines for the category field which does not mention copying example code.
Taking a more complete look at this now and this is coding standards issue, so tagging. The standard is Drupal.Arrays.Array.LongLineDeclaration", which is not yet enabled in core. The meta for to do that is #3116859: [meta] Fix Drupal.Array.Array.LongLineDeclaration coding standard → . We have a practice of not accepting fixes for coding standards by file because it is not an efficient use of our time. That makes this a won't fix and the work here transferred to a child of the Meta.
On the other hand we are here and another committer has already expressed an opinion here and missed (like me) that this should be moved to the relevant meta. Therefore, I will commit this as a one off that is not meant to set a precedence. To use our time wisely coding standards fixes need to be done by sniff.
Committed/pushed to 11.x and cherry-picked back through to 10.3.x, thanks!
Automatically closed - issue fixed for 2 weeks with no activity.