You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running php artisan event:list that was introduced in #28085 on an application that doesn't have an app/Listeners directory,
an InvalidArgumentException is thrown from the in method of the Symfony Finder, because it can't find that directory.
I believe this exception will also occur in the EventServiceProvider when shouldDiscoverEvents returns true, because the DiscoverEvents class will be invoked.
Steps To Reproduce:
laravel new blog
cd blog
php artisan event:list
The text was updated successfully, but these errors were encountered:
Description:
When running
php artisan event:list
that was introduced in #28085 on an application that doesn't have anapp/Listeners
directory,an
InvalidArgumentException
is thrown from thein
method of the Symfony Finder, because it can't find that directory.I believe this exception will also occur in the
EventServiceProvider
whenshouldDiscoverEvents
returns true, because theDiscoverEvents
class will be invoked.Steps To Reproduce:
laravel new blog cd blog php artisan event:list
The text was updated successfully, but these errors were encountered: