From 41fbb14586d8b0feac63c13b94888eb030028576 Mon Sep 17 00:00:00 2001 From: kkmuffme <11071985+kkmuffme@users.noreply.github.com> Date: Mon, 17 Oct 2022 23:05:50 +0200 Subject: [PATCH] fix wrong php version id in $_FILES --- .../Statements/Expression/Fetch/VariableFetchAnalyzer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Psalm/Internal/Analyzer/Statements/Expression/Fetch/VariableFetchAnalyzer.php b/src/Psalm/Internal/Analyzer/Statements/Expression/Fetch/VariableFetchAnalyzer.php index d268f021994..2d7f5bca7cc 100644 --- a/src/Psalm/Internal/Analyzer/Statements/Expression/Fetch/VariableFetchAnalyzer.php +++ b/src/Psalm/Internal/Analyzer/Statements/Expression/Fetch/VariableFetchAnalyzer.php @@ -760,7 +760,7 @@ public static function getGlobalType(string $var_id, int $codebase_analysis_php_ ]), ]; - if ($codebase_analysis_php_version_id >= 81000) { + if ($codebase_analysis_php_version_id >= 80100) { $values['full_path'] = new Union([ new TString(), new TNonEmptyList(Type::getString()),