How to detect undefined parameters or variables
nwaughachukwuma opened this issue · comments
Hi @overtrue, is this package able to capture errors for undefined/uninitialized variables? For example
// $user = Auth::user(); <-- commented this out so $user is not initialized in next lin
$user->notify(new NewTicketPurchase());
will the package discover that the $user in second line is not initialized?
Maybe you need this https://github.com/phpstan/phpstan
Awesome @overtrue, thanks!