From 0161f25ef6be035d597c5742e8b430a43507bfc2 Mon Sep 17 00:00:00 2001 From: Bruce Weirdan Date: Wed, 8 Apr 2020 08:04:34 +0300 Subject: [PATCH] Bump callmap version to 7.4 (#3094) The content of the callmap corresponds to 7.4, but internally the version was set to 7.3. This caused 7.4 delta to be ignored, and 7.4 types to be used for 7.3. --- src/Psalm/Internal/CallMap.php | 3 +++ src/Psalm/Internal/Codebase/CallMap.php | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Psalm/Internal/CallMap.php b/src/Psalm/Internal/CallMap.php index a449f75f7..0ac0bc06d 100644 --- a/src/Psalm/Internal/CallMap.php +++ b/src/Psalm/Internal/CallMap.php @@ -2,6 +2,9 @@ namespace Phan\Language\Internal; /** + * CURRENT PHP TARGET VERSION: 7.4 + * The version above have to match Psalm\Internal\Codebase\CallMap::PHP_(MAJOR|MINOR)_VERSION + * * Format * * '' => [', ''=>''] diff --git a/src/Psalm/Internal/Codebase/CallMap.php b/src/Psalm/Internal/Codebase/CallMap.php index 8656be8de..0a76b4b10 100644 --- a/src/Psalm/Internal/Codebase/CallMap.php +++ b/src/Psalm/Internal/Codebase/CallMap.php @@ -24,7 +24,7 @@ use function version_compare; class CallMap { const PHP_MAJOR_VERSION = 7; - const PHP_MINOR_VERSION = 3; + const PHP_MINOR_VERSION = 4; const LOWEST_AVAILABLE_DELTA = 71; /**