Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion app/Notifications/AcceptanceItemAcceptedNotification.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@
use AllowDynamicProperties;
use App\Models\Setting;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\MailMessage;
use Illuminate\Notifications\Notification;
use Symfony\Component\Mime\Email;

#[AllowDynamicProperties]
class AcceptanceItemAcceptedNotification extends Notification
class AcceptanceItemAcceptedNotification extends Notification implements ShouldQueue
{
use Queueable;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@
use App\Helpers\Helper;
use App\Models\Setting;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\MailMessage;
use Illuminate\Notifications\Notification;
use Symfony\Component\Mime\Email;

#[AllowDynamicProperties]
class AcceptanceItemAcceptedToUserNotification extends Notification
class AcceptanceItemAcceptedToUserNotification extends Notification implements ShouldQueue
{
use Queueable;

Expand Down
3 changes: 2 additions & 1 deletion app/Notifications/AcceptanceItemDeclinedNotification.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@

use App\Models\Setting;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\MailMessage;
use Illuminate\Notifications\Notification;
use Symfony\Component\Mime\Email;

#[AllowDynamicProperties]
class AcceptanceItemDeclinedNotification extends Notification
class AcceptanceItemDeclinedNotification extends Notification implements ShouldQueue
{
use Queueable;

Expand Down
3 changes: 2 additions & 1 deletion app/Notifications/AuditNotification.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
use AllowDynamicProperties;
use App\Models\Setting;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Channels\SlackWebhookChannel;
use Illuminate\Notifications\Messages\SlackMessage;
use Illuminate\Notifications\Notification;
Expand All @@ -19,7 +20,7 @@
use NotificationChannels\MicrosoftTeams\MicrosoftTeamsMessage;

#[AllowDynamicProperties]
class AuditNotification extends Notification
class AuditNotification extends Notification implements ShouldQueue

Check warning on line 23 in app/Notifications/AuditNotification.php

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

app/Notifications/AuditNotification.php#L23

The class AuditNotification has a coupling between objects value of 14. Consider to reduce the number of dependencies under 13.
{
use Queueable;

Expand Down
3 changes: 2 additions & 1 deletion app/Notifications/CheckinAccessoryNotification.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
use App\Models\Setting;
use App\Models\User;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Channels\SlackWebhookChannel;
use Illuminate\Notifications\Messages\SlackMessage;
use Illuminate\Notifications\Notification;
Expand All @@ -19,7 +20,7 @@
use NotificationChannels\MicrosoftTeams\MicrosoftTeamsMessage;

#[AllowDynamicProperties]
class CheckinAccessoryNotification extends Notification
class CheckinAccessoryNotification extends Notification implements ShouldQueue

Check warning on line 23 in app/Notifications/CheckinAccessoryNotification.php

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

app/Notifications/CheckinAccessoryNotification.php#L23

The class CheckinAccessoryNotification has a coupling between objects value of 13. Consider to reduce the number of dependencies under 13.
{
use Queueable;

Expand Down
3 changes: 2 additions & 1 deletion app/Notifications/CheckinAssetNotification.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
use App\Models\Setting;
use App\Models\User;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Channels\SlackWebhookChannel;
use Illuminate\Notifications\Messages\SlackMessage;
use Illuminate\Notifications\Notification;
Expand All @@ -21,7 +22,7 @@
use NotificationChannels\MicrosoftTeams\MicrosoftTeamsMessage;

#[AllowDynamicProperties]
class CheckinAssetNotification extends Notification
class CheckinAssetNotification extends Notification implements ShouldQueue

Check warning on line 25 in app/Notifications/CheckinAssetNotification.php

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

app/Notifications/CheckinAssetNotification.php#L25

The class CheckinAssetNotification has a coupling between objects value of 15. Consider to reduce the number of dependencies under 13.
{
use Queueable;

Expand Down
3 changes: 2 additions & 1 deletion app/Notifications/CheckinComponentNotification.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
use App\Models\Setting;
use App\Models\User;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Channels\SlackWebhookChannel;
use Illuminate\Notifications\Messages\SlackMessage;
use Illuminate\Notifications\Notification;
Expand All @@ -19,7 +20,7 @@
use NotificationChannels\MicrosoftTeams\MicrosoftTeamsMessage;

#[AllowDynamicProperties]
class CheckinComponentNotification extends Notification
class CheckinComponentNotification extends Notification implements ShouldQueue

Check warning on line 23 in app/Notifications/CheckinComponentNotification.php

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

app/Notifications/CheckinComponentNotification.php#L23

The class CheckinComponentNotification has a coupling between objects value of 13. Consider to reduce the number of dependencies under 13.
{
use Queueable;

Expand Down
3 changes: 2 additions & 1 deletion app/Notifications/CheckinLicenseSeatNotification.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
use App\Models\Setting;
use App\Models\User;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Channels\SlackWebhookChannel;
use Illuminate\Notifications\Messages\SlackMessage;
use Illuminate\Notifications\Notification;
Expand All @@ -19,7 +20,7 @@
use NotificationChannels\MicrosoftTeams\MicrosoftTeamsMessage;

#[AllowDynamicProperties]
class CheckinLicenseSeatNotification extends Notification
class CheckinLicenseSeatNotification extends Notification implements ShouldQueue

Check warning on line 23 in app/Notifications/CheckinLicenseSeatNotification.php

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

app/Notifications/CheckinLicenseSeatNotification.php#L23

The class CheckinLicenseSeatNotification has a coupling between objects value of 13. Consider to reduce the number of dependencies under 13.
{
use Queueable;

Expand Down
3 changes: 2 additions & 1 deletion app/Notifications/CheckoutAccessoryNotification.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
use App\Models\Setting;
use App\Models\User;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\MailMessage;
use Illuminate\Notifications\Messages\SlackMessage;
use Illuminate\Notifications\Notification;
Expand All @@ -21,7 +22,7 @@
use Symfony\Component\Mime\Email;

#[AllowDynamicProperties]
class CheckoutAccessoryNotification extends Notification
class CheckoutAccessoryNotification extends Notification implements ShouldQueue

Check warning on line 25 in app/Notifications/CheckoutAccessoryNotification.php

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

app/Notifications/CheckoutAccessoryNotification.php#L25

The class CheckoutAccessoryNotification has a coupling between objects value of 15. Consider to reduce the number of dependencies under 13.
{
use Queueable;

Expand Down
3 changes: 2 additions & 1 deletion app/Notifications/CheckoutAssetNotification.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
use App\Models\Setting;
use App\Models\User;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Channels\SlackWebhookChannel;
use Illuminate\Notifications\Messages\SlackMessage;
use Illuminate\Notifications\Notification;
Expand All @@ -21,7 +22,7 @@
use NotificationChannels\MicrosoftTeams\MicrosoftTeamsMessage;

#[AllowDynamicProperties]
class CheckoutAssetNotification extends Notification
class CheckoutAssetNotification extends Notification implements ShouldQueue

Check warning on line 25 in app/Notifications/CheckoutAssetNotification.php

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

app/Notifications/CheckoutAssetNotification.php#L25

The class CheckoutAssetNotification has a coupling between objects value of 15. Consider to reduce the number of dependencies under 13.
{
use Queueable;

Expand Down
3 changes: 2 additions & 1 deletion app/Notifications/CheckoutComponentNotification.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
use App\Models\Setting;
use App\Models\User;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Channels\SlackWebhookChannel;
use Illuminate\Notifications\Messages\SlackMessage;
use Illuminate\Notifications\Notification;
Expand All @@ -19,7 +20,7 @@
use NotificationChannels\MicrosoftTeams\MicrosoftTeamsMessage;

#[AllowDynamicProperties]
class CheckoutComponentNotification extends Notification
class CheckoutComponentNotification extends Notification implements ShouldQueue

Check warning on line 23 in app/Notifications/CheckoutComponentNotification.php

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

app/Notifications/CheckoutComponentNotification.php#L23

The class CheckoutComponentNotification has a coupling between objects value of 13. Consider to reduce the number of dependencies under 13.
{
use Queueable;

Expand Down
3 changes: 2 additions & 1 deletion app/Notifications/CheckoutConsumableNotification.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
use App\Models\Setting;
use App\Models\User;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Channels\SlackWebhookChannel;
use Illuminate\Notifications\Messages\SlackMessage;
use Illuminate\Notifications\Notification;
Expand All @@ -19,7 +20,7 @@
use NotificationChannels\MicrosoftTeams\MicrosoftTeamsMessage;

#[AllowDynamicProperties]
class CheckoutConsumableNotification extends Notification
class CheckoutConsumableNotification extends Notification implements ShouldQueue

Check warning on line 23 in app/Notifications/CheckoutConsumableNotification.php

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

app/Notifications/CheckoutConsumableNotification.php#L23

The class CheckoutConsumableNotification has a coupling between objects value of 13. Consider to reduce the number of dependencies under 13.
{
use Queueable;

Expand Down
3 changes: 2 additions & 1 deletion app/Notifications/CheckoutLicenseSeatNotification.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
use App\Models\Setting;
use App\Models\User;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Channels\SlackWebhookChannel;
use Illuminate\Notifications\Messages\SlackMessage;
use Illuminate\Notifications\Notification;
Expand All @@ -19,7 +20,7 @@
use NotificationChannels\MicrosoftTeams\MicrosoftTeamsMessage;

#[AllowDynamicProperties]
class CheckoutLicenseSeatNotification extends Notification
class CheckoutLicenseSeatNotification extends Notification implements ShouldQueue

Check warning on line 23 in app/Notifications/CheckoutLicenseSeatNotification.php

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

app/Notifications/CheckoutLicenseSeatNotification.php#L23

The class CheckoutLicenseSeatNotification has a coupling between objects value of 13. Consider to reduce the number of dependencies under 13.
{
use Queueable;

Expand Down
3 changes: 2 additions & 1 deletion app/Notifications/CurrentInventory.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@
namespace App\Notifications;

use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\MailMessage;
use Illuminate\Notifications\Notification;
use Symfony\Component\Mime\Email;

#[AllowDynamicProperties]
class CurrentInventory extends Notification
class CurrentInventory extends Notification implements ShouldQueue
{
use Queueable;

Expand Down
3 changes: 2 additions & 1 deletion app/Notifications/ExpectedCheckinAdminNotification.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@
namespace App\Notifications;

use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\MailMessage;
use Illuminate\Notifications\Notification;
use Symfony\Component\Mime\Email;

#[AllowDynamicProperties]
class ExpectedCheckinAdminNotification extends Notification
class ExpectedCheckinAdminNotification extends Notification implements ShouldQueue
{
use Queueable;

Expand Down
3 changes: 2 additions & 1 deletion app/Notifications/ExpectedCheckinNotification.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@
use App\Helpers\Helper;
use Carbon\Carbon;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\MailMessage;
use Illuminate\Notifications\Notification;
use Symfony\Component\Mime\Email;

#[AllowDynamicProperties]
class ExpectedCheckinNotification extends Notification
class ExpectedCheckinNotification extends Notification implements ShouldQueue
{
use Queueable;

Expand Down
3 changes: 2 additions & 1 deletion app/Notifications/ExpiringAssetsNotification.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@
namespace App\Notifications;

use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\MailMessage;
use Illuminate\Notifications\Notification;
use Symfony\Component\Mime\Email;

#[AllowDynamicProperties]
class ExpiringAssetsNotification extends Notification
class ExpiringAssetsNotification extends Notification implements ShouldQueue
{
use Queueable;

Expand Down
3 changes: 2 additions & 1 deletion app/Notifications/ExpiringLicenseNotification.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@
namespace App\Notifications;

use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\MailMessage;
use Illuminate\Notifications\Notification;
use Symfony\Component\Mime\Email;

#[AllowDynamicProperties]
class ExpiringLicenseNotification extends Notification
class ExpiringLicenseNotification extends Notification implements ShouldQueue
{
use Queueable;

Expand Down
3 changes: 2 additions & 1 deletion app/Notifications/FirstAdminNotification.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@
namespace App\Notifications;

use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\MailMessage;
use Illuminate\Notifications\Notification;
use Symfony\Component\Mime\Email;

#[AllowDynamicProperties]
class FirstAdminNotification extends Notification
class FirstAdminNotification extends Notification implements ShouldQueue
{
use Queueable;

Expand Down
3 changes: 2 additions & 1 deletion app/Notifications/InventoryAlert.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@

use AllowDynamicProperties;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\MailMessage;
use Illuminate\Notifications\Notification;
use Symfony\Component\Mime\Email;

#[AllowDynamicProperties]
class InventoryAlert extends Notification
class InventoryAlert extends Notification implements ShouldQueue
{
use Queueable;

Expand Down
3 changes: 2 additions & 1 deletion app/Notifications/MailTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@
namespace App\Notifications;

use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\MailMessage;
use Illuminate\Notifications\Notification;
use Symfony\Component\Mime\Email;

#[AllowDynamicProperties]
class MailTest extends Notification
class MailTest extends Notification implements ShouldQueue
{
use Queueable;

Expand Down
3 changes: 2 additions & 1 deletion app/Notifications/RequestAssetCancelation.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@

use App\Helpers\Helper;
use App\Models\Setting;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\MailMessage;
use Illuminate\Notifications\Messages\SlackMessage;
use Illuminate\Notifications\Notification;
use Illuminate\Support\Facades\Log;
use Symfony\Component\Mime\Email;

#[AllowDynamicProperties]
class RequestAssetCancelation extends Notification
class RequestAssetCancelation extends Notification implements ShouldQueue
{
private $params;

Expand Down
3 changes: 2 additions & 1 deletion app/Notifications/RequestAssetNotification.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@

use App\Helpers\Helper;
use App\Models\Setting;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\MailMessage;
use Illuminate\Notifications\Messages\SlackMessage;
use Illuminate\Notifications\Notification;
use Symfony\Component\Mime\Email;

#[AllowDynamicProperties]
class RequestAssetNotification extends Notification
class RequestAssetNotification extends Notification implements ShouldQueue
{
private $params;

Expand Down
3 changes: 2 additions & 1 deletion app/Notifications/SendUpcomingAuditNotification.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@
namespace App\Notifications;

use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\MailMessage;
use Illuminate\Notifications\Notification;
use Symfony\Component\Mime\Email;

#[AllowDynamicProperties]
class SendUpcomingAuditNotification extends Notification
class SendUpcomingAuditNotification extends Notification implements ShouldQueue
{
use Queueable;

Expand Down
3 changes: 2 additions & 1 deletion app/Notifications/WelcomeNotification.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@

use App\Models\User;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\MailMessage;
use Illuminate\Notifications\Notification;
use Illuminate\Support\Facades\Password;
use Symfony\Component\Mime\Email;

#[AllowDynamicProperties]
class WelcomeNotification extends Notification
class WelcomeNotification extends Notification implements ShouldQueue
{
use Queueable;

Expand Down
Loading
Loading