Describe the bug
When developing using Laravel 8 and creating tests, there is no suggestions for the $response variable, while in Laravel 6 it works as intended.
To Reproduce
Create or edit a test method in a test class and save the response from an HTTP request and try to assert something. For example:
public function testCannotAccessDashboardWithoutLogin()
{
$response = $this->get('/main/admin');
$response->assertRedirect('/main/login');
}
Expected behavior
It should popup the suggestions for possible asserts, as it identifies correctly the $response variable
Screenshots
Working in L6:
Currently fail in L8:
Platform and version
OS: Kubuntu 20.04
Intellephense: 1.7.1
Describe the bug When developing using Laravel 8 and creating tests, there is no suggestions for the
$response
variable, while in Laravel 6 it works as intended.To Reproduce Create or edit a test method in a test class and save the response from an HTTP request and try to assert something. For example:
Expected behavior It should popup the suggestions for possible asserts, as it identifies correctly the $response variable
Screenshots Working in L6:
Currently fail in L8:
Platform and version OS: Kubuntu 20.04 Intellephense: 1.7.1