Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/5.x' into console-suggested-values
Browse files Browse the repository at this point in the history
  • Loading branch information
seferov committed Jun 20, 2024
2 parents c28ded5 + 0f128f9 commit 48b00dc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"php": "^8.1",
"ext-simplexml": "*",
"symfony/framework-bundle": "^5.0 || ^6.0 || ^7.0",
"vimeo/psalm": "^5.24"
"vimeo/psalm": "^5.16"
},
"require-dev": {
"doctrine/annotations": "^1.8|^2",
Expand Down
4 changes: 2 additions & 2 deletions src/Handler/ConsoleHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ private static function analyseOption(array $args, StatementsSource $statements_
*/
private static function normalizeOptionParams(array $args): array
{
return self::normalizeParams(['name', 'shortcut', 'mode', 'description', 'default'], $args);
return self::normalizeParams(['name', 'shortcut', 'mode', 'description', 'default', 'suggestedValues'], $args);
}

/**
Expand All @@ -247,7 +247,7 @@ private static function normalizeOptionParams(array $args): array
*/
private static function normalizeArgumentParams(array $args): array
{
return self::normalizeParams(['name', 'mode', 'description', 'default'], $args);
return self::normalizeParams(['name', 'mode', 'description', 'default', 'suggestedValues'], $args);
}

private static function normalizeParams(array $params, array $args): array
Expand Down

0 comments on commit 48b00dc

Please sign in to comment.