Summer Sale! All accounts are 50% off this week.

russellxu's avatar

Pest doesn't have IDE support?

When writing test using PEST, it seems like phpstorm doesn't give me hint when I use $this-> in the test function. like this:

it('true', function(){
    $this->xxx
});

so how to fix it ?

0 likes
2 replies
Sinnbeck's avatar
Sinnbeck
Best Answer
Level 102

Do you have the pest plugin installed ? It works for me, so it should be possible

russellxu's avatar

@Sinnbeck It do have a plugin, I installed it and it worked! Thank you very much, sir.

Please or to participate in this conversation.