From 1879713dbb8e2d86144b259aa20fb64c28874a67 Mon Sep 17 00:00:00 2001 From: Dave Liddament Date: Mon, 29 Nov 2021 20:21:33 +0000 Subject: [PATCH] Add --php-version to CLI help As documented here: https://psalm.dev/docs/running_psalm/configuration/#phpversion --- src/Psalm/Internal/CliUtils.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Psalm/Internal/CliUtils.php b/src/Psalm/Internal/CliUtils.php index 5abba2fd442..bff213e69cc 100644 --- a/src/Psalm/Internal/CliUtils.php +++ b/src/Psalm/Internal/CliUtils.php @@ -342,6 +342,9 @@ public static function getPsalmHelpText(): string --no-diff Turns off Psalm’s diff mode, checks all files regardless of whether they’ve changed. + + --php-version=PHP_VERSION + Explicitly set PHP version to analyse code against. Surfacing issues: --show-info[=BOOLEAN]