1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 04:45:20 +01:00

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.
This commit is contained in:
Bruce Weirdan 2020-04-08 08:04:34 +03:00 committed by GitHub
parent 2d4381eb4e
commit 0161f25ef6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -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
*
* '<function_name>' => ['<return_type>, '<arg_name>'=>'<arg_type>']

View File

@ -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;
/**