-
Notifications
You must be signed in to change notification settings - Fork 1
/
.baseline-phpstan.neon
176 lines (142 loc) · 7.41 KB
/
.baseline-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
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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
parameters:
ignoreErrors:
-
message: "#^Method SerendipityHQ\\\\Component\\\\ValueObjects\\\\Address\\\\Address\\:\\:__set\\(\\) has parameter \\$value with no type specified\\.$#"
count: 1
path: src/Address/Address.php
-
message: "#^Method SerendipityHQ\\\\Component\\\\ValueObjects\\\\Address\\\\Address\\:\\:getValueObject\\(\\) has no return type specified\\.$#"
count: 1
path: src/Address/Address.php
-
message: "#^Property SerendipityHQ\\\\Component\\\\ValueObjects\\\\Address\\\\Address\\:\\:\\$valueObject has no type specified\\.$#"
count: 1
path: src/Address/Address.php
-
message: "#^Class SerendipityHQ\\\\Component\\\\ValueObjects\\\\Address\\\\Bridge\\\\Symfony\\\\Form\\\\DataTransformer\\\\AddressTransformer implements generic interface Symfony\\\\Component\\\\Form\\\\DataTransformerInterface but does not specify its types\\: TValue, TTransformedValue$#"
count: 1
path: src/Address/Bridge/Symfony/Form/DataTransformer/AddressTransformer.php
-
message: "#^Method SerendipityHQ\\\\Component\\\\ValueObjects\\\\Common\\\\ComplexValueObjectInterface\\:\\:getValueObject\\(\\) has no return type specified\\.$#"
count: 1
path: src/Common/ComplexValueObjectInterface.php
-
message: "#^Method SerendipityHQ\\\\Component\\\\ValueObjects\\\\Common\\\\ValueObjectInterface\\:\\:__set\\(\\) has parameter \\$value with no type specified\\.$#"
count: 1
path: src/Common/ValueObjectInterface.php
-
message: "#^Method SerendipityHQ\\\\Component\\\\ValueObjects\\\\CurrencyExchangeRate\\\\CurrencyExchangeRate\\:\\:__set\\(\\) has parameter \\$value with no type specified\\.$#"
count: 1
path: src/CurrencyExchangeRate/CurrencyExchangeRate.php
-
message: "#^Method SerendipityHQ\\\\Component\\\\ValueObjects\\\\CurrencyExchangeRate\\\\CurrencyExchangeRate\\:\\:getValueObject\\(\\) has no return type specified\\.$#"
count: 1
path: src/CurrencyExchangeRate/CurrencyExchangeRate.php
-
message: "#^Property SerendipityHQ\\\\Component\\\\ValueObjects\\\\CurrencyExchangeRate\\\\CurrencyExchangeRate\\:\\:\\$valueObject has no type specified\\.$#"
count: 1
path: src/CurrencyExchangeRate/CurrencyExchangeRate.php
-
message: "#^Parameter \\#1 \\$value of class SerendipityHQ\\\\Component\\\\ValueObjects\\\\Email\\\\Email constructor expects string, mixed given\\.$#"
count: 1
path: src/Email/Bridge/Doctrine/EmailType.php
-
message: "#^Method SerendipityHQ\\\\Component\\\\ValueObjects\\\\Email\\\\Email\\:\\:__set\\(\\) has parameter \\$value with no type specified\\.$#"
count: 1
path: src/Email/Email.php
-
message: "#^Method SerendipityHQ\\\\Component\\\\ValueObjects\\\\Ip\\\\Ip\\:\\:__set\\(\\) has parameter \\$value with no type specified\\.$#"
count: 1
path: src/Ip/Ip.php
-
message: "#^Class SerendipityHQ\\\\Component\\\\ValueObjects\\\\Money\\\\Bridge\\\\Symfony\\\\Form\\\\DataTransformer\\\\MoneyTransformer implements generic interface Symfony\\\\Component\\\\Form\\\\DataTransformerInterface but does not specify its types\\: TValue, TTransformedValue$#"
count: 1
path: src/Money/Bridge/Symfony/Form/DataTransformer/MoneyTransformer.php
-
message: "#^Method SerendipityHQ\\\\Component\\\\ValueObjects\\\\Money\\\\Money\\:\\:__set\\(\\) has parameter \\$value with no type specified\\.$#"
count: 1
path: src/Money/Money.php
-
message: "#^Method SerendipityHQ\\\\Component\\\\ValueObjects\\\\Money\\\\Money\\:\\:getValueObject\\(\\) has no return type specified\\.$#"
count: 1
path: src/Money/Money.php
-
message: "#^Parameter \\#1 \\$amount of class Money\\\\Money constructor expects int\\|numeric\\-string, string given\\.$#"
count: 2
path: src/Money/Money.php
-
message: "#^Parameter \\#1 \\$code of class Money\\\\Currency constructor expects non\\-empty\\-string, string given\\.$#"
count: 1
path: src/Money/Money.php
-
message: "#^Property SerendipityHQ\\\\Component\\\\ValueObjects\\\\Money\\\\Money\\:\\:\\$valueObject has no type specified\\.$#"
count: 1
path: src/Money/Money.php
-
message: "#^Method SerendipityHQ\\\\Component\\\\ValueObjects\\\\Payment\\\\Payment\\:\\:__set\\(\\) has parameter \\$value with no type specified\\.$#"
count: 1
path: src/Payment/Payment.php
-
message: "#^Method SerendipityHQ\\\\Component\\\\ValueObjects\\\\Payment\\\\Payment\\:\\:getValueObject\\(\\) has no return type specified\\.$#"
count: 1
path: src/Payment/Payment.php
-
message: "#^Property SerendipityHQ\\\\Component\\\\ValueObjects\\\\Payment\\\\Payment\\:\\:\\$valueObject has no type specified\\.$#"
count: 1
path: src/Payment/Payment.php
-
message: "#^Method SerendipityHQ\\\\Component\\\\ValueObjects\\\\Phone\\\\Phone\\:\\:__set\\(\\) has parameter \\$value with no type specified\\.$#"
count: 1
path: src/Phone/Phone.php
-
message: "#^Method SerendipityHQ\\\\Component\\\\ValueObjects\\\\Phone\\\\Phone\\:\\:getValueObject\\(\\) has no return type specified\\.$#"
count: 1
path: src/Phone/Phone.php
-
message: "#^Property SerendipityHQ\\\\Component\\\\ValueObjects\\\\Phone\\\\Phone\\:\\:\\$valueObject has no type specified\\.$#"
count: 1
path: src/Phone/Phone.php
-
message: "#^Method SerendipityHQ\\\\Component\\\\ValueObjects\\\\Tax\\\\Tax\\:\\:__set\\(\\) has parameter \\$value with no type specified\\.$#"
count: 1
path: src/Tax/Tax.php
-
message: "#^Method SerendipityHQ\\\\Component\\\\ValueObjects\\\\Tax\\\\Tax\\:\\:getValueObject\\(\\) has no return type specified\\.$#"
count: 1
path: src/Tax/Tax.php
-
message: "#^Property SerendipityHQ\\\\Component\\\\ValueObjects\\\\Tax\\\\Tax\\:\\:\\$valueObject has no type specified\\.$#"
count: 1
path: src/Tax/Tax.php
-
message: "#^Method SerendipityHQ\\\\Component\\\\ValueObjects\\\\Uri\\\\Bridge\\\\Doctrine\\\\UriType\\:\\:convertToPHPValue\\(\\) should return SerendipityHQ\\\\Component\\\\ValueObjects\\\\Uri\\\\Uri\\|string\\|null but returns SerendipityHQ\\\\Component\\\\ValueObjects\\\\Uri\\\\UriInterface\\.$#"
count: 1
path: src/Uri/Bridge/Doctrine/UriType.php
-
message: "#^Method SerendipityHQ\\\\Component\\\\ValueObjects\\\\Uri\\\\Uri\\:\\:__set\\(\\) has parameter \\$value with no type specified\\.$#"
count: 1
path: src/Uri/Uri.php
-
message: "#^Method SerendipityHQ\\\\Component\\\\ValueObjects\\\\Vat\\\\VatNumber\\:\\:__set\\(\\) has parameter \\$value with no type specified\\.$#"
count: 1
path: src/Vat/VatNumber.php
-
message: "#^Method SerendipityHQ\\\\Component\\\\ValueObjects\\\\Vat\\\\VatNumber\\:\\:getValueObject\\(\\) has no return type specified\\.$#"
count: 1
path: src/Vat/VatNumber.php
-
message: "#^Property SerendipityHQ\\\\Component\\\\ValueObjects\\\\Vat\\\\VatNumber\\:\\:\\$valueObject has no type specified\\.$#"
count: 1
path: src/Vat/VatNumber.php
-
message: "#^Method SerendipityHQ\\\\Component\\\\ValueObjects\\\\Vat\\\\VatRate\\:\\:__set\\(\\) has parameter \\$value with no type specified\\.$#"
count: 1
path: src/Vat/VatRate.php
-
message: "#^Property SerendipityHQ\\\\Component\\\\ValueObjects\\\\Tests\\\\Money\\\\Bridge\\\\Doctrine\\\\MoneyTypeTest\\:\\:\\$platform is never read, only written\\.$#"
count: 1
path: tests/Money/Bridge/Doctrine/MoneyTypeTest.php
-
message: "#^Return type of call to method PHPUnit\\\\Framework\\\\TestCase\\:\\:createMock\\(\\) contains unresolvable type\\.$#"
count: 1
path: tests/Tax/TaxTest.php