I use Pest as my testing harness and phpactor seems to have a problem with finding its imported functions.
For example, in this code, I get a phpactor: Function "get" not found even though the test itself actually works correctly:
use function Pest\Laravel\get;
test('guests are redirected to the login page for admin dashboard', function () {
$response = get(route('admin.dashboard'));
$response->assertRedirect(route('login'));
});
I'm not sure if I'm doing something wrong or if this is a limitation of phpactor. If anyone has any insight, I'd love to hear.
Source:

I use Pest as my testing harness and phpactor seems to have a problem with finding its imported functions.
For example, in this code, I get a
phpactor: Function "get" not foundeven though the test itself actually works correctly:I'm not sure if I'm doing something wrong or if this is a limitation of phpactor. If anyone has any insight, I'd love to hear.
Source:
