- last update
over 1 year ago Patch Failed to Apply - Status changed to Needs review
over 1 year ago 4:32pm 20 June 2023 - last update
over 1 year ago 29,502 pass - 🇺🇸United States mikelutz Michigan, USA
Added tests, plus a slight re-roll to use the modern dispatcher argument order. No interdiff due to small size.
- Status changed to RTBC
over 1 year ago 3:02pm 21 June 2023 - 🇺🇸United States smustgrave
Leaning on #mikelutz expertise on this one.
I did verify the tests added fail as expected
testSetFieldsError : Call to undefined method Drupal\migrate\Event\MigrateMapSaveEvent::setFields()
Nothing seems wrong to me with this solution.
- last update
over 1 year ago 29,534 pass - last update
over 1 year ago 29,556 pass - last update
over 1 year ago 29,557 pass - last update
over 1 year ago 29,566 pass - last update
over 1 year ago 29,574 pass - Status changed to Needs review
over 1 year ago 11:02am 2 July 2023 - last update
over 1 year ago 29,574 pass - 🇳🇿New Zealand quietone
Add a return type to the new method, changed a comment and removed unneeded double quotes.
- First commit to issue fork.
- Status changed to RTBC
over 1 year ago 10:22pm 2 July 2023 - 🇺🇸United States smustgrave
Remarking and removing credit for sonam_sharma for the empty commit.
- 🇫🇷France fgm Paris, France
About credit, I wonder why I'm not listed there ? I created the issue and original patch.
- 🇮🇹Italy apaderno Brescia, 🇮🇹
@fgm The issue still needs to be marked Fixed. Hopefully, the maintainer who commits the changes will verify whom needs to get credited.
- 🇳🇿New Zealand quietone
Yes, part of the process for making a core commit → is to review the credit on an issue and update it. But while I am here I will add fgm.
- last update
over 1 year ago 29,804 pass - last update
over 1 year ago 29,805 pass - last update
over 1 year ago 29,805 pass - last update
over 1 year ago 29,808 pass - last update
over 1 year ago 29,814 pass - last update
over 1 year ago 29,817 pass - last update
over 1 year ago 29,818 pass 45:46 20:31 Running- last update
over 1 year ago 29,830 pass - last update
over 1 year ago 29,882 pass - last update
over 1 year ago 29,882 pass - last update
over 1 year ago 29,887 pass - last update
over 1 year ago 29,890 pass - last update
over 1 year ago 29,911 pass - last update
over 1 year ago 29,949 pass - last update
over 1 year ago 29,949 pass - last update
over 1 year ago 29,956 pass - last update
over 1 year ago 29,956 pass - last update
over 1 year ago 29,961 pass - last update
over 1 year ago 29,961 pass - last update
over 1 year ago 29,962 pass - last update
over 1 year ago 29,964 pass - last update
over 1 year ago 30,050 pass - last update
over 1 year ago 30,054 pass - last update
over 1 year ago 30,059 pass - last update
over 1 year ago 30,061 pass - last update
over 1 year ago 30,063 pass - last update
over 1 year ago 30,063 pass - last update
over 1 year ago 30,101 pass - last update
over 1 year ago 30,138 pass - last update
over 1 year ago 30,138 pass - last update
over 1 year ago 30,139 pass - last update
over 1 year ago 30,149 pass - last update
over 1 year ago 30,149 pass - last update
over 1 year ago 30,151 pass 45:45 42:28 Running- last update
over 1 year ago 30,164 pass - last update
over 1 year ago 30,164 pass - last update
over 1 year ago 30,171 pass - last update
over 1 year ago 30,171 pass - last update
over 1 year ago 30,208 pass - last update
over 1 year ago 30,366 pass - last update
over 1 year ago 30,368 pass - last update
over 1 year ago 30,363 pass - last update
over 1 year ago Patch Failed to Apply - last update
about 1 year ago Patch Failed to Apply - last update
about 1 year ago Patch Failed to Apply - last update
about 1 year ago Patch Failed to Apply - Status changed to Needs review
about 1 year ago 4:11am 9 October 2023 - last update
about 1 year ago 30,385 pass - Status changed to RTBC
about 1 year ago 8:29pm 9 October 2023 - 🇺🇸United States smustgrave
Reroll seemed good so restoring previous status.
- last update
about 1 year ago 30,395 pass - last update
about 1 year ago 30,400 pass - last update
about 1 year ago 30,400 pass - last update
about 1 year ago 30,417 pass - last update
about 1 year ago 30,420 pass - last update
about 1 year ago 30,429 pass - last update
about 1 year ago 30,430 pass - last update
about 1 year ago 30,440 pass - last update
about 1 year ago 30,443 pass, 1 fail - last update
about 1 year ago 30,467 pass - last update
about 1 year ago 30,483 pass - last update
about 1 year ago 30,488 pass - last update
about 1 year ago 30,489 pass - last update
about 1 year ago 30,491 pass - last update
about 1 year ago 30,514 pass The Needs Review Queue Bot → tested this issue. We recommend that you convert this patch to a merge request.
Merge requests are preferred over patches. Be sure to hide the old patch files as well (converting an issue to a merge request without other improvements is not recommended and will not receive credit).
- last update
about 1 year ago 30,519 pass - last update
about 1 year ago 30,523 pass - Status changed to Needs work
about 1 year ago 8:54pm 14 November 2023 - 🇺🇸United States xjm
Just some small nitpicks.
-
+++ b/core/modules/migrate/src/Event/MigrateMapSaveEvent.php @@ -57,4 +57,14 @@ public function getFields() { + * @param array $fields +++ b/core/modules/migrate/tests/src/Unit/Event/MigrateMapSaveEventTest.php @@ -0,0 +1,87 @@ + /** + * A test field array. + * + * @var array
Can we be more specific than
array
here? From the test data, it looks like it can be a string or an int, somixed[]
. -
+++ b/core/modules/migrate/tests/src/Unit/Event/MigrateMapSaveEventTest.php @@ -0,0 +1,87 @@ + * A test id map.
"ID" should be in caps.
-
+++ b/core/modules/migrate/tests/src/Unit/Event/MigrateMapSaveEventTest.php @@ -0,0 +1,87 @@ + * @var \Drupal\migrate\Plugin\MigrateIdMapInterface|object|null + */ + protected ?MigrateIdMapInterface $map = NULL;
The documented generic
object
here contradicts the strictly typed property typehint. -
+++ b/core/modules/migrate/tests/src/Unit/Event/MigrateMapSaveEventTest.php @@ -0,0 +1,87 @@ + protected $fields = [
Missing typehint.
-
+++ b/core/modules/migrate/tests/src/Unit/Event/MigrateMapSaveEventTest.php @@ -0,0 +1,87 @@ + public function testGetFields() { ... + public function testGetMap() { ... + public function testSetFields() {
Missing return typehints (which should be
void
).
While you are making the above changes, we recommend that you convert this patch to a merge request → . Merge requests are preferred over patches. Be sure to hide the old patch files as well. (Converting an issue to a merge request without other improvements is not recommended and will not receive credit.)
-