| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 37 | public function can_batch_iterate(): void |
||
| 38 | { |
||
| 39 | $result = $this->createResultWithItems(2)->batchProcessor(); |
||
| 40 | |||
| 41 | $this->assertCount(2, $result); |
||
| 42 | $this->assertSame([ |
||
| 43 | [ |
||
| 44 | 'id' => 1, |
||
| 45 | 'my_value' => 'value 1', |
||
| 46 | ], |
||
| 47 | [ |
||
| 48 | 'id' => 2, |
||
| 49 | 'my_value' => 'value 2', |
||
| 50 | ], |
||
| 51 | ], \iterator_to_array($result)); |
||
| 52 | } |
||
| 71 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.