- Issue created by @dww
- First commit to issue fork.
- Merge request !5473Fix strict type errors: Convert FormattableMarkup to strings (complex... β (Closed) created by mstrelan
- Status changed to Needs work
about 1 year ago 2:56am 20 November 2023 - π¦πΊAustralia mstrelan
Split these changes from the parent issue, marking NW to make readability improvements.
- Status changed to Needs review
12 months ago 5:50am 9 January 2024 - Status changed to RTBC
12 months ago 3:37pm 9 January 2024 - πΊπΈUnited States smustgrave
All feedback/threads appear to be addressed.
- Status changed to Needs work
12 months ago 10:09pm 12 January 2024 - Status changed to Needs review
11 months ago 1:35am 15 January 2024 - π¦πΊAustralia mstrelan
Rebased, seems like some of the changes were already addressed in a related issue.
- Status changed to RTBC
11 months ago 8:06pm 17 January 2024 - Status changed to Needs work
11 months ago 4:52am 29 January 2024 - π³πΏNew Zealand quietone
I found a stray character and left a question about using
...$args
. - Status changed to Needs review
11 months ago 5:10am 29 January 2024 - π¦πΊAustralia mstrelan
Fixed the stray % character. Perhaps we should get rid of the $args array in those sprintf calls and just add the values directly?
- Status changed to RTBC
11 months ago 2:34pm 30 January 2024 - πΊπΈUnited States smustgrave
Perhaps we should get rid of the $args array in those sprintf calls and just add the values directly?
Removing that sounds like it could be a follow up as that could lead down a rabbit hole (I imagine)
- Status changed to Needs work
11 months ago 7:03am 2 February 2024 - π³πΏNew Zealand quietone
I don't this it is a rabbit hole for reasons I mention in the MR. I wanted to use the suggestion feature for these two changes but it wasn't working for me \Drupal\Tests\system\Kernel\Form\ProgrammaticTest::doSubmitForm so I abandoned that idea.
- π¦πΊAustralia mstrelan
Do we even need a $message here? Would make all these issues so much easier. Anyway, that's a topic for another day.
- Status changed to Needs review
9 months ago 11:26am 8 April 2024 - π³πΏNew Zealand quietone
I agree, most of these don't need a message.
To get this moving again I made the changes I suggested.
- Status changed to Needs work
9 months ago 12:07pm 8 April 2024 The Needs Review Queue Bot β tested this issue. It no longer applies to Drupal core. Therefore, this issue status is now "Needs work".
This does not mean that the patch necessarily needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.
Consult the Drupal Contributor Guide β to find step-by-step guides for working with issues.
- Status changed to Needs review
9 months ago 1:16pm 8 April 2024 - π³πΏNew Zealand quietone
Arg, I've had trouble with git with this issue. Should be sorted now.
- Status changed to RTBC
9 months ago 5:34pm 8 April 2024 - π¦πΊAustralia mstrelan
Thank you @quietone, have looked over the last 3 commits and am happy with these changes.
- Status changed to Fixed
9 months ago 10:47am 9 April 2024 - π¬π§United Kingdom alexpott πͺπΊπ
Committed and pushed 955418c2df to 11.x and c9255990e0 to 10.3.x. Thanks!
Committed ac127f0 and pushed to 10.2.x. Thanks!Backported to 10.2.x to keep tests aligned...
We should file a followup to change \Drupal\Tests\file\Kernel\FileManagedUnitTestBase::assertFileHooksCalled() to something like:
public function assertFileHooksCalled($expected) { \Drupal::state()->resetCache(); // Determine which hooks were called. $actual = array_keys(array_filter(file_test_get_all_calls())); // Determine if there were any expected that were not called. $uncalled = array_diff($expected, $actual); $this->assertEmpty($uncalled, sprintf('Expected hooks %s to be called but %s was not called.', implode(', ', $expected), implode(', ', $uncalled))); // Determine if there were any unexpected calls. $unexpected = array_diff($actual, $expected); $this->assertEmpty($unexpected, sprintf('Unexpected hooks were called: %s.', empty($unexpected) ? '(none)' : implode(', ', $unexpected))); }
The
$this->assertTrue(FALSE
is bizarre... but not added here. -
alexpott β
committed ac127f07 on 10.2.x
Issue #3402294 by mstrelan, quietone, dww, smustgrave: Fix strict type...
-
alexpott β
committed ac127f07 on 10.2.x
-
alexpott β
committed c9255990 on 10.3.x
Issue #3402294 by mstrelan, quietone, dww, smustgrave: Fix strict type...
-
alexpott β
committed c9255990 on 10.3.x
-
alexpott β
committed 955418c2 on 11.x
Issue #3402294 by mstrelan, quietone, dww, smustgrave: Fix strict type...
-
alexpott β
committed 955418c2 on 11.x
Automatically closed - issue fixed for 2 weeks with no activity.