Open tanthammar opened 2 years ago
Yes, indeed the Pest function cannot be static since they internally rely on an actual class instance. Maybe you can get rid of these warning with a $this
used in the test but this look bad in my opinion to have $this
on such tests (not really logic to see $this
on a code we didn't explicitly tell it was a class).
Any news about the fact this would be considered or not? 😄
EDIT: I guess it has to deal with this file
Description (screenshot):
Would be great if this plugin could be more compatible with Laravel Pest. The function example cannot be static...
https://pestphp.com/docs/plugins/livewire