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

Fix Spoofchecker callmaps

This commit is contained in:
Corey Taylor 2023-02-09 10:38:39 -06:00
parent d450b40da8
commit b467a0a74e
3 changed files with 10 additions and 15 deletions

View File

@ -13471,11 +13471,11 @@ return [
'SplTempFileObject::valid' => ['bool'],
'SplType::__construct' => ['void', 'initial_value='=>'mixed', 'strict='=>'bool'],
'Spoofchecker::__construct' => ['void'],
'Spoofchecker::areConfusable' => ['bool', 's1'=>'string', 's2'=>'string', '&w_error='=>'string'],
'Spoofchecker::isSuspicious' => ['bool', 'text'=>'string', '&w_error='=>'string'],
'Spoofchecker::setAllowedLocales' => ['void', 'locale_list'=>'string'],
'Spoofchecker::setChecks' => ['void', 'checks'=>'long'],
'Spoofchecker::setRestrictionLevel' => ['void', 'restriction_level'=>'int'],
'Spoofchecker::areConfusable' => ['bool', 'string1'=>'string', 'string2'=>'string', '&w_errorCode='=>'int'],
'Spoofchecker::isSuspicious' => ['bool', 'string'=>'string', '&w_errorCode='=>'int'],
'Spoofchecker::setAllowedLocales' => ['void', 'locales'=>'string'],
'Spoofchecker::setChecks' => ['void', 'checks'=>'int'],
'Spoofchecker::setRestrictionLevel' => ['void', 'level'=>'int'],
'sprintf' => ['string', 'format'=>'string', '...values='=>'string|int|float'],
'SQLite3::__construct' => ['void', 'filename'=>'string', 'flags='=>'int', 'encryptionKey='=>'?string'],
'SQLite3::busyTimeout' => ['bool', 'milliseconds'=>'int'],

View File

@ -8008,11 +8008,11 @@ return [
'SplTempFileObject::valid' => ['bool'],
'SplType::__construct' => ['void', 'initial_value='=>'mixed', 'strict='=>'bool'],
'Spoofchecker::__construct' => ['void'],
'Spoofchecker::areConfusable' => ['bool', 's1'=>'string', 's2'=>'string', '&w_error='=>'string'],
'Spoofchecker::isSuspicious' => ['bool', 'text'=>'string', '&w_error='=>'string'],
'Spoofchecker::setAllowedLocales' => ['void', 'locale_list'=>'string'],
'Spoofchecker::setChecks' => ['void', 'checks'=>'long'],
'Spoofchecker::setRestrictionLevel' => ['void', 'restriction_level'=>'int'],
'Spoofchecker::areConfusable' => ['bool', 'string1'=>'string', 'string2'=>'string', '&w_errorCode='=>'int'],
'Spoofchecker::isSuspicious' => ['bool', 'string'=>'string', '&w_errorCode='=>'int'],
'Spoofchecker::setAllowedLocales' => ['void', 'locales'=>'string'],
'Spoofchecker::setChecks' => ['void', 'checks'=>'int'],
'Spoofchecker::setRestrictionLevel' => ['void', 'level'=>'int'],
'Stomp::__construct' => ['void', 'broker='=>'string', 'username='=>'string', 'password='=>'string', 'headers='=>'?array'],
'Stomp::abort' => ['bool', 'transaction_id'=>'string', 'headers='=>'?array'],
'Stomp::ack' => ['bool', 'msg'=>'', 'headers='=>'?array'],

View File

@ -789,11 +789,6 @@ class InternalCallMapHandlerTest extends TestCase
'spltempfileobject::setfileclass',
'spltempfileobject::setinfoclass',
'spltempfileobject::setmaxlinelen',
'spoofchecker::areconfusable',
'spoofchecker::issuspicious',
'spoofchecker::setallowedlocales',
'spoofchecker::setchecks',
'spoofchecker::setrestrictionlevel',
'sqlite3::__construct',
'sqlite3::open',
'sqlsrv_connect',