-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan-baseline.neon
67 lines (54 loc) · 3.67 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
parameters:
ignoreErrors:
-
message: "#^Parameter \\#1 \\$currency of static method BabDev\\\\MoneyBundle\\\\Form\\\\Type\\\\MoneyType\\:\\:getPattern\\(\\) expects Money\\\\Currency, mixed given\\.$#"
count: 1
path: src/Form/Type/MoneyType.php
-
message: "#^Parameter \\#1 \\$scale of class Symfony\\\\Component\\\\Form\\\\Extension\\\\Core\\\\DataTransformer\\\\NumberToLocalizedStringTransformer constructor expects int\\|null, mixed given\\.$#"
count: 1
path: src/Form/Type/MoneyType.php
-
message: "#^Parameter \\#2 \\$grouping of class Symfony\\\\Component\\\\Form\\\\Extension\\\\Core\\\\DataTransformer\\\\NumberToLocalizedStringTransformer constructor expects bool\\|null, mixed given\\.$#"
count: 1
path: src/Form/Type/MoneyType.php
-
message: "#^Parameter \\#3 \\$currency of class BabDev\\\\MoneyBundle\\\\Form\\\\DataTransformer\\\\MoneyToLocalizedStringTransformer constructor expects Money\\\\Currency, mixed given\\.$#"
count: 1
path: src/Form/Type/MoneyType.php
-
message: "#^Parameter \\#3 \\$roundingMode of class Symfony\\\\Component\\\\Form\\\\Extension\\\\Core\\\\DataTransformer\\\\NumberToLocalizedStringTransformer constructor expects int\\|null, mixed given\\.$#"
count: 1
path: src/Form/Type/MoneyType.php
-
message: "#^Parameter \\#1 \\$message of method Symfony\\\\Component\\\\Validator\\\\Context\\\\ExecutionContextInterface\\:\\:buildViolation\\(\\) expects string, string\\|null given\\.$#"
count: 1
path: src/Validator/Constraints/AbstractMoneyComparisonValidator.php
-
message: "#^Parameter \\#2 \\$value of method BabDev\\\\MoneyBundle\\\\Validator\\\\Constraints\\\\AbstractMoneyComparisonValidator\\:\\:ensureMoneyObject\\(\\) expects float\\|int\\|Money\\\\Money\\|numeric\\-string\\|null, mixed given\\.$#"
count: 2
path: src/Validator/Constraints/AbstractMoneyComparisonValidator.php
-
message: "#^Parameter \\#1 \\$format of method BabDev\\\\MoneyBundle\\\\Factory\\\\FormatterFactory\\:\\:createFormatter\\(\\) expects 'aggregate'\\|'bitcoin'\\|'decimal'\\|'intl_localized…'\\|'intl_money', 'unsupported' given\\.$#"
count: 1
path: tests/Factory/FormatterFactoryTest.php
-
message: "#^Parameter \\#1 \\$format of method BabDev\\\\MoneyBundle\\\\Factory\\\\ParserFactory\\:\\:createParser\\(\\) expects 'aggregate'\\|'bitcoin'\\|'decimal'\\|'intl_localized…'\\|'intl_money', 'unsupported' given\\.$#"
count: 1
path: tests/Factory/ParserFactoryTest.php
-
message: "#^Parameter \\#1 \\$value of method BabDev\\\\MoneyBundle\\\\Form\\\\DataTransformer\\\\MoneyToLocalizedStringTransformer\\<Money\\\\Money,string\\>\\:\\:reverseTransform\\(\\) expects string, int given\\.$#"
count: 1
path: tests/Form/DataTransformer/MoneyToLocalizedStringTransformerTest.php
-
message: "#^Parameter \\#1 \\$value of method BabDev\\\\MoneyBundle\\\\Form\\\\DataTransformer\\\\MoneyToLocalizedStringTransformer\\<Money\\\\Money,string\\>\\:\\:transform\\(\\) expects Money\\\\Money\\|null, string given\\.$#"
count: 1
path: tests/Form/DataTransformer/MoneyToLocalizedStringTransformerTest.php
-
message: "#^Parameter \\#2 \\$locale of function setlocale expects string\\|null, bool\\|string given\\.$#"
count: 1
path: tests/Form/DataTransformer/MoneyToLocalizedStringTransformerTest.php
-
message: "#^Parameter \\#4 \\$scaleOrTransformer of class BabDev\\\\MoneyBundle\\\\Form\\\\DataTransformer\\\\MoneyToLocalizedStringTransformer constructor expects int\\|Symfony\\\\Component\\\\Form\\\\Extension\\\\Core\\\\DataTransformer\\\\NumberToLocalizedStringTransformer\\|null, string given\\.$#"
count: 1
path: tests/Form/DataTransformer/MoneyToLocalizedStringTransformerTest.php