Skip to content

A free open source IT asset/license management system

Generated new baseline

snipec148544ac3e9
diff --git a/app/Notifications/AuditNotification.php b/app/Notifications/AuditNotification.php
index fa470ca50e..2c74ba659d 100644
--- a/app/Notifications/AuditNotification.php
+++ b/app/Notifications/AuditNotification.php
@@ -27,8 +27,7 @@ class AuditNotification extends Notification implements ShouldQueue
*/
public function __construct(
public $params
- )
- {
+ ) {
$item = $params['item'];
if (! $item || ! is_object($item)) {
throw new \InvalidArgumentException('Notification requires a valid item.');
@@ -94,9 +93,10 @@ class AuditNotification extends Notification implements ShouldQueue
return null;
}
- if (! Str::contains($setting->webhook_endpoint, 'workflows')) {
+ $webhookEndpoint = Setting::getSettings()->webhook_endpoint;
+ if (! Str::contains($webhookEndpoint, 'workflows')) {
return MicrosoftTeamsMessage::create()
- ->to($setting->webhook_endpoint)
+ ->to($webhookEndpoint)
->type('success')
->title(class_basename($item).' '.trans('general.audited'))
->addStartGroupToSection('activityText')
@@ -129,7 +129,7 @@ class AuditNotification extends Notification implements ShouldQueue
]);
return GoogleChatMessage::create()
- ->to($setting->webhook_endpoint)
+ ->to(Setting::getSettings()->webhook_endpoint)
->card(
Card::create()
->header($title, $subtitle)
diff --git a/app/Notifications/CheckoutAssetNotification.php b/app/Notifications/CheckoutAssetNotification.php
index b7f8529d5c..3b2af7b542 100644
--- a/app/Notifications/CheckoutAssetNotification.php
+++ b/app/Notifications/CheckoutAssetNotification.php
@@ -26,6 +26,7 @@ class CheckoutAssetNotification extends Notification implements ShouldQueue
use Queueable;
public $last_checkout = '';
+
public $expected_checkin = '';
/**
@@ -37,10 +38,9 @@ class CheckoutAssetNotification extends Notification implements ShouldQueue
public Asset $item,
public $target,
public User $admin,
- public $acceptance, //???? what is this? (doesn't seem used)
+ public $acceptance, // ???? what is this? (doesn't seem used)
public $note
- )
- {
+ ) {
if ($this->item->last_checkout) {
$this->last_checkout = Helper::getFormattedDateObject($this->item->last_checkout, 'date',
false);
@@ -83,7 +83,7 @@ class CheckoutAssetNotification extends Notification implements ShouldQueue
public function toSlack(): SlackMessage
{
$target = $this->target;
- $admin = $this->dmin;
+ $admin = $this->admin;
$item = $this->item;
$note = $this->note;
$botname = ($this->settings->webhook_botname) ?: 'Snipe-Bot';
@@ -102,7 +102,7 @@ class CheckoutAssetNotification extends Notification implements ShouldQueue
$fields[trans('general.company')] = $item->company->name;
}
- if (($this->expected_checkin) && ($this->expected_checkin !== '')) {
+ if ($this->expected_checkin) {
$fields[trans('general.expected_checkin')] = $this->expected_checkin;
}
diff --git a/app/Notifications/CheckoutLicenseSeatNotification.php b/app/Notifications/CheckoutLicenseSeatNotification.php
index 2c06de247b..de53341f39 100644
--- a/app/Notifications/CheckoutLicenseSeatNotification.php
+++ b/app/Notifications/CheckoutLicenseSeatNotification.php
@@ -25,14 +25,15 @@ class CheckoutLicenseSeatNotification extends Notification implements ShouldQueu
use Queueable;
public License $item;
+
public User $admin;
+
public $note;
- public $target;
+ public $target;
/**
* Create a new notification instance.
- *
*/
public function __construct(LicenseSeat $licenseSeat, $checkedOutTo, User $checkedOutBy, $acceptance, $note)
{
@@ -82,10 +83,11 @@ class CheckoutLicenseSeatNotification extends Notification implements ShouldQueu
trans('general.by') => '<'.$admin->present()->viewUrl().'|'.$admin->display_name.'>',
];
- if ($item->location) {
- $fields[trans('general.location')] = $item->location->name;
- }
-
+ // License has no location relation (it's model-tier config,
+ // not a physical asset in a room), so no location field for
+ // the Slack payload. The `if ($item->location)` branch that
+ // used to sit here was dead code from a copy-paste of the
+ // Asset checkout notification.
if ($item->company) {
$fields[trans('general.company')] = $item->company->name;
}
diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon
index 9b9e7678fe..afbcc66e2a 100644
--- a/phpstan-baseline.neon
+++ b/phpstan-baseline.neon
@@ -8946,1145 +8946,275 @@ parameters:
count: 1
path: app/Models/User.php
- -
- message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemAcceptedNotification\:\:\$accepted_date\.$#'
- identifier: property.notFound
- count: 2
- path: app/Notifications/AcceptanceItemAcceptedNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemAcceptedNotification\:\:\$assigned_to\.$#'
- identifier: property.notFound
- count: 4
- path: app/Notifications/AcceptanceItemAcceptedNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemAcceptedNotification\:\:\$company_name\.$#'
- identifier: property.notFound
- count: 2
- path: app/Notifications/AcceptanceItemAcceptedNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemAcceptedNotification\:\:\$custom_fields\.$#'
- identifier: property.notFound
- count: 2
- path: app/Notifications/AcceptanceItemAcceptedNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemAcceptedNotification\:\:\$file\.$#'
- identifier: property.notFound
- count: 1
- path: app/Notifications/AcceptanceItemAcceptedNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemAcceptedNotification\:\:\$item_model\.$#'
- identifier: property.notFound
- count: 2
- path: app/Notifications/AcceptanceItemAcceptedNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemAcceptedNotification\:\:\$item_name\.$#'
- identifier: property.notFound
- count: 4
- path: app/Notifications/AcceptanceItemAcceptedNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemAcceptedNotification\:\:\$item_serial\.$#'
- identifier: property.notFound
- count: 2
- path: app/Notifications/AcceptanceItemAcceptedNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemAcceptedNotification\:\:\$item_status\.$#'
- identifier: property.notFound
- count: 2
- path: app/Notifications/AcceptanceItemAcceptedNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemAcceptedNotification\:\:\$item_tag\.$#'
- identifier: property.notFound
- count: 2
- path: app/Notifications/AcceptanceItemAcceptedNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemAcceptedNotification\:\:\$note\.$#'
- identifier: property.notFound
- count: 2
- path: app/Notifications/AcceptanceItemAcceptedNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemAcceptedNotification\:\:\$qty\.$#'
- identifier: property.notFound
- count: 2
- path: app/Notifications/AcceptanceItemAcceptedNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemAcceptedNotification\:\:\$settings\.$#'
- identifier: property.notFound
- count: 2
- path: app/Notifications/AcceptanceItemAcceptedNotification.php
-
- -
- message: '#^PHPDoc tag @param references unknown parameter\: \$notifiable$#'
- identifier: parameter.notFound
- count: 2
- path: app/Notifications/AcceptanceItemAcceptedNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemAcceptedToUserNotification\:\:\$accepted_date\.$#'
- identifier: property.notFound
- count: 2
- path: app/Notifications/AcceptanceItemAcceptedToUserNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemAcceptedToUserNotification\:\:\$assigned_to\.$#'
- identifier: property.notFound
- count: 2
- path: app/Notifications/AcceptanceItemAcceptedToUserNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemAcceptedToUserNotification\:\:\$company_name\.$#'
- identifier: property.notFound
- count: 2
- path: app/Notifications/AcceptanceItemAcceptedToUserNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemAcceptedToUserNotification\:\:\$custom_fields\.$#'
- identifier: property.notFound
- count: 2
- path: app/Notifications/AcceptanceItemAcceptedToUserNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemAcceptedToUserNotification\:\:\$file\.$#'
- identifier: property.notFound
- count: 2
- path: app/Notifications/AcceptanceItemAcceptedToUserNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemAcceptedToUserNotification\:\:\$item_model\.$#'
- identifier: property.notFound
- count: 2
- path: app/Notifications/AcceptanceItemAcceptedToUserNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemAcceptedToUserNotification\:\:\$item_name\.$#'
- identifier: property.notFound
- count: 2
- path: app/Notifications/AcceptanceItemAcceptedToUserNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemAcceptedToUserNotification\:\:\$item_serial\.$#'
- identifier: property.notFound
- count: 2
- path: app/Notifications/AcceptanceItemAcceptedToUserNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemAcceptedToUserNotification\:\:\$item_status\.$#'
- identifier: property.notFound
- count: 2
- path: app/Notifications/AcceptanceItemAcceptedToUserNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemAcceptedToUserNotification\:\:\$item_tag\.$#'
- identifier: property.notFound
- count: 2
- path: app/Notifications/AcceptanceItemAcceptedToUserNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemAcceptedToUserNotification\:\:\$note\.$#'
- identifier: property.notFound
- count: 2
- path: app/Notifications/AcceptanceItemAcceptedToUserNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemAcceptedToUserNotification\:\:\$qty\.$#'
- identifier: property.notFound
- count: 6
- path: app/Notifications/AcceptanceItemAcceptedToUserNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemAcceptedToUserNotification\:\:\$settings\.$#'
- identifier: property.notFound
- count: 3
- path: app/Notifications/AcceptanceItemAcceptedToUserNotification.php
-
-
message: '#^PHPDoc tag @param references unknown parameter\: \$notifiable$#'
identifier: parameter.notFound
count: 2
- path: app/Notifications/AcceptanceItemAcceptedToUserNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemDeclinedNotification\:\:\$admin\.$#'
- identifier: property.notFound
- count: 2
- path: app/Notifications/AcceptanceItemDeclinedNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemDeclinedNotification\:\:\$assigned_to\.$#'
- identifier: property.notFound
- count: 5
- path: app/Notifications/AcceptanceItemDeclinedNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemDeclinedNotification\:\:\$company_name\.$#'
- identifier: property.notFound
- count: 2
- path: app/Notifications/AcceptanceItemDeclinedNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemDeclinedNotification\:\:\$declined_date\.$#'
- identifier: property.notFound
- count: 2
- path: app/Notifications/AcceptanceItemDeclinedNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemDeclinedNotification\:\:\$item_model\.$#'
- identifier: property.notFound
- count: 2
- path: app/Notifications/AcceptanceItemDeclinedNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemDeclinedNotification\:\:\$item_name\.$#'
- identifier: property.notFound
- count: 3
- path: app/Notifications/AcceptanceItemDeclinedNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemDeclinedNotification\:\:\$item_serial\.$#'
- identifier: property.notFound
- count: 2
- path: app/Notifications/AcceptanceItemDeclinedNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemDeclinedNotification\:\:\$item_status\.$#'
- identifier: property.notFound
- count: 2
- path: app/Notifications/AcceptanceItemDeclinedNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemDeclinedNotification\:\:\$item_tag\.$#'
- identifier: property.notFound
- count: 2
- path: app/Notifications/AcceptanceItemDeclinedNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemDeclinedNotification\:\:\$note\.$#'
- identifier: property.notFound
- count: 2
- path: app/Notifications/AcceptanceItemDeclinedNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemDeclinedNotification\:\:\$qty\.$#'
- identifier: property.notFound
- count: 2
- path: app/Notifications/AcceptanceItemDeclinedNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemDeclinedNotification\:\:\$settings\.$#'
- identifier: property.notFound
- count: 2
- path: app/Notifications/AcceptanceItemDeclinedNotification.php
-
- -
- message: '#^Attribute class App\\Notifications\\AllowDynamicProperties does not exist\.$#'
- identifier: attribute.notFound
- count: 1
- path: app/Notifications/AcceptanceItemDeclinedNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\AuditNotification\:\:\$settings\.$#'
- identifier: property.notFound
- count: 5
- path: app/Notifications/AuditNotification.php
-
- -
- message: '#^Using nullsafe property access "\?\-\>display_name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
- identifier: nullsafe.neverNull
- count: 1
- path: app/Notifications/AuditNotification.php
-
- -
- message: '#^Variable \$note on left side of \?\? always exists and is not nullable\.$#'
- identifier: nullCoalesce.variable
- count: 1
- path: app/Notifications/AuditNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\CheckinAccessoryNotification\:\:\$admin\.$#'
- identifier: property.notFound
- count: 3
- path: app/Notifications/CheckinAccessoryNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\CheckinAccessoryNotification\:\:\$item\.$#'
- identifier: property.notFound
- count: 4
- path: app/Notifications/CheckinAccessoryNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\CheckinAccessoryNotification\:\:\$note\.$#'
- identifier: property.notFound
- count: 4
- path: app/Notifications/CheckinAccessoryNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\CheckinAccessoryNotification\:\:\$settings\.$#'
- identifier: property.notFound
- count: 7
- path: app/Notifications/CheckinAccessoryNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\CheckinAccessoryNotification\:\:\$target\.$#'
- identifier: property.notFound
- count: 2
- path: app/Notifications/CheckinAccessoryNotification.php
-
- -
- message: '#^Attribute class App\\Notifications\\AllowDynamicProperties does not exist\.$#'
- identifier: attribute.notFound
- count: 1
- path: app/Notifications/CheckinAccessoryNotification.php
-
- -
- message: '#^Ternary operator condition is always true\.$#'
- identifier: ternary.alwaysTrue
- count: 3
- path: app/Notifications/CheckinAccessoryNotification.php
-
- -
- message: '#^Using nullsafe property access "\?\-\>display_name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
- identifier: nullsafe.neverNull
- count: 1
- path: app/Notifications/CheckinAccessoryNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\CheckinAssetNotification\:\:\$admin\.$#'
- identifier: property.notFound
- count: 3
- path: app/Notifications/CheckinAssetNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\CheckinAssetNotification\:\:\$expected_checkin\.$#'
- identifier: property.notFound
- count: 1
- path: app/Notifications/CheckinAssetNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\CheckinAssetNotification\:\:\$item\.$#'
- identifier: property.notFound
- count: 4
- path: app/Notifications/CheckinAssetNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\CheckinAssetNotification\:\:\$note\.$#'
- identifier: property.notFound
- count: 4
- path: app/Notifications/CheckinAssetNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\CheckinAssetNotification\:\:\$settings\.$#'
- identifier: property.notFound
- count: 7
- path: app/Notifications/CheckinAssetNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\CheckinAssetNotification\:\:\$target\.$#'
- identifier: property.notFound
- count: 2
- path: app/Notifications/CheckinAssetNotification.php
-
- -
- message: '#^Attribute class App\\Notifications\\AllowDynamicProperties does not exist\.$#'
- identifier: attribute.notFound
- count: 1
- path: app/Notifications/CheckinAssetNotification.php
-
- -
- message: '#^Ternary operator condition is always true\.$#'
- identifier: ternary.alwaysTrue
- count: 1
- path: app/Notifications/CheckinAssetNotification.php
-
- -
- message: '#^Using nullsafe property access "\?\-\>display_name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
- identifier: nullsafe.neverNull
- count: 1
- path: app/Notifications/CheckinAssetNotification.php
-
- -
- message: '#^Using nullsafe property access "\?\-\>name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
- identifier: nullsafe.neverNull
- count: 2
- path: app/Notifications/CheckinAssetNotification.php
-
- -
- message: '#^Variable \$notifyBy might not be defined\.$#'
- identifier: variable.undefined
- count: 1
- path: app/Notifications/CheckinAssetNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\CheckinComponentNotification\:\:\$admin\.$#'
- identifier: property.notFound
- count: 3
- path: app/Notifications/CheckinComponentNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\CheckinComponentNotification\:\:\$item\.$#'
- identifier: property.notFound
- count: 4
- path: app/Notifications/CheckinComponentNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\CheckinComponentNotification\:\:\$note\.$#'
- identifier: property.notFound
- count: 4
- path: app/Notifications/CheckinComponentNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\CheckinComponentNotification\:\:\$settings\.$#'
- identifier: property.notFound
- count: 7
- path: app/Notifications/CheckinComponentNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\CheckinComponentNotification\:\:\$target\.$#'
- identifier: property.notFound
- count: 4
- path: app/Notifications/CheckinComponentNotification.php
-
- -
- message: '#^Attribute class App\\Notifications\\AllowDynamicProperties does not exist\.$#'
- identifier: attribute.notFound
- count: 1
- path: app/Notifications/CheckinComponentNotification.php
-
- -
- message: '#^Property App\\Notifications\\CheckinComponentNotification\:\:\$params is unused\.$#'
- identifier: property.unused
- count: 1
- path: app/Notifications/CheckinComponentNotification.php
-
- -
- message: '#^Ternary operator condition is always true\.$#'
- identifier: ternary.alwaysTrue
- count: 1
- path: app/Notifications/CheckinComponentNotification.php
-
- -
- message: '#^Using nullsafe property access "\?\-\>display_name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
- identifier: nullsafe.neverNull
- count: 1
- path: app/Notifications/CheckinComponentNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\CheckinLicenseSeatNotification\:\:\$admin\.$#'
- identifier: property.notFound
- count: 3
- path: app/Notifications/CheckinLicenseSeatNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\CheckinLicenseSeatNotification\:\:\$item\.$#'
- identifier: property.notFound
- count: 4
- path: app/Notifications/CheckinLicenseSeatNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\CheckinLicenseSeatNotification\:\:\$note\.$#'
- identifier: property.notFound
- count: 4
- path: app/Notifications/CheckinLicenseSeatNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\CheckinLicenseSeatNotification\:\:\$settings\.$#'
- identifier: property.notFound
- count: 7
- path: app/Notifications/CheckinLicenseSeatNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\CheckinLicenseSeatNotification\:\:\$target\.$#'
- identifier: property.notFound
- count: 4
- path: app/Notifications/CheckinLicenseSeatNotification.php
-
- -
- message: '#^Attribute class App\\Notifications\\AllowDynamicProperties does not exist\.$#'
- identifier: attribute.notFound
- count: 1
- path: app/Notifications/CheckinLicenseSeatNotification.php
-
- -
- message: '#^Property App\\Notifications\\CheckinLicenseSeatNotification\:\:\$params is unused\.$#'
- identifier: property.unused
- count: 1
- path: app/Notifications/CheckinLicenseSeatNotification.php
-
- -
- message: '#^Ternary operator condition is always true\.$#'
- identifier: ternary.alwaysTrue
- count: 1
- path: app/Notifications/CheckinLicenseSeatNotification.php
-
- -
- message: '#^Using nullsafe property access "\?\-\>display_name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
- identifier: nullsafe.neverNull
- count: 1
- path: app/Notifications/CheckinLicenseSeatNotification.php
-
- -
- message: '#^Access to an undefined property App\\Models\\Accessory\:\:\$checkout_qty\.$#'
- identifier: property.notFound
- count: 1
- path: app/Notifications/CheckoutAccessoryNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\CheckoutAccessoryNotification\:\:\$acceptance\.$#'
- identifier: property.notFound
- count: 2
- path: app/Notifications/CheckoutAccessoryNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\CheckoutAccessoryNotification\:\:\$admin\.$#'
- identifier: property.notFound
- count: 4
- path: app/Notifications/CheckoutAccessoryNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\CheckoutAccessoryNotification\:\:\$checkout_qty\.$#'
- identifier: property.notFound
- count: 4
- path: app/Notifications/CheckoutAccessoryNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\CheckoutAccessoryNotification\:\:\$item\.$#'
- identifier: property.notFound
- count: 11
- path: app/Notifications/CheckoutAccessoryNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\CheckoutAccessoryNotification\:\:\$note\.$#'
- identifier: property.notFound
- count: 5
- path: app/Notifications/CheckoutAccessoryNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\CheckoutAccessoryNotification\:\:\$settings\.$#'
- identifier: property.notFound
- count: 7
- path: app/Notifications/CheckoutAccessoryNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\CheckoutAccessoryNotification\:\:\$target\.$#'
- identifier: property.notFound
- count: 6
- path: app/Notifications/CheckoutAccessoryNotification.php
-
- -
- message: '#^Attribute class App\\Notifications\\AllowDynamicProperties does not exist\.$#'
- identifier: attribute.notFound
- count: 1
- path: app/Notifications/CheckoutAccessoryNotification.php
-
- -
- message: '#^Ternary operator condition is always true\.$#'
- identifier: ternary.alwaysTrue
- count: 1
- path: app/Notifications/CheckoutAccessoryNotification.php
-
- -
- message: '#^Using nullsafe property access "\?\-\>display_name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
- identifier: nullsafe.neverNull
- count: 2
- path: app/Notifications/CheckoutAccessoryNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\CheckoutAssetNotification\:\:\$admin\.$#'
- identifier: property.notFound
- count: 3
- path: app/Notifications/CheckoutAssetNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\CheckoutAssetNotification\:\:\$expected_checkin\.$#'
- identifier: property.notFound
- count: 2
- path: app/Notifications/CheckoutAssetNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\CheckoutAssetNotification\:\:\$item\.$#'
- identifier: property.notFound
- count: 4
- path: app/Notifications/CheckoutAssetNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\CheckoutAssetNotification\:\:\$last_checkout\.$#'
- identifier: property.notFound
- count: 1
- path: app/Notifications/CheckoutAssetNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\CheckoutAssetNotification\:\:\$note\.$#'
- identifier: property.notFound
- count: 4
- path: app/Notifications/CheckoutAssetNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\CheckoutAssetNotification\:\:\$settings\.$#'
- identifier: property.notFound
- count: 6
- path: app/Notifications/CheckoutAssetNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\CheckoutAssetNotification\:\:\$target\.$#'
- identifier: property.notFound
- count: 4
- path: app/Notifications/CheckoutAssetNotification.php
-
- -
- message: '#^Attribute class App\\Notifications\\AllowDynamicProperties does not exist\.$#'
- identifier: attribute.notFound
- count: 1
- path: app/Notifications/CheckoutAssetNotification.php
-
- -
- message: '#^Constructor of class App\\Notifications\\CheckoutAssetNotification has an unused parameter \$acceptance\.$#'
- identifier: constructor.unusedParameter
- count: 1
- path: app/Notifications/CheckoutAssetNotification.php
-
- -
- message: '#^Ternary operator condition is always true\.$#'
- identifier: ternary.alwaysTrue
- count: 1
- path: app/Notifications/CheckoutAssetNotification.php
-
- -
- message: '#^Using nullsafe property access "\?\-\>display_name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
- identifier: nullsafe.neverNull
- count: 2
- path: app/Notifications/CheckoutAssetNotification.php
-
- -
- message: '#^Access to an undefined property App\\Models\\Component\:\:\$checkout_qty\.$#'
- identifier: property.notFound
- count: 1
- path: app/Notifications/CheckoutComponentNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\CheckoutComponentNotification\:\:\$acceptance\.$#'
- identifier: property.notFound
- count: 1
- path: app/Notifications/CheckoutComponentNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\CheckoutComponentNotification\:\:\$admin\.$#'
- identifier: property.notFound
- count: 3
- path: app/Notifications/CheckoutComponentNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\CheckoutComponentNotification\:\:\$item\.$#'
- identifier: property.notFound
- count: 4
- path: app/Notifications/CheckoutComponentNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\CheckoutComponentNotification\:\:\$note\.$#'
- identifier: property.notFound
- count: 4
- path: app/Notifications/CheckoutComponentNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\CheckoutComponentNotification\:\:\$qty\.$#'
- identifier: property.notFound
- count: 1
- path: app/Notifications/CheckoutComponentNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\CheckoutComponentNotification\:\:\$settings\.$#'
- identifier: property.notFound
- count: 7
- path: app/Notifications/CheckoutComponentNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\CheckoutComponentNotification\:\:\$target\.$#'
- identifier: property.notFound
- count: 4
- path: app/Notifications/CheckoutComponentNotification.php
-
- -
- message: '#^Attribute class App\\Notifications\\AllowDynamicProperties does not exist\.$#'
- identifier: attribute.notFound
- count: 1
- path: app/Notifications/CheckoutComponentNotification.php
-
- -
- message: '#^Property App\\Notifications\\CheckoutComponentNotification\:\:\$params is unused\.$#'
- identifier: property.unused
- count: 1
- path: app/Notifications/CheckoutComponentNotification.php
-
- -
- message: '#^Ternary operator condition is always true\.$#'
- identifier: ternary.alwaysTrue
- count: 1
- path: app/Notifications/CheckoutComponentNotification.php
-
- -
- message: '#^Using nullsafe property access "\?\-\>display_name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
- identifier: nullsafe.neverNull
- count: 2
- path: app/Notifications/CheckoutComponentNotification.php
-
- -
- message: '#^Access to an undefined property App\\Models\\Consumable\:\:\$checkout_qty\.$#'
- identifier: property.notFound
- count: 1
- path: app/Notifications/CheckoutConsumableNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\CheckoutConsumableNotification\:\:\$acceptance\.$#'
- identifier: property.notFound
- count: 1
- path: app/Notifications/CheckoutConsumableNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\CheckoutConsumableNotification\:\:\$admin\.$#'
- identifier: property.notFound
- count: 3
- path: app/Notifications/CheckoutConsumableNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\CheckoutConsumableNotification\:\:\$item\.$#'
- identifier: property.notFound
- count: 4
- path: app/Notifications/CheckoutConsumableNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\CheckoutConsumableNotification\:\:\$note\.$#'
- identifier: property.notFound
- count: 4
- path: app/Notifications/CheckoutConsumableNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\CheckoutConsumableNotification\:\:\$qty\.$#'
- identifier: property.notFound
- count: 1
- path: app/Notifications/CheckoutConsumableNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\CheckoutConsumableNotification\:\:\$settings\.$#'
- identifier: property.notFound
- count: 7
- path: app/Notifications/CheckoutConsumableNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\CheckoutConsumableNotification\:\:\$target\.$#'
- identifier: property.notFound
- count: 4
- path: app/Notifications/CheckoutConsumableNotification.php
-
- -
- message: '#^Attribute class App\\Notifications\\AllowDynamicProperties does not exist\.$#'
- identifier: attribute.notFound
- count: 1
- path: app/Notifications/CheckoutConsumableNotification.php
-
- -
- message: '#^Property App\\Notifications\\CheckoutConsumableNotification\:\:\$params is unused\.$#'
- identifier: property.unused
- count: 1
- path: app/Notifications/CheckoutConsumableNotification.php
-
- -
- message: '#^Ternary operator condition is always true\.$#'
- identifier: ternary.alwaysTrue
- count: 1
- path: app/Notifications/CheckoutConsumableNotification.php
-
- -
- message: '#^Using nullsafe property access "\?\-\>display_name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
- identifier: nullsafe.neverNull
- count: 2
- path: app/Notifications/CheckoutConsumableNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\CheckoutLicenseSeatNotification\:\:\$acceptance\.$#'
- identifier: property.notFound
- count: 1
- path: app/Notifications/CheckoutLicenseSeatNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\CheckoutLicenseSeatNotification\:\:\$admin\.$#'
- identifier: property.notFound
- count: 3
- path: app/Notifications/CheckoutLicenseSeatNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\CheckoutLicenseSeatNotification\:\:\$item\.$#'
- identifier: property.notFound
- count: 4
- path: app/Notifications/CheckoutLicenseSeatNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\CheckoutLicenseSeatNotification\:\:\$note\.$#'
- identifier: property.notFound
- count: 4
- path: app/Notifications/CheckoutLicenseSeatNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\CheckoutLicenseSeatNotification\:\:\$settings\.$#'
- identifier: property.notFound
- count: 7
- path: app/Notifications/CheckoutLicenseSeatNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\CheckoutLicenseSeatNotification\:\:\$target\.$#'
- identifier: property.notFound
- count: 4
- path: app/Notifications/CheckoutLicenseSeatNotification.php
-
- -
- message: '#^Attribute class App\\Notifications\\AllowDynamicProperties does not exist\.$#'
- identifier: attribute.notFound
- count: 1
- path: app/Notifications/CheckoutLicenseSeatNotification.php
-
- -
- message: '#^Property App\\Notifications\\CheckoutLicenseSeatNotification\:\:\$params is unused\.$#'
- identifier: property.unused
- count: 1
- path: app/Notifications/CheckoutLicenseSeatNotification.php
-
- -
- message: '#^Ternary operator condition is always true\.$#'
- identifier: ternary.alwaysTrue
- count: 1
- path: app/Notifications/CheckoutLicenseSeatNotification.php
-
- -
- message: '#^Using nullsafe property access "\?\-\>display_name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
- identifier: nullsafe.neverNull
- count: 2
- path: app/Notifications/CheckoutLicenseSeatNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\CurrentInventory\:\:\$user\.$#'
- identifier: property.notFound
- count: 5
- path: app/Notifications/CurrentInventory.php
-
- -
- message: '#^Attribute class App\\Notifications\\AllowDynamicProperties does not exist\.$#'
- identifier: attribute.notFound
- count: 1
- path: app/Notifications/CurrentInventory.php
+ path: app/Notifications/AcceptanceItemAcceptedNotification.php
-
message: '#^PHPDoc tag @param references unknown parameter\: \$notifiable$#'
identifier: parameter.notFound
- count: 1
- path: app/Notifications/CurrentInventory.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\ExpectedCheckinAdminNotification\:\:\$assets\.$#'
- identifier: property.notFound
count: 2
- path: app/Notifications/ExpectedCheckinAdminNotification.php
-
- -
- message: '#^Attribute class App\\Notifications\\AllowDynamicProperties does not exist\.$#'
- identifier: attribute.notFound
- count: 1
- path: app/Notifications/ExpectedCheckinAdminNotification.php
+ path: app/Notifications/AcceptanceItemAcceptedToUserNotification.php
-
- message: '#^Property App\\Notifications\\ExpectedCheckinAdminNotification\:\:\$params is unused\.$#'
- identifier: property.unused
+ message: '#^Using nullsafe property access "\?\-\>display_name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
+ identifier: nullsafe.neverNull
count: 1
- path: app/Notifications/ExpectedCheckinAdminNotification.php
+ path: app/Notifications/AuditNotification.php
-
- message: '#^Attribute class App\\Notifications\\AllowDynamicProperties does not exist\.$#'
- identifier: attribute.notFound
+ message: '#^Variable \$note on left side of \?\? always exists and is not nullable\.$#'
+ identifier: nullCoalesce.variable
count: 1
- path: app/Notifications/ExpectedCheckinNotification.php
+ path: app/Notifications/AuditNotification.php
-
- message: '#^Access to an undefined property App\\Notifications\\ExpiringAssetsNotification\:\:\$assets\.$#'
+ message: '#^Access to an undefined property App\\Notifications\\CheckinAccessoryNotification\:\:\$admin\.$#'
identifier: property.notFound
count: 2
- path: app/Notifications/ExpiringAssetsNotification.php
+ path: app/Notifications/CheckinAccessoryNotification.php
-
- message: '#^Access to an undefined property App\\Notifications\\ExpiringAssetsNotification\:\:\$threshold\.$#'
- identifier: property.notFound
- count: 2
- path: app/Notifications/ExpiringAssetsNotification.php
+ message: '#^Constructor of class App\\Notifications\\CheckinAccessoryNotification has an unused parameter \$admin\.$#'
+ identifier: constructor.unusedParameter
+ count: 1
+ path: app/Notifications/CheckinAccessoryNotification.php
-
- message: '#^Attribute class App\\Notifications\\AllowDynamicProperties does not exist\.$#'
- identifier: attribute.notFound
- count: 1
- path: app/Notifications/ExpiringAssetsNotification.php
+ message: '#^Ternary operator condition is always true\.$#'
+ identifier: ternary.alwaysTrue
+ count: 3
+ path: app/Notifications/CheckinAccessoryNotification.php
-
- message: '#^PHPDoc tag @param references unknown parameter\: \$asset$#'
- identifier: parameter.notFound
+ message: '#^Using nullsafe property access "\?\-\>display_name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
+ identifier: nullsafe.neverNull
count: 1
- path: app/Notifications/ExpiringAssetsNotification.php
+ path: app/Notifications/CheckinAccessoryNotification.php
-
- message: '#^Property App\\Notifications\\ExpiringAssetsNotification\:\:\$params is unused\.$#'
- identifier: property.unused
+ message: '#^Ternary operator condition is always true\.$#'
+ identifier: ternary.alwaysTrue
count: 1
- path: app/Notifications/ExpiringAssetsNotification.php
+ path: app/Notifications/CheckinAssetNotification.php
-
- message: '#^Access to an undefined property App\\Notifications\\ExpiringLicenseNotification\:\:\$licenses\.$#'
- identifier: property.notFound
- count: 2
- path: app/Notifications/ExpiringLicenseNotification.php
+ message: '#^Using nullsafe property access "\?\-\>display_name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
+ identifier: nullsafe.neverNull
+ count: 1
+ path: app/Notifications/CheckinAssetNotification.php
-
- message: '#^Access to an undefined property App\\Notifications\\ExpiringLicenseNotification\:\:\$threshold\.$#'
- identifier: property.notFound
+ message: '#^Using nullsafe property access "\?\-\>name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
+ identifier: nullsafe.neverNull
count: 2
- path: app/Notifications/ExpiringLicenseNotification.php
-
- -
- message: '#^Attribute class App\\Notifications\\AllowDynamicProperties does not exist\.$#'
- identifier: attribute.notFound
- count: 1
- path: app/Notifications/ExpiringLicenseNotification.php
+ path: app/Notifications/CheckinAssetNotification.php
-
- message: '#^PHPDoc tag @param references unknown parameter\: \$asset$#'
- identifier: parameter.notFound
+ message: '#^Variable \$notifyBy might not be defined\.$#'
+ identifier: variable.undefined
count: 1
- path: app/Notifications/ExpiringLicenseNotification.php
+ path: app/Notifications/CheckinAssetNotification.php
-
- message: '#^PHPDoc tag @param references unknown parameter\: \$notifiable$#'
- identifier: parameter.notFound
+ message: '#^If condition is always true\.$#'
+ identifier: if.alwaysTrue
count: 1
- path: app/Notifications/ExpiringLicenseNotification.php
+ path: app/Notifications/CheckinComponentNotification.php
-
- message: '#^Property App\\Notifications\\ExpiringLicenseNotification\:\:\$params is unused\.$#'
+ message: '#^Property App\\Notifications\\CheckinComponentNotification\:\:\$params is unused\.$#'
identifier: property.unused
count: 1
- path: app/Notifications/ExpiringLicenseNotification.php
+ path: app/Notifications/CheckinComponentNotification.php
-
- message: '#^Attribute class App\\Notifications\\AllowDynamicProperties does not exist\.$#'
- identifier: attribute.notFound
+ message: '#^Ternary operator condition is always true\.$#'
+ identifier: ternary.alwaysTrue
count: 1
- path: app/Notifications/FirstAdminNotification.php
+ path: app/Notifications/CheckinComponentNotification.php
-
- message: '#^Access to an undefined property \$this\(App\\Notifications\\InventoryAlert\)\:\:\$threshold\.$#'
- identifier: property.notFound
+ message: '#^Using nullsafe property access "\?\-\>display_name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
+ identifier: nullsafe.neverNull
count: 1
- path: app/Notifications/InventoryAlert.php
+ path: app/Notifications/CheckinComponentNotification.php
-
- message: '#^Access to an undefined property App\\Notifications\\InventoryAlert\:\:\$items\.$#'
- identifier: property.notFound
- count: 2
- path: app/Notifications/InventoryAlert.php
+ message: '#^Using nullsafe property access on non\-nullable type App\\Models\\User\. Use \-\> instead\.$#'
+ identifier: nullsafe.neverNull
+ count: 1
+ path: app/Notifications/CheckinComponentNotification.php
-
- message: '#^Access to an undefined property App\\Notifications\\InventoryAlert\:\:\$threshold\.$#'
+ message: '#^Access to an undefined property App\\Models\\License\:\:\$location\.$#'
identifier: property.notFound
- count: 2
- path: app/Notifications/InventoryAlert.php
-
- -
- message: '#^Property App\\Notifications\\InventoryAlert\:\:\$params is unused\.$#'
- identifier: property.unused
count: 1
- path: app/Notifications/InventoryAlert.php
+ path: app/Notifications/CheckinLicenseSeatNotification.php
-
- message: '#^Attribute class App\\Notifications\\AllowDynamicProperties does not exist\.$#'
- identifier: attribute.notFound
+ message: '#^If condition is always true\.$#'
+ identifier: if.alwaysTrue
count: 1
- path: app/Notifications/MailTest.php
+ path: app/Notifications/CheckinLicenseSeatNotification.php
-
- message: '#^Access to an undefined property App\\Notifications\\RequestAssetCancelation\:\:\$expected_checkin\.$#'
- identifier: property.notFound
- count: 3
- path: app/Notifications/RequestAssetCancelation.php
+ message: '#^Ternary operator condition is always true\.$#'
+ identifier: ternary.alwaysTrue
+ count: 1
+ path: app/Notifications/CheckinLicenseSeatNotification.php
-
- message: '#^Access to an undefined property App\\Notifications\\RequestAssetCancelation\:\:\$item\.$#'
- identifier: property.notFound
- count: 6
- path: app/Notifications/RequestAssetCancelation.php
+ message: '#^Using nullsafe property access "\?\-\>display_name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
+ identifier: nullsafe.neverNull
+ count: 1
+ path: app/Notifications/CheckinLicenseSeatNotification.php
-
- message: '#^Access to an undefined property App\\Notifications\\RequestAssetCancelation\:\:\$item_quantity\.$#'
- identifier: property.notFound
- count: 3
- path: app/Notifications/RequestAssetCancelation.php
+ message: '#^Using nullsafe property access on non\-nullable type App\\Models\\User\. Use \-\> instead\.$#'
+ identifier: nullsafe.neverNull
+ count: 1
+ path: app/Notifications/CheckinLicenseSeatNotification.php
-
- message: '#^Access to an undefined property App\\Notifications\\RequestAssetCancelation\:\:\$last_checkout\.$#'
+ message: '#^Access to an undefined property App\\Models\\Accessory\:\:\$checkout_qty\.$#'
identifier: property.notFound
- count: 2
- path: app/Notifications/RequestAssetCancelation.php
+ count: 1
+ path: app/Notifications/CheckoutAccessoryNotification.php
-
- message: '#^Access to an undefined property App\\Notifications\\RequestAssetCancelation\:\:\$note\.$#'
- identifier: property.notFound
- count: 3
- path: app/Notifications/RequestAssetCancelation.php
+ message: '#^Ternary operator condition is always true\.$#'
+ identifier: ternary.alwaysTrue
+ count: 1
+ path: app/Notifications/CheckoutAccessoryNotification.php
-
- message: '#^Access to an undefined property App\\Notifications\\RequestAssetCancelation\:\:\$requested_date\.$#'
- identifier: property.notFound
+ message: '#^Using nullsafe property access "\?\-\>display_name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
+ identifier: nullsafe.neverNull
count: 2
- path: app/Notifications/RequestAssetCancelation.php
+ path: app/Notifications/CheckoutAccessoryNotification.php
-
- message: '#^Access to an undefined property App\\Notifications\\RequestAssetCancelation\:\:\$settings\.$#'
+ message: '#^Access to an undefined property App\\Notifications\\CheckoutAssetNotification\:\:\$settings\.$#'
identifier: property.notFound
count: 5
- path: app/Notifications/RequestAssetCancelation.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\RequestAssetCancelation\:\:\$target\.$#'
- identifier: property.notFound
- count: 3
- path: app/Notifications/RequestAssetCancelation.php
+ path: app/Notifications/CheckoutAssetNotification.php
-
- message: '#^Attribute class App\\Notifications\\AllowDynamicProperties does not exist\.$#'
- identifier: attribute.notFound
+ message: '#^Ternary operator condition is always true\.$#'
+ identifier: ternary.alwaysTrue
count: 1
- path: app/Notifications/RequestAssetCancelation.php
+ path: app/Notifications/CheckoutAssetNotification.php
-
- message: '#^PHPDoc tag @param references unknown parameter\: \$notifiable$#'
- identifier: parameter.notFound
+ message: '#^Using nullsafe property access "\?\-\>display_name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
+ identifier: nullsafe.neverNull
count: 2
- path: app/Notifications/RequestAssetCancelation.php
-
- -
- message: '#^Property App\\Notifications\\RequestAssetCancelation\:\:\$params is unused\.$#'
- identifier: property.unused
- count: 1
- path: app/Notifications/RequestAssetCancelation.php
+ path: app/Notifications/CheckoutAssetNotification.php
-
- message: '#^Access to an undefined property App\\Notifications\\RequestAssetNotification\:\:\$expected_checkin\.$#'
+ message: '#^Access to an undefined property App\\Models\\Component\:\:\$checkout_qty\.$#'
identifier: property.notFound
- count: 2
- path: app/Notifications/RequestAssetNotification.php
+ count: 1
+ path: app/Notifications/CheckoutComponentNotification.php
-
- message: '#^Access to an undefined property App\\Notifications\\RequestAssetNotification\:\:\$item\.$#'
- identifier: property.notFound
- count: 6
- path: app/Notifications/RequestAssetNotification.php
+ message: '#^Ternary operator condition is always true\.$#'
+ identifier: ternary.alwaysTrue
+ count: 1
+ path: app/Notifications/CheckoutComponentNotification.php
-
- message: '#^Access to an undefined property App\\Notifications\\RequestAssetNotification\:\:\$item_quantity\.$#'
- identifier: property.notFound
- count: 3
- path: app/Notifications/RequestAssetNotification.php
+ message: '#^Using nullsafe property access "\?\-\>display_name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
+ identifier: nullsafe.neverNull
+ count: 2
+ path: app/Notifications/CheckoutComponentNotification.php
-
- message: '#^Access to an undefined property App\\Notifications\\RequestAssetNotification\:\:\$item_type\.$#'
+ message: '#^Access to an undefined property App\\Models\\Consumable\:\:\$checkout_qty\.$#'
identifier: property.notFound
count: 1
- path: app/Notifications/RequestAssetNotification.php
-
- -
- message: '#^Access to an undefined property App\\Notifications\\RequestAssetNotification\:\:\$last_checkout\.$#'
- identifier: property.notFound
- count: 2
- path: app/Notifications/RequestAssetNotification.php
+ path: app/Notifications/CheckoutConsumableNotification.php
-
- message: '#^Access to an undefined property App\\Notifications\\RequestAssetNotification\:\:\$note\.$#'
- identifier: property.notFound
- count: 3
- path: app/Notifications/RequestAssetNotification.php
+ message: '#^Ternary operator condition is always true\.$#'
+ identifier: ternary.alwaysTrue
+ count: 1
+ path: app/Notifications/CheckoutConsumableNotification.php
-
- message: '#^Access to an undefined property App\\Notifications\\RequestAssetNotification\:\:\$requested_date\.$#'
- identifier: property.notFound
+ message: '#^Using nullsafe property access "\?\-\>display_name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
+ identifier: nullsafe.neverNull
count: 2
- path: app/Notifications/RequestAssetNotification.php
+ path: app/Notifications/CheckoutConsumableNotification.php
-
- message: '#^Access to an undefined property App\\Notifications\\RequestAssetNotification\:\:\$settings\.$#'
+ message: '#^Access to an undefined property App\\Notifications\\CheckoutLicenseSeatNotification\:\:\$acceptance\.$#'
identifier: property.notFound
- count: 5
- path: app/Notifications/RequestAssetNotification.php
+ count: 1
+ path: app/Notifications/CheckoutLicenseSeatNotification.php
-
- message: '#^Access to an undefined property App\\Notifications\\RequestAssetNotification\:\:\$target\.$#'
- identifier: property.notFound
- count: 3
- path: app/Notifications/RequestAssetNotification.php
+ message: '#^Ternary operator condition is always true\.$#'
+ identifier: ternary.alwaysTrue
+ count: 1
+ path: app/Notifications/CheckoutLicenseSeatNotification.php
-
- message: '#^Attribute class App\\Notifications\\AllowDynamicProperties does not exist\.$#'
- identifier: attribute.notFound
- count: 1
- path: app/Notifications/RequestAssetNotification.php
+ message: '#^Using nullsafe property access "\?\-\>display_name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
+ identifier: nullsafe.neverNull
+ count: 2
+ path: app/Notifications/CheckoutLicenseSeatNotification.php
-
message: '#^PHPDoc tag @param references unknown parameter\: \$notifiable$#'
identifier: parameter.notFound
count: 1
- path: app/Notifications/RequestAssetNotification.php
+ path: app/Notifications/CurrentInventory.php
-
- message: '#^Property App\\Notifications\\RequestAssetNotification\:\:\$params is unused\.$#'
- identifier: property.unused
+ message: '#^Access to an undefined property App\\Notifications\\ExpiringAssetsNotification\:\:\$assets\.$#'
+ identifier: property.notFound
count: 1
- path: app/Notifications/RequestAssetNotification.php
+ path: app/Notifications/ExpiringAssetsNotification.php
-
- message: '#^Access to an undefined property App\\Notifications\\SendUpcomingAuditNotification\:\:\$assets\.$#'
- identifier: property.notFound
- count: 4
- path: app/Notifications/SendUpcomingAuditNotification.php
+ message: '#^PHPDoc tag @param references unknown parameter\: \$asset$#'
+ identifier: parameter.notFound
+ count: 1
+ path: app/Notifications/ExpiringAssetsNotification.php
-
- message: '#^Access to an undefined property App\\Notifications\\SendUpcomingAuditNotification\:\:\$threshold\.$#'
+ message: '#^Access to an undefined property App\\Notifications\\ExpiringLicenseNotification\:\:\$licenses\.$#'
identifier: property.notFound
- count: 3
- path: app/Notifications/SendUpcomingAuditNotification.php
+ count: 1
+ path: app/Notifications/ExpiringLicenseNotification.php
-
- message: '#^Attribute class App\\Notifications\\AllowDynamicProperties does not exist\.$#'
- identifier: attribute.notFound
+ message: '#^PHPDoc tag @param references unknown parameter\: \$asset$#'
+ identifier: parameter.notFound
count: 1
- path: app/Notifications/SendUpcomingAuditNotification.php
+ path: app/Notifications/ExpiringLicenseNotification.php
-
- message: '#^Access to an undefined property App\\Models\\User\:\:\$expire_date\.$#'
- identifier: property.notFound
+ message: '#^PHPDoc tag @param references unknown parameter\: \$notifiable$#'
+ identifier: parameter.notFound
count: 1
- path: app/Notifications/WelcomeNotification.php
+ path: app/Notifications/ExpiringLicenseNotification.php
-
- message: '#^Access to an undefined property App\\Models\\User\:\:\$token\.$#'
- identifier: property.notFound
- count: 1
- path: app/Notifications/WelcomeNotification.php
+ message: '#^PHPDoc tag @param references unknown parameter\: \$notifiable$#'
+ identifier: parameter.notFound
+ count: 2
+ path: app/Notifications/RequestAssetCancelation.php
-
- message: '#^Attribute class App\\Notifications\\AllowDynamicProperties does not exist\.$#'
- identifier: attribute.notFound
+ message: '#^PHPDoc tag @param references unknown parameter\: \$notifiable$#'
+ identifier: parameter.notFound
count: 1
- path: app/Notifications/WelcomeNotification.php
+ path: app/Notifications/RequestAssetNotification.php
-
message: '#^Access to an undefined property App\\Models\\Actionlog\:\:\$created_by\.$#'