-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
/
Copy pathphpstan.neon
65 lines (65 loc) · 3.74 KB
/
phpstan.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
parameters:
level: 9
paths:
- src
inferPrivatePropertyTypeFromConstructor: true
ignoreErrors:
-
identifier: missingType.iterableValue
-
message: '#Property EasyWeChat\\Kernel\\Config::\$items \(array<string, mixed>\) does not accept array#'
path: src/Kernel/Config.php
-
message: '#Method EasyWeChat\\Kernel\\Message::format\(\) should return array<string, string> but returns array#'
path: src/Kernel/Message.php
-
message: '#\$client .*? does not accept#'
path: src/Kernel/HttpClient/AccessTokenAwareClient.php
-
message: '#ServerResponse::with.*? should return static\(EasyWeChat\\Kernel\\ServerResponse\) but returns Psr\\Http\\Message\\ResponseInterface#'
path: src/Kernel/ServerResponse.php
-
message: '#Parameter \#1 \$object of function spl_object_hash expects object, callable given#'
path: src/Kernel/Traits/InteractWithHandlers.php
-
message: '#Call to function is_callable\(\) with callable\(\): mixed will always evaluate to true#'
path: src/Kernel/Traits/InteractWithHandlers.php
-
message: '#Parameter \$stable of class EasyWeChat\\MiniApp\\AccessToken constructor expects bool\|null, mixed given#'
path: src/MiniApp/Application.php
-
message: '#Parameter \#1 \$options of static method EasyWeChat\\Kernel\\HttpClient\\RequestUtil::mergeDefaultRetryOptions\(\) expects array<string, mixed>#'
path: src/MiniApp/Application.php
-
message: '#Method EasyWeChat\\MiniApp\\Decryptor::decrypt\(\) should return array<string, mixed> but returns array#'
path: src/MiniApp/Decryptor.php
-
message: '#Parameter \$stable of class EasyWeChat\\OfficialAccount\\(AccessToken|JsApiTicket) constructor expects bool\|null, mixed given#'
path: src/OfficialAccount/Application.php
-
message: '#Parameter \#1 \$options of static method EasyWeChat\\Kernel\\HttpClient\\RequestUtil::mergeDefaultRetryOptions\(\) expects array<string, mixed>#'
path: src/OfficialAccount/Application.php
-
message: '#Parameter \#1 \$scopes of method Overtrue\\Socialite\\Providers\\Base::scopes\(\) expects array<string>#'
path: src/OfficialAccount/Application.php
-
message: '#Parameter \#1 \$scopes of method Overtrue\\Socialite\\Providers\\Base::scopes\(\) expects array<string>#'
path: src/OpenPlatform/Application.php
-
message: '#Parameter \#1 \$scopes of method Overtrue\\Socialite\\Providers\\Base::scopes\(\) expects array<string>#'
path: src/OpenWork/Application.php
-
message: '#Parameter \#3 \$defaultOptions of class EasyWeChat\\Pay\\Client constructor expects array<string, mixed>#'
path: src/Pay/Application.php
-
message: '#Property .*?\$client \(Symfony\\Contracts\\HttpClient\\HttpClientInterface\) does not accept Mockery\\Mock\|Symfony\\Contracts\\HttpClient\\HttpClientInterface#'
path: src/Pay/Client.php
-
message: '#Method EasyWeChat\\Pay\\Client::createMockClient\(\) should return Mockery\\Mock\|Symfony\\Contracts\\HttpClient\\HttpClientInterface but returns Mockery\\LegacyMockInterface#'
path: src/Pay/Client.php
-
message: '#Call to function is_string\(\) with string will always evaluate to true#'
path: src/Pay/Client.php
-
message: '#Parameter \#1 \$scopes of method Overtrue\\Socialite\\Providers\\Base::scopes\(\) expects array<string>#'
path: src/Work/Application.php