| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 14 | 
| Code Lines | 8 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 9 | public function testIndex() | ||
| 10 |     { | ||
| 11 |         exec('./bin/console d:d:c --env=test'); | ||
| 12 |         exec('./bin/console d:s:c --env=test'); | ||
| 13 |         exec('./bin/console h:f:l -n --env=test'); | ||
| 14 | |||
| 15 | $client = static::createClient(); | ||
| 16 | |||
| 17 |         $crawler = $client->request('GET', '/login'); | ||
| 18 | |||
| 19 | $this->assertEquals(200, $client->getResponse()->getStatusCode()); | ||
| 20 | |||
| 21 |         $this->assertCount(3, $crawler->filter('input')); | ||
| 22 | } | ||
| 23 | |||
| 39 | 
It seems like the type of the argument is not accepted by the function/method which you are calling.
In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug.
We suggest to add an explicit type cast like in the following example: