forked from ddeboer/imap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan-baseline.neon
82 lines (66 loc) · 2.74 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
parameters:
ignoreErrors:
-
message: "#^Call to function is_resource\\(\\) with resource will always evaluate to true\\.$#"
count: 1
path: src/ImapResource.php
-
message: "#^Strict comparison using \\=\\=\\= between false and true will always evaluate to false\\.$#"
count: 1
path: src/ImapResource.php
-
message: "#^Parameter \\#3 \\$reverse of function imap_sort expects int, bool\\|int given\\.$#"
count: 1
path: src/Mailbox.php
-
message: "#^Parameter \\#2 \\$msg_no of function imap_delete expects int, string given\\.$#"
count: 1
path: src/Message.php
-
message: "#^Parameter \\#2 \\$msg_no of function imap_undelete expects int, string given\\.$#"
count: 1
path: src/Message.php
-
message: "#^Call to function base64_decode\\(\\) requires parameter \\#2 to be true\\.$#"
count: 1
path: src/Message/AbstractPart.php
-
message: "#^Strict comparison using \\=\\=\\= between false and string will always evaluate to false\\.$#"
count: 1
path: src/Message/AbstractPart.php
-
message: "#^Call to function is_int\\(\\) with Ddeboer\\\\Imap\\\\MessageInterface will always evaluate to false\\.$#"
count: 1
path: src/MessageIterator.php
-
message: "#^Call to function is_object\\(\\) with Ddeboer\\\\Imap\\\\MessageInterface will always evaluate to true\\.$#"
count: 1
path: src/MessageIterator.php
-
message: "#^Else branch is unreachable because ternary operator condition is always true\\.$#"
count: 1
path: src/MessageIterator.php
-
message: "#^Parameter \\#1 \\$array of method ArrayIterator\\<int,Ddeboer\\\\Imap\\\\MessageInterface\\>\\:\\:__construct\\(\\) expects array\\<int, Ddeboer\\\\Imap\\\\MessageInterface\\>, array\\<int\\> given\\.$#"
count: 1
path: src/MessageIterator.php
-
message: "#^Unreachable statement \\- code above always terminates\\.$#"
count: 1
path: src/MessageIterator.php
-
message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertIsInt\\(\\) with int will always evaluate to true\\.$#"
count: 1
path: tests/ConnectionTest.php
-
message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertIsInt\\(\\) with int\\<0, max\\> will always evaluate to true\\.$#"
count: 1
path: tests/ConnectionTest.php
-
message: "#^Parameter \\#1 \\$resource of class Ddeboer\\\\Imap\\\\ImapResource constructor expects resource, string given\\.$#"
count: 1
path: tests/ConnectionTest.php
-
message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'Ddeboer\\\\\\\\Imap\\\\\\\\Message\\\\\\\\EmailAddress' and Ddeboer\\\\Imap\\\\Message\\\\EmailAddress will always evaluate to true\\.$#"
count: 2
path: tests/MessageTest.php