- Issue created by @quietone
- last update
about 1 year ago 30,379 pass - @quietone opened merge request.
- last update
about 1 year ago 30,382 pass - Status changed to Needs review
about 1 year ago 8:20am 10 October 2023 - 🇳🇿New Zealand quietone
I haven't found any other misspelled function names in tests. So, making this available for review.
- Status changed to RTBC
about 1 year ago 2:52pm 10 October 2023 - 🇺🇸United States smustgrave
Surprised andif never failed with it being lowercase.
Reviewed rest of text changes, andif was the only one I needed to google.
- last update
about 1 year ago 30,392 pass - Status changed to Active
about 1 year ago 8:03am 11 October 2023 - 🇳🇿New Zealand quietone
I keep finding more, so I am setting this back to active while I do more searching.
@smustgrave, the lowercase of 'andif' works because function names are not cases sensitive in PHP.
Note: Function names are case-insensitive for the ASCII characters A to Z, though it is usually good form to call functions as they appear in their declaration.
- last update
about 1 year ago 30,392 pass - last update
about 1 year ago Custom Commands Failed 26:40 26:16 Running- Status changed to Needs review
about 1 year ago 10:24am 16 October 2023 - 🇮🇳India AditiVB
Though lowercase works for php function but according to Drupal standard we should follow camelCase for function name .
- Assigned to quietone
- Status changed to Active
about 1 year ago 1:03pm 16 October 2023 - 🇺🇸United States smustgrave
Will let @quietone put into review. Was previously RTBC and she was addressing more words.
Thanks.
- 🇮🇹Italy apaderno Brescia, 🇮🇹
It seems there is a commit that already changed the core/misc/cspell/dictionary.txt file, which is also changed by the MR provided here.
- last update
about 1 year ago Custom Commands Failed - Status changed to Needs review
about 1 year ago 12:06am 23 October 2023 - 🇳🇿New Zealand quietone
@apaderno, yes, every 'spelling' issue will change dictionary.txt and that is highly likely to mean that the other 'spelling' issues need to be rebased.
I haven't found any more function names in tests that need to be change, so I have rebased this and set to needs review.
- Issue was unassigned.
- last update
about 1 year ago 30,426 pass - Status changed to RTBC
about 1 year ago 4:40pm 23 October 2023 - 🇺🇸United States smustgrave
issue summary items match the MR.
Text changes make sense.
46:26 42:22 Running- last update
about 1 year ago 30,438 pass - last update
about 1 year ago 30,425 pass, 2 fail - last update
about 1 year ago 30,464 pass - last update
about 1 year ago 30,481 pass - last update
about 1 year ago 30,483 pass - last update
about 1 year ago 30,486 pass - last update
about 1 year ago 30,484 pass, 1 fail - last update
about 1 year ago 30,510 pass - 🇳🇿New Zealand quietone
Rebased and getting a random test failure in Drupal\FunctionalJavascriptTests\Core\Field\TimestampFormatterWithTimeDiffTest.
Leaving at RTBC
- First commit to issue fork.
- 🇺🇸United States xjm
This issue seems to be a mix of two scopes: Actual API methods which are cased incorrectly in the test code, and test methods being renamed. The scope is small enough that that is not necessarily a problem, but it does require the reviewer to context-switch between looking up actual APIs and just reviewing within the content of the test method.
- 🇺🇸United States xjm
I reviewed the whole MR; everything looks fine aside from the out-of-scope change to TempStore.
- Status changed to Needs work
about 1 year ago 1:55am 10 November 2023 - Status changed to Needs review
about 1 year ago 2:34am 10 November 2023 - 🇳🇿New Zealand quietone
Thanks, I have removed the changes from TempStore.
- Status changed to Fixed
about 1 year ago 1:03pm 10 November 2023 - 🇺🇸United States smustgrave
Didn't update the summary in the meta but did leave a comment and tag that it needs it though.
For this issue confirmed changed to tempstore have been reverted and tests are still green.
- Status changed to RTBC
about 1 year ago 3:38pm 10 November 2023 - last update
about 1 year ago 30,515 pass, 2 fail - 🇺🇸United States xjm
Getting the "case-insensitive Mac file problem" when applying the diff:
error: core/modules/datetime/tests/src/Functional/EntityResource/EntityTest/EntityTestDateOnlyTest.php: already exists in working directory
I can't remember what the workaround is; I might have to remove the file rename from my patch and then do the move with git, I think.
- 🇺🇸United States xjm
Committing with the following process:
- Manually remove the file rename from the diff.
- Apply the modified diff (attached) locally.
-
[ayrton:maintainer | Fri 10:57:27] $ mv core/modules/datetime/tests/src/Functional/EntityResource/EntityTest/EntityTestDateonlyTest.php core/modules/datetime/tests/src/Functional/EntityResource/EntityTest/EntityTestDateOnlyTest.php
- Commit.
Committed to 11.x, 10.2.x, and 10.1.x as a test-only change set. Thanks!
- Status changed to Fixed
about 1 year ago 5:12pm 10 November 2023 Automatically closed - issue fixed for 2 weeks with no activity.