|
1 | 1 | parameters: |
2 | 2 | ignoreErrors: |
3 | 3 | - |
4 | | - message: "#^Method Bigcommerce\\\\Injector\\\\Adapter\\\\ArrayContainerAdapter\\:\\:__construct\\(\\) has parameter \\$arrayContainer with generic interface ArrayAccess but does not specify its types\\: TKey, TValue$#" |
| 4 | + message: '#^Method Bigcommerce\\Injector\\Adapter\\ArrayContainerAdapter\:\:__construct\(\) has parameter \$arrayContainer with generic interface ArrayAccess but does not specify its types\: TKey, TValue$#' |
| 5 | + identifier: missingType.generics |
5 | 6 | count: 1 |
6 | 7 | path: ../src/Adapter/ArrayContainerAdapter.php |
7 | 8 |
|
8 | 9 | - |
9 | | - message: "#^Method Bigcommerce\\\\Injector\\\\Adapter\\\\ArrayContainerAdapter\\:\\:__construct\\(\\) has parameter \\$arrayContainer with no value type specified in iterable type array\\.$#" |
| 10 | + message: '#^Method Bigcommerce\\Injector\\Adapter\\ArrayContainerAdapter\:\:__construct\(\) has parameter \$arrayContainer with no value type specified in iterable type array\.$#' |
| 11 | + identifier: missingType.iterableValue |
10 | 12 | count: 1 |
11 | 13 | path: ../src/Adapter/ArrayContainerAdapter.php |
12 | 14 |
|
13 | 15 | - |
14 | | - message: "#^Property Bigcommerce\\\\Injector\\\\Adapter\\\\ArrayContainerAdapter\\:\\:\\$arrayContainer type has no value type specified in iterable type array\\.$#" |
| 16 | + message: '#^Property Bigcommerce\\Injector\\Adapter\\ArrayContainerAdapter\:\:\$arrayContainer type has no value type specified in iterable type array\.$#' |
| 17 | + identifier: missingType.iterableValue |
15 | 18 | count: 1 |
16 | 19 | path: ../src/Adapter/ArrayContainerAdapter.php |
17 | 20 |
|
18 | 21 | - |
19 | | - message: "#^Property Bigcommerce\\\\Injector\\\\Adapter\\\\ArrayContainerAdapter\\:\\:\\$arrayContainer with generic interface ArrayAccess does not specify its types\\: TKey, TValue$#" |
| 22 | + message: '#^Property Bigcommerce\\Injector\\Adapter\\ArrayContainerAdapter\:\:\$arrayContainer with generic interface ArrayAccess does not specify its types\: TKey, TValue$#' |
| 23 | + identifier: missingType.generics |
20 | 24 | count: 1 |
21 | 25 | path: ../src/Adapter/ArrayContainerAdapter.php |
22 | 26 |
|
23 | 27 | - |
24 | | - message: "#^Method Bigcommerce\\\\Injector\\\\Injector\\:\\:buildParameterArray\\(\\) has parameter \\$methodSignature with no value type specified in iterable type array\\.$#" |
| 28 | + message: '#^Call to function is_object\(\) with object will always evaluate to true\.$#' |
| 29 | + identifier: function.alreadyNarrowedType |
25 | 30 | count: 1 |
26 | 31 | path: ../src/Injector.php |
27 | 32 |
|
28 | 33 | - |
29 | | - message: "#^Method Bigcommerce\\\\Injector\\\\Injector\\:\\:buildParameterArray\\(\\) has parameter \\$providedParameters with no value type specified in iterable type array\\.$#" |
| 34 | + message: '#^Method Bigcommerce\\Injector\\Injector\:\:buildParameterArray\(\) has Bigcommerce\\Injector\\Exception\\InjectorInvocationException in PHPDoc @throws tag but it''s not thrown\.$#' |
| 35 | + identifier: throws.unusedType |
30 | 36 | count: 1 |
31 | 37 | path: ../src/Injector.php |
32 | 38 |
|
33 | 39 | - |
34 | | - message: "#^Method Bigcommerce\\\\Injector\\\\Injector\\:\\:buildParameterArray\\(\\) return type has no value type specified in iterable type array\\.$#" |
| 40 | + message: '#^Method Bigcommerce\\Injector\\Injector\:\:buildParameterArray\(\) has InvalidArgumentException in PHPDoc @throws tag but it''s not thrown\.$#' |
| 41 | + identifier: throws.unusedType |
35 | 42 | count: 1 |
36 | 43 | path: ../src/Injector.php |
37 | 44 |
|
38 | 45 | - |
39 | | - message: "#^Method Bigcommerce\\\\Injector\\\\Injector\\:\\:create\\(\\) has parameter \\$parameters with no value type specified in iterable type array\\.$#" |
| 46 | + message: '#^Method Bigcommerce\\Injector\\Injector\:\:buildParameterArray\(\) has ReflectionException in PHPDoc @throws tag but it''s not thrown\.$#' |
| 47 | + identifier: throws.unusedType |
40 | 48 | count: 1 |
41 | 49 | path: ../src/Injector.php |
42 | 50 |
|
43 | 51 | - |
44 | | - message: "#^Method Bigcommerce\\\\Injector\\\\Injector\\:\\:getAutoCreateWhiteList\\(\\) has invalid return type string\\.$#" |
| 52 | + message: '#^Method Bigcommerce\\Injector\\Injector\:\:buildParameterArray\(\) has parameter \$methodSignature with no value type specified in iterable type array\.$#' |
| 53 | + identifier: missingType.iterableValue |
45 | 54 | count: 1 |
46 | 55 | path: ../src/Injector.php |
47 | 56 |
|
48 | 57 | - |
49 | | - message: "#^Method Bigcommerce\\\\Injector\\\\Injector\\:\\:getAutoCreateWhiteList\\(\\) should return array\\<string\\> but returns array\\<string\\>\\.$#" |
| 58 | + message: '#^Method Bigcommerce\\Injector\\Injector\:\:buildParameterArray\(\) has parameter \$providedParameters with no value type specified in iterable type array\.$#' |
| 59 | + identifier: missingType.iterableValue |
50 | 60 | count: 1 |
51 | 61 | path: ../src/Injector.php |
52 | 62 |
|
53 | 63 | - |
54 | | - message: "#^Method Bigcommerce\\\\Injector\\\\Injector\\:\\:invoke\\(\\) has parameter \\$parameters with no value type specified in iterable type array\\.$#" |
| 64 | + message: '#^Method Bigcommerce\\Injector\\Injector\:\:buildParameterArray\(\) return type has no value type specified in iterable type array\.$#' |
| 65 | + identifier: missingType.iterableValue |
55 | 66 | count: 1 |
56 | 67 | path: ../src/Injector.php |
57 | 68 |
|
58 | 69 | - |
59 | | - message: "#^Method Bigcommerce\\\\Injector\\\\Injector\\:\\:resolveParameter\\(\\) has parameter \\$parameterData with no value type specified in iterable type array\\.$#" |
| 70 | + message: '#^Method Bigcommerce\\Injector\\Injector\:\:create\(\) has parameter \$parameters with no value type specified in iterable type array\.$#' |
| 71 | + identifier: missingType.iterableValue |
60 | 72 | count: 1 |
61 | 73 | path: ../src/Injector.php |
62 | 74 |
|
63 | 75 | - |
64 | | - message: "#^Method Bigcommerce\\\\Injector\\\\Injector\\:\\:resolveParameter\\(\\) has parameter \\$providedParameters with no value type specified in iterable type array\\.$#" |
| 76 | + message: '#^Method Bigcommerce\\Injector\\Injector\:\:getAutoCreateWhiteList\(\) has invalid return type string\.$#' |
| 77 | + identifier: class.notFound |
65 | 78 | count: 1 |
66 | 79 | path: ../src/Injector.php |
67 | 80 |
|
68 | 81 | - |
69 | | - message: "#^Method Bigcommerce\\\\Injector\\\\InjectorInterface\\:\\:create\\(\\) has parameter \\$parameters with no value type specified in iterable type array\\.$#" |
| 82 | + message: '#^Method Bigcommerce\\Injector\\Injector\:\:getAutoCreateWhiteList\(\) should return array\<string\> but returns array\<string\>\.$#' |
| 83 | + identifier: return.type |
| 84 | + count: 1 |
| 85 | + path: ../src/Injector.php |
| 86 | + |
| 87 | + - |
| 88 | + message: '#^Method Bigcommerce\\Injector\\Injector\:\:invoke\(\) has parameter \$parameters with no value type specified in iterable type array\.$#' |
| 89 | + identifier: missingType.iterableValue |
| 90 | + count: 1 |
| 91 | + path: ../src/Injector.php |
| 92 | + |
| 93 | + - |
| 94 | + message: '#^Method Bigcommerce\\Injector\\Injector\:\:resolveParameter\(\) has parameter \$parameterData with no value type specified in iterable type array\.$#' |
| 95 | + identifier: missingType.iterableValue |
| 96 | + count: 1 |
| 97 | + path: ../src/Injector.php |
| 98 | + |
| 99 | + - |
| 100 | + message: '#^Method Bigcommerce\\Injector\\Injector\:\:resolveParameter\(\) has parameter \$providedParameters with no value type specified in iterable type array\.$#' |
| 101 | + identifier: missingType.iterableValue |
| 102 | + count: 1 |
| 103 | + path: ../src/Injector.php |
| 104 | + |
| 105 | + - |
| 106 | + message: '#^Method Bigcommerce\\Injector\\InjectorInterface\:\:create\(\) has parameter \$parameters with no value type specified in iterable type array\.$#' |
| 107 | + identifier: missingType.iterableValue |
70 | 108 | count: 1 |
71 | 109 | path: ../src/InjectorInterface.php |
72 | 110 |
|
73 | 111 | - |
74 | | - message: "#^Method Bigcommerce\\\\Injector\\\\InjectorInterface\\:\\:invoke\\(\\) has parameter \\$parameters with no value type specified in iterable type array\\.$#" |
| 112 | + message: '#^Method Bigcommerce\\Injector\\InjectorInterface\:\:invoke\(\) has parameter \$parameters with no value type specified in iterable type array\.$#' |
| 113 | + identifier: missingType.iterableValue |
75 | 114 | count: 1 |
76 | 115 | path: ../src/InjectorInterface.php |
77 | 116 |
|
78 | 117 | - |
79 | | - message: "#^Method Bigcommerce\\\\Injector\\\\InjectorServiceProvider\\:\\:create\\(\\) has parameter \\$parameters with no value type specified in iterable type array\\.$#" |
| 118 | + message: '#^Method Bigcommerce\\Injector\\InjectorServiceProvider\:\:create\(\) has parameter \$parameters with no value type specified in iterable type array\.$#' |
| 119 | + identifier: missingType.iterableValue |
| 120 | + count: 1 |
| 121 | + path: ../src/InjectorServiceProvider.php |
| 122 | + |
| 123 | + - |
| 124 | + message: '#^Method Bigcommerce\\Injector\\InjectorServiceProvider\:\:get\(\) has InvalidArgumentException in PHPDoc @throws tag but it''s not thrown\.$#' |
| 125 | + identifier: throws.unusedType |
80 | 126 | count: 1 |
81 | 127 | path: ../src/InjectorServiceProvider.php |
82 | 128 |
|
83 | 129 | - |
84 | | - message: "#^Call to an undefined method ReflectionType\\:\\:getName\\(\\)\\.$#" |
| 130 | + message: '#^Call to an undefined method ReflectionType\:\:getName\(\)\.$#' |
| 131 | + identifier: method.notFound |
85 | 132 | count: 1 |
86 | 133 | path: ../src/Reflection/ParameterInspector.php |
87 | 134 |
|
88 | 135 | - |
89 | | - message: "#^Call to an undefined method ReflectionType\\:\\:isBuiltin\\(\\)\\.$#" |
| 136 | + message: '#^Call to an undefined method ReflectionType\:\:isBuiltin\(\)\.$#' |
| 137 | + identifier: method.notFound |
90 | 138 | count: 1 |
91 | 139 | path: ../src/Reflection/ParameterInspector.php |
92 | 140 |
|
93 | 141 | - |
94 | | - message: "#^Method Bigcommerce\\\\Injector\\\\Reflection\\\\ParameterInspector\\:\\:getMethodSignature\\(\\) has parameter \\$refClass with generic class ReflectionClass but does not specify its types\\: T$#" |
| 142 | + message: '#^Method Bigcommerce\\Injector\\Reflection\\ParameterInspector\:\:getMethodSignature\(\) has parameter \$refClass with generic class ReflectionClass but does not specify its types\: T$#' |
| 143 | + identifier: missingType.generics |
95 | 144 | count: 1 |
96 | 145 | path: ../src/Reflection/ParameterInspector.php |
97 | 146 |
|
98 | 147 | - |
99 | | - message: "#^Method Bigcommerce\\\\Injector\\\\Reflection\\\\ParameterInspector\\:\\:getSignatureByReflectionClass\\(\\) has parameter \\$reflectionClass with generic class ReflectionClass but does not specify its types\\: T$#" |
| 148 | + message: '#^Method Bigcommerce\\Injector\\Reflection\\ParameterInspector\:\:getSignatureByReflectionClass\(\) has parameter \$reflectionClass with generic class ReflectionClass but does not specify its types\: T$#' |
| 149 | + identifier: missingType.generics |
100 | 150 | count: 1 |
101 | 151 | path: ../src/Reflection/ParameterInspector.php |
102 | 152 |
|
103 | 153 | - |
104 | | - message: "#^Anonymous function has an unused use \\$className\\.$#" |
| 154 | + message: '#^Anonymous function has an unused use \$className\.$#' |
| 155 | + identifier: closure.unusedUse |
105 | 156 | count: 1 |
106 | 157 | path: ../src/ServiceProvider/BindingClosureFactory.php |
107 | 158 |
|
108 | 159 | - |
109 | | - message: "#^Parameter \\#2 \\$initializer of method ProxyManager\\\\Factory\\\\LazyLoadingValueHolderFactory\\:\\:createProxy\\(\\) expects Closure\\(object\\|null\\=, ProxyManager\\\\Proxy\\\\VirtualProxyInterface\\=, string\\=, array\\<string, mixed\\>\\=, Closure\\|null\\=\\)\\: bool, Closure\\(mixed, mixed, mixed, mixed, mixed\\)\\: true given\\.$#" |
| 160 | + message: '#^Parameter \#2 \$initializer of method ProxyManager\\Factory\\LazyLoadingValueHolderFactory\:\:createProxy\(\) expects Closure\(object\|null\=, ProxyManager\\Proxy\\VirtualProxyInterface\=, string\=, array\<string, mixed\>\=, Closure\|null\=\)\: bool, Closure\(mixed, mixed, mixed, mixed, mixed\)\: true given\.$#' |
| 161 | + identifier: argument.type |
110 | 162 | count: 1 |
111 | 163 | path: ../src/ServiceProvider/BindingClosureFactory.php |
112 | 164 |
|
113 | 165 | - |
114 | | - message: "#^Unable to resolve the template type RealObjectType in call to method ProxyManager\\\\Factory\\\\LazyLoadingValueHolderFactory\\:\\:createProxy\\(\\)$#" |
| 166 | + message: '#^Unable to resolve the template type RealObjectType in call to method ProxyManager\\Factory\\LazyLoadingValueHolderFactory\:\:createProxy\(\)$#' |
| 167 | + identifier: argument.templateType |
115 | 168 | count: 1 |
116 | 169 | path: ../src/ServiceProvider/BindingClosureFactory.php |
0 commit comments