1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-02 09:37:59 +01:00

Remove mistakenly (?) ignored functions

This commit is contained in:
Daniil Gentili 2023-07-25 10:50:01 +02:00
parent a28111799f
commit ac5dd77955
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7
3 changed files with 1 additions and 5 deletions

View File

@ -2303,7 +2303,6 @@ final class Codebase
/**
* @param array<string, mixed> $phantom_classes
* @psalm-suppress PossiblyUnusedMethod part of the public API
*/
public function queueClassLikeForScanning(
string $fq_classlike_name,

View File

@ -2360,10 +2360,8 @@ class ClassLikes
/**
* @template T as string|lowercase-string
*
* @param array<T, bool> $old
* @param array<T, bool> $new
*
* @return array<T, bool>
*/
private static function mergeThreadData(array $old, array $new): array

View File

@ -29,6 +29,7 @@ use function count;
use function explode;
use function function_exists;
use function in_array;
use function interface_exists;
use function is_array;
use function is_int;
use function json_encode;
@ -140,7 +141,6 @@ class InternalCallMapHandlerTest extends TestCase
'oci_result',
'ocigetbufferinglob',
'ocisetbufferinglob',
'recursiveiteratoriterator::__construct', // Class used in CallMap does not exist: recursiveiterator
'sqlsrv_fetch_array',
'sqlsrv_fetch_object',
'sqlsrv_get_field',
@ -173,7 +173,6 @@ class InternalCallMapHandlerTest extends TestCase
private static array $ignoredReturnTypeOnlyFunctions = [
'appenditerator::getinneriterator' => ['8.1', '8.2'],
'appenditerator::getiteratorindex' => ['8.1', '8.2'],
'arrayobject::getiterator' => ['8.1', '8.2'],
'cachingiterator::getinneriterator' => ['8.1', '8.2'],
'callbackfilteriterator::getinneriterator' => ['8.1', '8.2'],
'curl_multi_getcontent',