-
Notifications
You must be signed in to change notification settings - Fork 11.6k
Closed
Description
- Laravel Version: 5.4.19 (and all later)
- PHP Version: 7.1.1
Description:
The commit ebe568c causes the provided tests to fail in 5.4.19. The test works in 5.4.18.
Steps To Reproduce:
class ZomgTest extends TestCase {
use CreatesApplication;
public function testZomg() {
$this->app->build(ZomgService::class);
$this->assertTrue(true); // make phpunit happy
}
}
class ZomgService {
public function __construct(ZomgRepository $userRepository) {
}
}
class ZomgRepository {
}
Result:
ErrorException: array_key_exists() expects parameter 2 to be array, boolean given
~/vendor/laravel/framework/src/Illuminate/Container/Container.php:794
~/vendor/laravel/framework/src/Illuminate/Container/Container.php:769
~/vendor/laravel/framework/src/Illuminate/Container/Container.php:746
~/tests/ZomgTest.php:14
joshmanders, Zn4rK and antonkomarev
Metadata
Metadata
Assignees
Labels
No labels