-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathphpstan-baseline.neon
82 lines (66 loc) · 4.13 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 an undefined method Symfony\\\\Component\\\\Messenger\\\\Stamp\\\\RedeliveryStamp\\:\\:getExceptionMessage\\(\\)\\.$#"
count: 1
path: src/Extension/DocumentEnhancer/FirstErrorMessageEnhancer.php
-
message: "#^Call to an undefined method Symfony\\\\Component\\\\Messenger\\\\Stamp\\\\RedeliveryStamp\\:\\:getExceptionMessage\\(\\)\\.$#"
count: 1
path: src/Extension/DocumentEnhancer/LastErrorMessageEnhancer.php
-
message: "#^Method Facile\\\\MongoDbMessenger\\\\Transport\\\\Connection\\:\\:find\\(\\) should return MongoDB\\\\Model\\\\BSONDocument\\|null but returns array\\|object\\|null\\.$#"
count: 1
path: src/Transport/Connection.php
-
message: "#^Method Facile\\\\MongoDbMessenger\\\\Transport\\\\Connection\\:\\:findBy\\(\\) should return iterable\\<MongoDB\\\\Model\\\\BSONDocument\\>&MongoDB\\\\Driver\\\\Cursor but returns#"
count: 1
path: src/Transport/Connection.php
-
message: "#^Method Facile\\\\MongoDbMessenger\\\\Transport\\\\Connection\\:\\:send\\(\\) should return MongoDB\\\\BSON\\\\ObjectId but returns mixed\\.$#"
count: 1
path: src/Transport/Connection.php
-
message: "#^Method Facile\\\\MongoDbMessenger\\\\Transport\\\\TransportFactory\\:\\:buildConfiguration\\(\\) should return array\\{connection_name\\: string, collection_name\\: string, queue_name\\: string, redeliver_timeout\\: int, document_enhancers\\: array\\<string\\>, resettable\\: 0\\|1\\|bool\\} but returns non\\-empty\\-array\\<int\\|string, mixed\\>\\.$#"
count: 1
path: src/Transport/TransportFactory.php
-
message: "#^Parameter \\#1 \\$enhancers of method Facile\\\\MongoDbMessenger\\\\Transport\\\\TransportFactory\\:\\:validateDocumentEnhancers\\(\\) expects array\\<string\\>, mixed given\\.$#"
count: 1
path: src/Transport/TransportFactory.php
-
message: "#^Strict comparison using \\=\\=\\= between object and null will always evaluate to false\\.$#"
count: 1
path: src/Transport/TransportFactory.php
-
message: "#^Call to an undefined method Symfony\\\\Component\\\\Messenger\\\\Stamp\\\\RedeliveryStamp\\:\\:getExceptionMessage\\(\\)\\.$#"
count: 2
path: src/Util/RedeliveryStampExtractor.php
-
message: "#^Method Facile\\\\MongoDbMessenger\\\\Tests\\\\End2End\\\\App\\\\ObjectNormalizerDecorator\\:\\:doNormalize\\(\\) return type with generic class ArrayObject does not specify its types\\: TKey, TValue$#"
count: 1
path: tests/End2End/App/ObjectNormalizerDecorator.php
-
message: "#^Method Facile\\\\MongoDbMessenger\\\\Tests\\\\End2End\\\\App\\\\ObjectNormalizerDecorator\\:\\:doNormalize\\(\\) should return \\(ArrayObject&iterable\\)\\|bool\\|float\\|int\\|string\\|null but returns array\\|ArrayObject\\|bool\\|float\\|int\\|string\\|null\\.$#"
count: 1
path: tests/End2End/App/ObjectNormalizerDecorator.php
-
message: "#^Method Facile\\\\MongoDbMessenger\\\\Tests\\\\End2End\\\\App\\\\SuppressDeprecationNormalizer\\:\\:normalize\\(\\) return type with generic class ArrayObject does not specify its types\\: TKey, TValue$#"
count: 1
path: tests/End2End/App/SuppressDeprecationNormalizer.php7.php
-
message: "#^Method Facile\\\\MongoDbMessenger\\\\Tests\\\\End2End\\\\App\\\\SuppressDeprecationNormalizer\\:\\:normalize\\(\\) return type with generic class ArrayObject does not specify its types\\: TKey, TValue$#"
count: 1
path: tests/End2End/App/SuppressDeprecationNormalizer.php8.php
-
message: "#^Parameter \\#1 \\$id of method Facile\\\\MongoDbMessenger\\\\Transport\\\\MongoDbUnresettableTransport\\:\\:find\\(\\) expects MongoDB\\\\BSON\\\\ObjectId\\|string, mixed given\\.$#"
count: 1
path: tests/Functional/Transport/MongoDbTransportTest.php
-
message: "#^Constructor of class Facile\\\\MongoDbMessenger\\\\Tests\\\\Stubs\\\\NotInstantiableDocumentEnhancer has an unused parameter \\$bar\\.$#"
count: 1
path: tests/Stubs/NotInstantiableDocumentEnhancer.php
-
message: "#^Constructor of class Facile\\\\MongoDbMessenger\\\\Tests\\\\Stubs\\\\NotInstantiableDocumentEnhancer has an unused parameter \\$foo\\.$#"
count: 1
path: tests/Stubs/NotInstantiableDocumentEnhancer.php