@@ -127,49 +127,45 @@ public function testRule(): void
127127 'Parameter #1 $s of method DataProviderDataTest\TestInvalidVariadic2::testFoo() expects string, int given. ' ,
128128 318 ,
129129 ],
130- [
131- 'Parameter $si of method DataProviderDataTest\TestArrayShapeIterable::testBar() expects int, string given. ' ,
132- 332 ,
133- ],
134130 [
135131 'Parameter #1 $i of method DataProviderDataTest\TestArrayIterator::testBar() expects int, int|string given. ' ,
136- 382 ,
132+ 362 ,
137133 ],
138134 [
139135 'Parameter #1 $i of method DataProviderDataTest\TestArrayIterator::testFoo() expects int, int|string given. ' ,
140- 382 ,
136+ 362 ,
141137 ],
142138 [
143139 'Parameter #1 $s1 of method DataProviderDataTest\TestArrayIterator::testFooBar() expects string, int|string given. ' ,
144- 382 ,
140+ 362 ,
145141 ],
146142 [
147143 'Parameter #1 $si of method DataProviderDataTest\TestWrongTypedIterable::testBar() expects int, string given. ' ,
148- 400 ,
144+ 380 ,
149145 ],
150146 [
151147 'Parameter #2 $input of method DataProviderDataTest\AbstractBaseTest::testWithAttribute() expects string, int given. ' ,
152- 427 ,
148+ 407 ,
153149 ],
154150 [
155151 'Parameter #2 $input of method DataProviderDataTest\AbstractBaseTest::testWithAttribute() expects string, false given. ' ,
156- 431 ,
152+ 411 ,
157153 ],
158154 [
159155 'Parameter #2 $input of method DataProviderDataTest\ConstantArrayUnionTypeReturnTest::testFoo() expects string, int given. ' ,
160- 466 ,
156+ 446 ,
161157 ],
162158 [
163159 'Method DataProviderDataTest\ConstantArrayDifferentLengthUnionTypeReturnTest::testFoo() invoked with 3 parameters, 2 required. ' ,
164- 504 ,
160+ 484 ,
165161 ],
166162 [
167163 'Parameter #2 $input of method DataProviderDataTest\ConstantArrayDifferentLengthUnionTypeReturnTest::testFoo() expects string, int given. ' ,
168- 504 ,
164+ 484 ,
169165 ],
170166 [
171167 'Parameter #2 $input of method DataProviderDataTest\ConstantArrayUnionWithDifferentValueTypeReturnTest::testFoo() expects string, int|string given. ' ,
172- 537 ,
168+ 517 ,
173169 ],
174170 ]);
175171 }
@@ -190,13 +186,17 @@ public function testRulePhp8(): void
190186 44
191187 ],
192188 [
193- 'Unknown parameter $wrong in call to method DataProviderDataTestPhp8\TestArrayShapeIterable ::testBar(). ' ,
189+ 'Unknown parameter $wrong in call to method DataProviderDataTestPhp8\TestWrongOffsetNameArrayShapeIterable ::testBar(). ' ,
194190 58
195191 ],
196192 [
197- 'Missing parameter $si (int) in call to method DataProviderDataTestPhp8\TestArrayShapeIterable ::testBar(). ' ,
193+ 'Missing parameter $si (int) in call to method DataProviderDataTestPhp8\TestWrongOffsetNameArrayShapeIterable ::testBar(). ' ,
198194 58
199195 ],
196+ [
197+ 'Parameter $si of method DataProviderDataTestPhp8\TestWrongTypeInArrayShapeIterable::testBar() expects int, string given. ' ,
198+ 79
199+ ],
200200 ]);
201201 }
202202
0 commit comments