Unverified Commit cb32dca7 authored by Lee Rowlands's avatar Lee Rowlands
Browse files

Issue #3240959 by andypost, alexpott:...

Issue #3240959 by andypost, alexpott: \Drupal\migrate_drupal_ui\Form\ReviewForm::prepareOutput() causes deprecations on PHP 8.1
parent 0247f921
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -284,7 +284,10 @@ public function getConfirmText() {
  protected function prepareOutput(array $migration_state) {
    $output = [];
    foreach ($migration_state as $source_machine_name => $destination_modules) {
      $data = NULL;
      if (isset($this->systemData['module'][$source_machine_name]['info'])) {
        $data = unserialize($this->systemData['module'][$source_machine_name]['info']);
      }
      $source_module_name = $data['name'] ?? $source_machine_name;
      // Get the names of all the destination modules.
      $destination_module_names = [];