-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathphpstan-baseline.neon
91 lines (77 loc) · 3.87 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
parameters:
ignoreErrors:
-
message: '#^Call to an undefined method PHPUnit\\Framework\\MockObject\\Generator\\Generator\:\:getMock\(\)\.$#'
identifier: method.notFound
count: 1
path: src/Constraint/ValueProvider/Compound/InstanceProvider.php
-
message: '#^Call to function method_exists\(\) with ''PHPUnit\\\\Runner\\\\Version'' and ''majorVersionNumber'' will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: src/Constraint/ValueProvider/Compound/InstanceProvider.php
-
message: '#^Call to function method_exists\(\) with PHPUnit\\Framework\\MockObject\\Generator\\Generator and ''testDouble'' will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: src/Constraint/ValueProvider/Compound/InstanceProvider.php
-
message: '#^Call to method getMock\(\) on an unknown class PHPUnit\\Framework\\MockObject\\Generator\.$#'
identifier: class.notFound
count: 1
path: src/Constraint/ValueProvider/Compound/InstanceProvider.php
-
message: '#^Instantiated class PHPUnit\\Framework\\MockObject\\Generator not found\.$#'
identifier: class.notFound
count: 1
path: src/Constraint/ValueProvider/Compound/InstanceProvider.php
-
message: '#^Method DigitalRevolution\\AccessorPairConstraint\\Constraint\\ValueProvider\\Compound\\InstanceProvider\:\:getMockObject\(\) should return object but returns mixed\.$#'
identifier: return.type
count: 1
path: src/Constraint/ValueProvider/Compound/InstanceProvider.php
-
message: '#^Parameter \#3 \$methods of method PHPUnit\\Framework\\MockObject\\Generator\\Generator\:\:testDouble\(\) expects array\|null, true given\.$#'
identifier: argument.type
count: 1
path: src/Constraint/ValueProvider/Compound/InstanceProvider.php
-
message: '#^Parameter \#5 \$mockClassName of method PHPUnit\\Framework\\MockObject\\Generator\\Generator\:\:testDouble\(\) expects string, array given\.$#'
identifier: argument.type
count: 1
path: src/Constraint/ValueProvider/Compound/InstanceProvider.php
-
message: '#^Parameter \#6 \$callOriginalConstructor of method PHPUnit\\Framework\\MockObject\\Generator\\Generator\:\:testDouble\(\) expects bool, string given\.$#'
identifier: argument.type
count: 1
path: src/Constraint/ValueProvider/Compound/InstanceProvider.php
-
message: '#^Call to an undefined method PHPUnit\\Framework\\MockObject\\Generator\\Generator\:\:getMockForAbstractClass\(\)\.$#'
identifier: method.notFound
count: 1
path: src/Constraint/ValueProvider/Compound/IntersectionProvider.php
-
message: '#^Call to function method_exists\(\) with PHPUnit\\Framework\\MockObject\\Generator\\Generator and ''mockObjectForAbstra…'' will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: src/Constraint/ValueProvider/Compound/IntersectionProvider.php
-
message: '#^Call to method getMockForAbstractClass\(\) on an unknown class PHPUnit\\Framework\\MockObject\\Generator\.$#'
identifier: class.notFound
count: 1
path: src/Constraint/ValueProvider/Compound/IntersectionProvider.php
-
message: '#^Instantiated class PHPUnit\\Framework\\MockObject\\Generator not found\.$#'
identifier: class.notFound
count: 1
path: src/Constraint/ValueProvider/Compound/IntersectionProvider.php
-
message: '#^Call to function array_filter\(\) requires parameter \#2 to be passed to avoid loose comparison semantics\.$#'
identifier: arrayFilter.strict
count: 1
path: src/Constraint/ValueProvider/Pseudo/NonEmptyValueProvider.php
-
message: '#^Parameter \#1 \$typehint of class DigitalRevolution\\AccessorPairConstraint\\Constraint\\ValueProvider\\Compound\\InstanceProvider constructor expects class\-string, string given\.$#'
identifier: argument.type
count: 1
path: tests/Unit/Constraint/ValueProvider/Compound/InstanceProviderTest.php