This repository has been archived by the owner on Jun 28, 2024. It is now read-only.
forked from brozot/Laravel-FCM
-
Notifications
You must be signed in to change notification settings - Fork 14
/
phpstan-baseline.neon
137 lines (110 loc) · 4.89 KB
/
phpstan-baseline.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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
parameters:
ignoreErrors:
-
message: "#^Cannot access offset 'config' on Illuminate\\\\Contracts\\\\Container\\\\Container\\.$#"
count: 2
path: src/FCMManager.php
-
message: "#^Call to an undefined method Illuminate\\\\Contracts\\\\Foundation\\\\Application\\:\\:configure\\(\\)\\.$#"
count: 1
path: src/FCMServiceProvider.php
-
message: "#^Method LaravelFCM\\\\FCMServiceProvider\\:\\:boot\\(\\) has no return type specified\\.$#"
count: 1
path: src/FCMServiceProvider.php
-
message: "#^Property LaravelFCM\\\\Message\\\\PayloadData\\:\\:\\$data \\(array\\) does not accept array\\|null\\.$#"
count: 1
path: src/Message/PayloadData.php
-
message: "#^Property LaravelFCM\\\\Message\\\\PayloadNotification\\:\\:\\$bodyLocationArgs \\(string\\|null\\) does not accept array\\|string\\|null\\.$#"
count: 1
path: src/Message/PayloadNotification.php
-
message: "#^Property LaravelFCM\\\\Message\\\\PayloadNotification\\:\\:\\$titleLocationArgs \\(string\\|null\\) does not accept array\\|string\\|null\\.$#"
count: 1
path: src/Message/PayloadNotification.php
-
message: "#^Method LaravelFCM\\\\Message\\\\PayloadNotificationBuilder\\:\\:getTitleLocationKey\\(\\) should return string but returns string\\|null\\.$#"
count: 1
path: src/Message/PayloadNotificationBuilder.php
-
message: "#^Property LaravelFCM\\\\Message\\\\PayloadNotificationBuilder\\:\\:\\$bodyLocationArgs \\(string\\|null\\) does not accept mixed\\.$#"
count: 1
path: src/Message/PayloadNotificationBuilder.php
-
message: "#^Property LaravelFCM\\\\Message\\\\PayloadNotificationBuilder\\:\\:\\$titleLocationArgs \\(string\\|null\\) does not accept mixed\\.$#"
count: 1
path: src/Message/PayloadNotificationBuilder.php
-
message: "#^Unsafe usage of new static\\(\\)\\.$#"
count: 1
path: src/Message/Topics.php
-
message: "#^Cannot call method get\\(\\) on mixed\\.$#"
count: 1
path: src/Request/BaseRequest.php
-
message: "#^Cannot call method get\\(\\) on mixed\\.$#"
count: 1
path: src/Response/BaseResponse.php
-
message: "#^Parameter \\#1 \\$responseInJson of method LaravelFCM\\\\Response\\\\BaseResponse\\:\\:parseResponse\\(\\) expects array, mixed given\\.$#"
count: 1
path: src/Response/BaseResponse.php
-
message: "#^Expression \"\\$this\\-\\>messageId\" on a separate line does not do anything\\.$#"
count: 1
path: src/Response/DownstreamResponse.php
-
message: "#^Method LaravelFCM\\\\Response\\\\DownstreamResponseContract\\:\\:merge\\(\\) has no return type specified\\.$#"
count: 1
path: src/Response/DownstreamResponseContract.php
-
message: "#^Negated boolean expression is always true\\.$#"
count: 1
path: src/Response/TopicResponse.php
-
message: "#^Result of method LaravelFCM\\\\Response\\\\TopicResponse\\:\\:parseSuccess\\(\\) \\(void\\) is used\\.$#"
count: 1
path: src/Response/TopicResponse.php
-
message: "#^Cannot access offset 'notification_key' on mixed\\.$#"
count: 1
path: src/Sender/FCMGroup.php
-
message: "#^Method LaravelFCM\\\\Sender\\\\FCMGroup\\:\\:getNotificationToken\\(\\) should return string\\|null but returns mixed\\.$#"
count: 1
path: src/Sender/FCMGroup.php
-
message: "#^Parameter \\#3 \\$notificationKey of class LaravelFCM\\\\Request\\\\GroupRequest constructor expects string, null given\\.$#"
count: 1
path: src/Sender/FCMGroup.php
-
message: "#^Parameter \\#1 \\$response of class LaravelFCM\\\\Response\\\\DownstreamResponse constructor expects Psr\\\\Http\\\\Message\\\\ResponseInterface, Psr\\\\Http\\\\Message\\\\ResponseInterface\\|null given\\.$#"
count: 2
path: src/Sender/FCMSender.php
-
message: "#^Parameter \\#1 \\$response of class LaravelFCM\\\\Response\\\\GroupResponse constructor expects Psr\\\\Http\\\\Message\\\\ResponseInterface, Psr\\\\Http\\\\Message\\\\ResponseInterface\\|null given\\.$#"
count: 1
path: src/Sender/FCMSender.php
-
message: "#^Parameter \\#1 \\$response of class LaravelFCM\\\\Response\\\\TopicResponse constructor expects Psr\\\\Http\\\\Message\\\\ResponseInterface, Psr\\\\Http\\\\Message\\\\ResponseInterface\\|null given\\.$#"
count: 1
path: src/Sender/FCMSender.php
-
message: "#^Parameter \\#1 \\$to of class LaravelFCM\\\\Request\\\\Request constructor expects array\\|string, null given\\.$#"
count: 1
path: src/Sender/FCMSender.php
-
message: "#^Parameter \\#2 \\$to of class LaravelFCM\\\\Response\\\\GroupResponse constructor expects string, array\\<string\\>\\|string given\\.$#"
count: 1
path: src/Sender/FCMSender.php
-
message: "#^Call to function is_array\\(\\) with string will always evaluate to false\\.$#"
count: 1
path: src/Sender/FCMTopic.php
-
message: "#^Method LaravelFCM\\\\Sender\\\\FCMTopic\\:\\:createTopic\\(\\) should return bool but returns null\\.$#"
count: 1
path: src/Sender/FCMTopic.php