diff -u b/core/modules/migrate/src/Plugin/MigrateIdMapInterface.php b/core/modules/migrate/src/Plugin/MigrateIdMapInterface.php --- b/core/modules/migrate/src/Plugin/MigrateIdMapInterface.php +++ b/core/modules/migrate/src/Plugin/MigrateIdMapInterface.php @@ -271,7 +271,7 @@ * Sets the migrate message service. * * @param \Drupal\migrate\MigrateMessageInterface $message - * The message to display. + * The migrate message service. */ public function setMessage(MigrateMessageInterface $message); diff -u b/core/modules/migrate/src/Plugin/migrate/process/MigrationLookup.php b/core/modules/migrate/src/Plugin/migrate/process/MigrationLookup.php --- b/core/modules/migrate/src/Plugin/migrate/process/MigrationLookup.php +++ b/core/modules/migrate/src/Plugin/migrate/process/MigrationLookup.php @@ -3,6 +3,7 @@ namespace Drupal\migrate\Plugin\migrate\process; use Drupal\Core\Plugin\ContainerFactoryPluginInterface; +use Drupal\migrate\MigrateMessage; use Drupal\migrate\MigrateSkipProcessException; use Drupal\migrate\Plugin\MigratePluginManagerInterface; use Drupal\migrate\Plugin\MigrationPluginManagerInterface; @@ -10,7 +11,6 @@ use Drupal\migrate\ProcessPluginBase; use Drupal\migrate\Plugin\MigrationInterface; use Drupal\migrate\MigrateExecutableInterface; -use Drupal\migrate\MigrateMessage; use Drupal\migrate\Row; use Symfony\Component\DependencyInjection\ContainerInterface; only in patch2: unchanged: --- a/core/modules/migrate/tests/src/Unit/process/MigrationLookupTest.php +++ b/core/modules/migrate/tests/src/Unit/process/MigrationLookupTest.php @@ -62,6 +62,7 @@ public function testTransformWithStubbing() { $destination_migration->getIdMap()->willReturn($destination_id_map->reveal()); $migration_plugin_manager->createInstances(['destination_migration']) ->willReturn(['destination_migration' => $destination_migration->reveal()]); + $destination_id_map->setMessage(Argument::any())->willReturn(NULL); $destination_id_map->lookupDestinationId([1])->willReturn(NULL); $destination_id_map->saveIdMapping(Argument::any(), Argument::any(), MigrateIdMapInterface::STATUS_NEEDS_UPDATE)->willReturn(NULL); only in patch2: unchanged: --- a/core/modules/migrate/tests/src/Unit/process/MigrationTest.php +++ b/core/modules/migrate/tests/src/Unit/process/MigrationTest.php @@ -108,6 +108,7 @@ public function testTransformWithStubbing() { */ protected function getMigration() { $id_map = $this->prophesize(MigrateIdMapInterface::class); + $id_map->setMessage(Argument::any())->willReturn(NULL); $id_map->lookupDestinationId([1])->willReturn(NULL); $id_map->saveIdMapping(Argument::any(), Argument::any(), MigrateIdMapInterface::STATUS_NEEDS_UPDATE)->willReturn(NULL);