From baa8d704a1053e22babfdfd3fca17f674967f4bd Mon Sep 17 00:00:00 2001 From: Moshe Weitzman Date: Wed, 12 Jan 2022 11:49:48 -0500 Subject: [PATCH 1/2] Add --filter option to migrate:status --- src/Drupal/Commands/core/MigrateRunnerCommands.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Drupal/Commands/core/MigrateRunnerCommands.php b/src/Drupal/Commands/core/MigrateRunnerCommands.php index caabf6050b..8015161ad8 100644 --- a/src/Drupal/Commands/core/MigrateRunnerCommands.php +++ b/src/Drupal/Commands/core/MigrateRunnerCommands.php @@ -107,7 +107,7 @@ public function __construct(DateFormatter $dateFormatter, KeyValueFactoryInterfa * unprocessed: Unprocessed * last_imported: Last Imported * @default-fields id,status,total,imported,unprocessed,last_imported - * + * @filter-default-field status * @return RowsOfFields * Migrations status formatted as table. * @version 10.4 From d1fcb2335bc87675c1d1aa306f837d00c979c1d9 Mon Sep 17 00:00:00 2001 From: Moshe Weitzman Date: Thu, 13 Jan 2022 11:54:25 -0500 Subject: [PATCH 2/2] Fixes #5015. Nullable string type hint on runserver's parseUri(). --- src/Commands/core/RunserverCommands.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Commands/core/RunserverCommands.php b/src/Commands/core/RunserverCommands.php index 362cbebbb1..693f26b5c2 100644 --- a/src/Commands/core/RunserverCommands.php +++ b/src/Commands/core/RunserverCommands.php @@ -119,12 +119,12 @@ public function uri($uri, $options): array /** * Parse a URI or partial URI (including just a port, host IP or path). * - * @param string $uri + * @param $uri * String that can contain partial URI. * * URI array as returned by parse_url. */ - public function parseUri(string $uri): array + public function parseUri(?string $uri): array { if (empty($uri)) { return [];