| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 26 | public function testClassWillBeFound() |
||
| 27 | { |
||
| 28 | $quessedDependencies = $this->guesser->__invoke(ParserFactory::class); |
||
| 29 | $guessedDependencies = iterator_to_array($quessedDependencies); |
||
| 30 | |||
| 31 | $this->assertCount(1, $guessedDependencies); |
||
| 32 | $this->assertContains('nikic/php-parser', $guessedDependencies); |
||
| 33 | } |
||
| 35 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..