From e7d43be117ed592610837b99c2cc49eaf66e69d7 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Sun, 1 Oct 2023 20:13:58 +0200 Subject: [PATCH] Update baseline --- psalm-baseline.xml | 98 +++++++++++----------------------------------- 1 file changed, 22 insertions(+), 76 deletions(-) diff --git a/psalm-baseline.xml b/psalm-baseline.xml index 6f60b177f..ebae2b54a 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -244,7 +244,7 @@ $v]]> - \json_decode($value, true, 256, JSON_THROW_ON_ERROR)]]> + json_decode($value, true, 256, JSON_THROW_ON_ERROR)]]> $dbSettings @@ -310,9 +310,9 @@ $value - \igbinary_unserialize(\hex2bin($v))]]> - \unserialize(\hex2bin($v))]]> - \json_decode(\hex2bin($value), true, 256, JSON_THROW_ON_ERROR)]]> + igbinary_unserialize(hex2bin($v))]]> + unserialize(hex2bin($v))]]> + json_decode(hex2bin($value), true, 256, JSON_THROW_ON_ERROR)]]> @@ -329,7 +329,7 @@ $v]]> - \json_decode($value, true, 256, JSON_THROW_ON_ERROR)]]> + json_decode($value, true, 256, JSON_THROW_ON_ERROR)]]> @@ -391,7 +391,7 @@ self::$pluginCache - \array_values + array_values startedInternal]]> @@ -412,7 +412,7 @@ wrapMessage($client->extractMessage($result))]]> wrapMessage($client->extractMessage($result))]]> - $arr['_'] === 'storyItemDeleted' ? new StoryDeleted($client, ['peer' => $this->senderId, 'story' => $arr]) @@ -504,9 +504,6 @@ botApiFileUniqueId]]> - $thumb - $thumbHeight - $thumbWidth $thumbs $videoThumbs @@ -515,90 +512,60 @@ AbstractAudio AbstractAudio - AbstractAudio - AbstractAudio - AbstractAudio AbstractSticker AbstractSticker - AbstractSticker - AbstractSticker - AbstractSticker AbstractVideo AbstractVideo - AbstractVideo - AbstractVideo - AbstractVideo AnimatedSticker AnimatedSticker - AnimatedSticker - AnimatedSticker - AnimatedSticker Audio Audio - Audio - Audio - Audio CustomEmoji CustomEmoji - CustomEmoji - CustomEmoji - CustomEmoji Document Document - Document - Document - Document DocumentPhoto DocumentPhoto - DocumentPhoto - DocumentPhoto - DocumentPhoto Gif Gif - Gif - Gif - Gif MaskSticker MaskSticker - MaskSticker - MaskSticker - MaskSticker @@ -610,63 +577,42 @@ Photo Photo - Photo - Photo - Photo RoundVideo RoundVideo - RoundVideo - RoundVideo - RoundVideo StaticSticker StaticSticker - StaticSticker - StaticSticker - StaticSticker Sticker Sticker - Sticker - Sticker - Sticker Video Video - Video - Video - Video VideoSticker VideoSticker - VideoSticker - VideoSticker - VideoSticker Voice Voice - Voice - Voice - Voice @@ -768,7 +714,7 @@ - + @@ -806,7 +752,7 @@ wrapMedia($rawStory['media'], $this->protected)]]> - + @@ -821,7 +767,7 @@ - new UsernameInfo($username), $rawUserName['usernames'] )]]> @@ -934,7 +880,7 @@ logger - + $logger @@ -1071,8 +1017,8 @@ $optional - - + + $colors @@ -1147,7 +1093,7 @@ - getReason(), ' ')]]> + getReason(), ' ')]]> throw $e; @@ -1312,15 +1258,15 @@ $callbacks - getInputConstructor(...), ), - \array_fill_keys( + array_fill_keys( [ 'User', 'Chat', @@ -1330,7 +1276,7 @@ ], $this->getInfo(...), ), - \array_fill_keys( + array_fill_keys( [ 'InputMedia', 'InputDocument', @@ -1385,7 +1331,7 @@ start - + sanitizeReportPeers($userOrId)]]> @@ -1467,7 +1413,7 @@ $response - \time() + $seconds + time() + $seconds $msgId @@ -1483,7 +1429,7 @@ API->authorized_dc == $this->datacenter && $this->API->authorized === \danog\MadelineProto\API::LOGGED_IN]]> - + @@ -1831,7 +1777,7 @@ - +