Lint PHP code psr-12, add GH action

This commit is contained in:
Julien Nahum
2024-02-23 11:54:12 +01:00
parent e85e4df7fe
commit 62971a2ef4
226 changed files with 2338 additions and 2144 deletions

View File

@@ -5,11 +5,9 @@ namespace App\Providers;
use App\Events\Forms\FormSubmitted;
use App\Events\Models\FormCreated;
use App\Listeners\FailedWebhookListener;
use App\Listeners\Auth\RegisteredListener;
use App\Listeners\Forms\FormCreationConfirmation;
use App\Listeners\Forms\NotifyFormSubmission;
use App\Listeners\Forms\SubmissionConfirmation;
use App\Notifications\Forms\FormCreatedNotification;
use Illuminate\Auth\Events\Registered;
use Illuminate\Auth\Listeners\SendEmailVerificationNotification;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
@@ -28,15 +26,15 @@ class EventServiceProvider extends ServiceProvider
SendEmailVerificationNotification::class,
],
FormCreated::class => [
FormCreationConfirmation::class
FormCreationConfirmation::class,
],
FormSubmitted::class => [
NotifyFormSubmission::class,
SubmissionConfirmation::class,
],
WebhookCallFailedEvent::class => [
FailedWebhookListener::class
]
FailedWebhookListener::class,
],
];
/**