From 0f862db470c10a49d329532203261bb701d87043 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Thu, 23 Nov 2023 14:52:18 +0100 Subject: [PATCH] Cleanup --- composer.json | 2 -- psalm-baseline.xml | 18 +++++++++++++----- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/composer.json b/composer.json index e8e7293d4..a68e1655e 100644 --- a/composer.json +++ b/composer.json @@ -112,8 +112,6 @@ "@docs-fix", "@cs-fix" ], - "test-php7": "tests/test-conversion.sh 70", - "test-php56": "tests/test-conversion.sh 5", "cs-fix": "PHP_CS_FIXER_IGNORE_ENV=1 php -d pcre.jit=0 vendor/bin/php-cs-fixer fix -v", "psalm": "psalm --no-cache --threads=10", "docs": "php tools/build_docs.php", diff --git a/psalm-baseline.xml b/psalm-baseline.xml index 754024dba..6301c045b 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -1,5 +1,5 @@ - + $settings @@ -1320,7 +1320,7 @@ [ 'InputFileLocation' => $this->getDownloadInfo(...), 'InputPeer' => $this->getInputPeer(...), - 'InputCheckPasswordSRP' => fn (string $password): array => (new PasswordCalculator($this->methodCallAsyncRead('account.getPassword', [])))->getCheckPassword($password), + 'InputCheckPasswordSRP' => fn (string $password): array => (new PasswordCalculator($this->methodCallAsyncRead('account.getPassword', [], $this->authorized_dc)))->getCheckPassword($password), ], )]]> @@ -1346,6 +1346,9 @@ getSelf()['bot']]]> getSelf()['premium']]]> + + authorized_dc]]> + authorization['hint']]]> authorization['user']]]> @@ -1516,6 +1519,7 @@ write[$offset]]]> + $datacenter $messageMedia @@ -1558,6 +1562,9 @@ + + $datacenter + $cb(100, $speed, $time) @@ -1793,6 +1800,7 @@ + $datacenter $first @@ -1940,9 +1948,6 @@ - - [$unserialized, $unlock] - $ipcSocket $ipcSocket @@ -2542,6 +2547,9 @@ authorization['phone_number']]]> authorization['phone_number']]]> + + $datacenter + \is_array($auth_key)