Skip to content

Message 支持 json 序列化 overtrue/laravel-wechat#471 #1548

Message 支持 json 序列化 overtrue/laravel-wechat#471

Message 支持 json 序列化 overtrue/laravel-wechat#471 #1548

Triggered via push April 14, 2023 11:45
Status Failure
Total duration 29s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 errors
PHPStan: src/Kernel/Form/File.php#L75
Parameter #1 $contents of static method EasyWeChat\Kernel\Form\File::fromContents() expects string, mixed given.
PHPStan: src/Kernel/HttpClient/AccessTokenAwareClient.php#L45
Property class@anonymous/Kernel/Traits/MockableHttpClient.php:39::$client (Symfony\Contracts\HttpClient\HttpClientInterface) does not accept Mockery\Mock|Symfony\Contracts\HttpClient\HttpClientInterface.
PHPStan: src/Kernel/Support/Arr.php#L35
No error to ignore is reported on line 35.
PHPStan: src/Kernel/Support/Arr.php#L37
No error to ignore is reported on line 37.
PHPStan: src/Kernel/Support/PublicKey.php#L32
Offset 'serialNumberHex' on array on left side of ?? always exists and is not nullable.
PHPStan: src/Kernel/Traits/InteractWithHandlers.php (in context of class EasyWeChat/OfficialAccount/Server)#L80
Parameter #1 $object of function spl_object_hash expects object, callable given.
PHPStan: src/Kernel/Traits/InteractWithHandlers.php (in context of class EasyWeChat/OfficialAccount/Server)#L81
Match arm is unreachable because previous comparison is always true.
PHPStan: src/Kernel/Traits/InteractWithHandlers.php (in context of class EasyWeChat/OpenPlatform/Server)#L80
Parameter #1 $object of function spl_object_hash expects object, callable given.
PHPStan: src/Kernel/Traits/InteractWithHandlers.php (in context of class EasyWeChat/OpenPlatform/Server)#L81
Match arm is unreachable because previous comparison is always true.
PHPStan: src/Kernel/Traits/InteractWithHandlers.php (in context of class EasyWeChat/OpenWork/Server)#L80
Parameter #1 $object of function spl_object_hash expects object, callable given.
PHP-CS-Fxier
Process completed with exit code 1.