A free open source IT asset/license management system
Updated baseline
snipe638ed6d3ee0a
diff --git a/phpstan-baseline.neon b/phpstan-baseline.neonindex b111f8193d..8d74b00ebd 100644--- a/phpstan-baseline.neon+++ b/phpstan-baseline.neon@@ -36,16 +36,10 @@ parameters:count: 1path: app/Console/Commands/BulkDelete.php- -- message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$avatar\.$#'- identifier: property.notFound- count: 1- path: app/Console/Commands/BulkDelete.php--message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#'identifier: property.notFound- count: 17+ count: 9path: app/Console/Commands/BulkDelete.php-@@ -60,24 +54,12 @@ parameters:count: 29path: app/Console/Commands/BulkDelete.php- -- message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$username\.$#'- identifier: property.notFound- count: 8- path: app/Console/Commands/BulkDelete.php--message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:assetlog\(\)\.$#'identifier: method.notFoundcount: 10path: app/Console/Commands/BulkDelete.php- -- message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:companies\(\)\.$#'- identifier: method.notFound- count: 2- path: app/Console/Commands/BulkDelete.php--message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:licenseseats\(\)\.$#'identifier: method.notFound@@ -96,18 +78,6 @@ parameters:count: 2path: app/Console/Commands/BulkDelete.php- -- message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:syncLegacyCompanyIdMirror\(\)\.$#'- identifier: method.notFound- count: 1- path: app/Console/Commands/BulkDelete.php-- -- message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:userlog\(\)\.$#'- identifier: method.notFound- count: 1- path: app/Console/Commands/BulkDelete.php--message: '#^Using nullsafe property access "\?\-\>asset_tag" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'identifier: nullsafe.neverNull@@ -129,7 +99,7 @@ parameters:-message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$name\.$#'identifier: property.notFound- count: 2+ count: 1path: app/Console/Commands/CheckinAndDeleteItems.php-@@ -384,12 +354,6 @@ parameters:count: 2path: app/Console/Commands/RotateAppKey.php- -- message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:notify\(\)\.$#'- identifier: method.notFound- count: 1- path: app/Console/Commands/SendExpectedCheckinAlerts.php--message: '#^Left side of && is always true\.$#'identifier: booleanAnd.leftAlwaysTrue@@ -402,42 +366,6 @@ parameters:count: 1path: app/Console/Commands/SendInventoryAlerts.php- -- message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$display_name\.$#'- identifier: property.notFound- count: 1- path: app/Console/Commands/SendUpcomingAuditReport.php-- -- message: '#^Access to an undefined property ArrayObject\:\:\$id\.$#'- identifier: property.notFound- count: 4- path: app/Console/Commands/SyncAssetLocations.php-- -- message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#'- identifier: property.notFound- count: 2- path: app/Console/Commands/SyncAssetLocations.php-- -- message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$name\.$#'- identifier: property.notFound- count: 1- path: app/Console/Commands/SyncAssetLocations.php-- -- message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$userLoc\.$#'- identifier: property.notFound- count: 1- path: app/Console/Commands/SyncAssetLocations.php-- -- message: '#^If condition is always true\.$#'- identifier: if.alwaysTrue- count: 1- path: app/Console/Commands/SyncAssetLocations.php--message: '#^Method App\\Console\\Commands\\ToggleCustomfieldEncryption\:\:handle\(\) should return int but return statement is missing\.$#'identifier: return.missing@@ -1536,12 +1464,6 @@ parameters:count: 1path: app/Http/Controllers/AssetModelsController.php- -- message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#'- identifier: property.notFound- count: 1- path: app/Http/Controllers/Assets/AssetCheckinController.php--message: '#^Method Illuminate\\Database\\Eloquent\\Relations\\BelongsTo\<Illuminate\\Database\\Eloquent\\Model,Illuminate\\Database\\Eloquent\\Model\>\:\:disassociate\(\) invoked with 1 parameter, 0 required\.$#'identifier: arguments.count@@ -2265,7 +2187,7 @@ parameters:-message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$display_name\.$#'identifier: property.notFound- count: 3+ count: 2path: app/Http/Controllers/ReportsController.php-@@ -2823,7 +2745,7 @@ parameters:-message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$display_name\.$#'identifier: property.notFound- count: 2+ count: 1path: app/Http/Transformers/MaintenancesTransformer.php-@@ -3786,6 +3708,12 @@ parameters:count: 1path: app/Models/Accessory.php+ -+ message: '#^Call to function method_exists\(\) with class\-string\<static\(App\\Models\\Accessory\)\> and ''filterableFields'' will always evaluate to true\.$#'+ identifier: function.alreadyNarrowedType+ count: 1+ path: app/Models/Accessory.php+-message: '#^Cannot access property \$id on class\-string\|object\.$#'identifier: property.nonObject@@ -3840,6 +3768,24 @@ parameters:count: 2path: app/Models/Accessory.php+ -+ message: '#^Result of && is always false\.$#'+ identifier: booleanAnd.alwaysFalse+ count: 2+ path: app/Models/Accessory.php++ -+ message: '#^Strict comparison using \!\=\= between non\-falsy\-string and '''' will always evaluate to true\.$#'+ identifier: notIdentical.alwaysTrue+ count: 2+ path: app/Models/Accessory.php++ -+ message: '#^Strict comparison using \!\=\= between non\-falsy\-string and null will always evaluate to true\.$#'+ identifier: notIdentical.alwaysTrue+ count: 1+ path: app/Models/Accessory.php+-message: '#^Strict comparison using \=\=\= between class\-string\<static\(App\\Models\\Accessory\)\> and ''App\\\\Models\\\\AssetModel'' will always evaluate to false\.$#'identifier: identical.alwaysFalse@@ -3852,6 +3798,12 @@ parameters:count: 1path: app/Models/Accessory.php+ -+ message: '#^Strict comparison using \=\=\= between non\-falsy\-string and null will always evaluate to false\.$#'+ identifier: identical.alwaysFalse+ count: 2+ path: app/Models/Accessory.php+-message: '#^Unsafe access to private property App\\Models\\Accessory\:\:\$customFieldFilterMapCache through static\:\:\.$#'identifier: staticClassAccess.privateProperty@@ -3900,6 +3852,24 @@ parameters:count: 1path: app/Models/AccessoryCheckout.php+ -+ message: '#^Result of && is always false\.$#'+ identifier: booleanAnd.alwaysFalse+ count: 1+ path: app/Models/AccessoryCheckout.php++ -+ message: '#^Strict comparison using \!\=\= between non\-falsy\-string and '''' will always evaluate to true\.$#'+ identifier: notIdentical.alwaysTrue+ count: 1+ path: app/Models/AccessoryCheckout.php++ -+ message: '#^Strict comparison using \=\=\= between non\-falsy\-string and null will always evaluate to false\.$#'+ identifier: identical.alwaysFalse+ count: 1+ path: app/Models/AccessoryCheckout.php+-message: '#^Unsafe access to private property App\\Models\\AccessoryCheckout\:\:\$customFieldFilterMapCache through static\:\:\.$#'identifier: staticClassAccess.privateProperty@@ -3966,6 +3936,24 @@ parameters:count: 1path: app/Models/Actionlog.php+ -+ message: '#^Result of && is always false\.$#'+ identifier: booleanAnd.alwaysFalse+ count: 1+ path: app/Models/Actionlog.php++ -+ message: '#^Strict comparison using \!\=\= between non\-falsy\-string and '''' will always evaluate to true\.$#'+ identifier: notIdentical.alwaysTrue+ count: 1+ path: app/Models/Actionlog.php++ -+ message: '#^Strict comparison using \=\=\= between non\-falsy\-string and null will always evaluate to false\.$#'+ identifier: identical.alwaysFalse+ count: 1+ path: app/Models/Actionlog.php+-message: '#^Unsafe access to private property App\\Models\\Actionlog\:\:\$customFieldFilterMapCache through static\:\:\.$#'identifier: staticClassAccess.privateProperty@@ -4014,12 +4002,6 @@ parameters:count: 1path: app/Models/Asset.php- -- message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$userLoc\.$#'- identifier: property.notFound- count: 1- path: app/Models/Asset.php--message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:present\(\)\.$#'identifier: method.notFound@@ -4051,20 +4033,14 @@ parameters:path: app/Models/Asset.php-- message: '#^Cannot access property \$id on class\-string\|object\.$#'- identifier: property.nonObject+ message: '#^Call to function method_exists\(\) with class\-string\<static\(App\\Models\\Asset\)\> and ''filterableFields'' will always evaluate to true\.$#'+ identifier: function.alreadyNarrowedTypecount: 1path: app/Models/Asset.php-- message: '#^Method App\\Models\\Asset\:\:assetLoc\(\) should return ArrayObject but returns App\\Models\\Location\|null\.$#'- identifier: return.type- count: 2- path: app/Models/Asset.php-- -- message: '#^Method App\\Models\\Asset\:\:assetLoc\(\) should return ArrayObject but returns Illuminate\\Database\\Eloquent\\Model\.$#'- identifier: return.type+ message: '#^Cannot access property \$id on class\-string\|object\.$#'+ identifier: property.nonObjectcount: 1path: app/Models/Asset.php@@ -4146,6 +4122,12 @@ parameters:count: 1path: app/Models/Asset.php+ -+ message: '#^Result of && is always false\.$#'+ identifier: booleanAnd.alwaysFalse+ count: 2+ path: app/Models/Asset.php+-message: '#^Right side of && is always true\.$#'identifier: booleanAnd.rightAlwaysTrue@@ -4158,12 +4140,30 @@ parameters:count: 1path: app/Models/Asset.php+ -+ message: '#^Strict comparison using \!\=\= between non\-falsy\-string and '''' will always evaluate to true\.$#'+ identifier: notIdentical.alwaysTrue+ count: 2+ path: app/Models/Asset.php++ -+ message: '#^Strict comparison using \!\=\= between non\-falsy\-string and null will always evaluate to true\.$#'+ identifier: notIdentical.alwaysTrue+ count: 1+ path: app/Models/Asset.php+-message: '#^Strict comparison using \=\=\= between class\-string\<static\(App\\Models\\Asset\)\> and ''App\\\\Models\\\\LicenseSeat'' will always evaluate to false\.$#'identifier: identical.alwaysFalsecount: 1path: app/Models/Asset.php+ -+ message: '#^Strict comparison using \=\=\= between non\-falsy\-string and null will always evaluate to false\.$#'+ identifier: identical.alwaysFalse+ count: 2+ path: app/Models/Asset.php+-message: '#^Strict comparison using \=\=\= between null and null will always evaluate to true\.$#'identifier: identical.alwaysTrue@@ -4248,6 +4248,12 @@ parameters:count: 1path: app/Models/AssetModel.php+ -+ message: '#^Call to function method_exists\(\) with class\-string\<static\(App\\Models\\AssetModel\)\> and ''filterableFields'' will always evaluate to true\.$#'+ identifier: function.alreadyNarrowedType+ count: 1+ path: app/Models/AssetModel.php+-message: '#^Method App\\Models\\AssetModel\:\:getImageUrl\(\) should return Illuminate\\Database\\Eloquent\\Relations\\Relation but returns false\.$#'identifier: return.type@@ -4290,12 +4296,30 @@ parameters:count: 1path: app/Models/AssetModel.php+ -+ message: '#^Result of && is always false\.$#'+ identifier: booleanAnd.alwaysFalse+ count: 1+ path: app/Models/AssetModel.php++ -+ message: '#^Strict comparison using \!\=\= between non\-falsy\-string and '''' will always evaluate to true\.$#'+ identifier: notIdentical.alwaysTrue+ count: 1+ path: app/Models/AssetModel.php+-message: '#^Strict comparison using \=\=\= between class\-string\<static\(App\\Models\\AssetModel\)\> and ''App\\\\Models\\\\LicenseSeat'' will always evaluate to false\.$#'identifier: identical.alwaysFalsecount: 1path: app/Models/AssetModel.php+ -+ message: '#^Strict comparison using \=\=\= between non\-falsy\-string and null will always evaluate to false\.$#'+ identifier: identical.alwaysFalse+ count: 1+ path: app/Models/AssetModel.php+-message: '#^Unsafe access to private property App\\Models\\AssetModel\:\:\$customFieldFilterMapCache through static\:\:\.$#'identifier: staticClassAccess.privateProperty@@ -4350,6 +4374,24 @@ parameters:count: 1path: app/Models/Category.php+ -+ message: '#^Result of && is always false\.$#'+ identifier: booleanAnd.alwaysFalse+ count: 1+ path: app/Models/Category.php++ -+ message: '#^Strict comparison using \!\=\= between non\-falsy\-string and '''' will always evaluate to true\.$#'+ identifier: notIdentical.alwaysTrue+ count: 1+ path: app/Models/Category.php++ -+ message: '#^Strict comparison using \=\=\= between non\-falsy\-string and null will always evaluate to false\.$#'+ identifier: identical.alwaysFalse+ count: 1+ path: app/Models/Category.php+-message: '#^Unsafe access to private property App\\Models\\Category\:\:\$customFieldFilterMapCache through static\:\:\.$#'identifier: staticClassAccess.privateProperty@@ -4380,6 +4422,24 @@ parameters:count: 1path: app/Models/CheckoutRequest.php+ -+ message: '#^Result of && is always false\.$#'+ identifier: booleanAnd.alwaysFalse+ count: 1+ path: app/Models/CheckoutRequest.php++ -+ message: '#^Strict comparison using \!\=\= between non\-falsy\-string and '''' will always evaluate to true\.$#'+ identifier: notIdentical.alwaysTrue+ count: 1+ path: app/Models/CheckoutRequest.php++ -+ message: '#^Strict comparison using \=\=\= between non\-falsy\-string and null will always evaluate to false\.$#'+ identifier: identical.alwaysFalse+ count: 1+ path: app/Models/CheckoutRequest.php+-message: '#^Unsafe access to private property App\\Models\\CheckoutRequest\:\:\$customFieldFilterMapCache through static\:\:\.$#'identifier: staticClassAccess.privateProperty@@ -4494,6 +4554,12 @@ parameters:count: 1path: app/Models/Company.php+ -+ message: '#^Call to function method_exists\(\) with ''App\\\\Models\\\\Company'' and ''filterableFields'' will always evaluate to false\.$#'+ identifier: function.impossibleType+ count: 1+ path: app/Models/Company.php+-message: '#^Loose comparison using \=\= between ''App\\\\Models\\\\Company'' and ''App\\\\Models\\\\Asset'' will always evaluate to false\.$#'identifier: equal.alwaysFalse@@ -4539,7 +4605,13 @@ parameters:-message: '#^Result of && is always false\.$#'identifier: booleanAnd.alwaysFalse- count: 2+ count: 3+ path: app/Models/Company.php++ -+ message: '#^Strict comparison using \!\=\= between non\-falsy\-string and '''' will always evaluate to true\.$#'+ identifier: notIdentical.alwaysTrue+ count: 1path: app/Models/Company.php-@@ -4554,6 +4626,12 @@ parameters:count: 1path: app/Models/Company.php+ -+ message: '#^Strict comparison using \=\=\= between non\-falsy\-string and null will always evaluate to false\.$#'+ identifier: identical.alwaysFalse+ count: 1+ path: app/Models/Company.php+-message: '#^Using nullsafe method call on non\-nullable type Psr\\Http\\Message\\ResponseInterface\. Use \-\> instead\.$#'identifier: nullsafe.neverNull@@ -4656,6 +4734,12 @@ parameters:count: 1path: app/Models/Component.php+ -+ message: '#^Call to function method_exists\(\) with class\-string\<static\(App\\Models\\Component\)\> and ''filterableFields'' will always evaluate to true\.$#'+ identifier: function.alreadyNarrowedType+ count: 1+ path: app/Models/Component.php+-message: '#^Cannot access property \$id on class\-string\|object\.$#'identifier: property.nonObject@@ -4699,20 +4783,44 @@ parameters:path: app/Models/Component.php-- message: '#^Strict comparison using \=\=\= between class\-string\<static\(App\\Models\\Component\)\> and ''App\\\\Models\\\\AssetModel'' will always evaluate to false\.$#'- identifier: identical.alwaysFalse- count: 1+ message: '#^Result of && is always false\.$#'+ identifier: booleanAnd.alwaysFalse+ count: 2path: app/Models/Component.php-- message: '#^Strict comparison using \=\=\= between class\-string\<static\(App\\Models\\Component\)\> and ''App\\\\Models\\\\LicenseSeat'' will always evaluate to false\.$#'- identifier: identical.alwaysFalse- count: 1+ message: '#^Strict comparison using \!\=\= between non\-falsy\-string and '''' will always evaluate to true\.$#'+ identifier: notIdentical.alwaysTrue+ count: 2path: app/Models/Component.php-- message: '#^Unsafe access to private property App\\Models\\Component\:\:\$customFieldFilterMapCache through static\:\:\.$#'- identifier: staticClassAccess.privateProperty+ message: '#^Strict comparison using \!\=\= between non\-falsy\-string and null will always evaluate to true\.$#'+ identifier: notIdentical.alwaysTrue+ count: 1+ path: app/Models/Component.php++ -+ message: '#^Strict comparison using \=\=\= between class\-string\<static\(App\\Models\\Component\)\> and ''App\\\\Models\\\\AssetModel'' will always evaluate to false\.$#'+ identifier: identical.alwaysFalse+ count: 1+ path: app/Models/Component.php++ -+ message: '#^Strict comparison using \=\=\= between class\-string\<static\(App\\Models\\Component\)\> and ''App\\\\Models\\\\LicenseSeat'' will always evaluate to false\.$#'+ identifier: identical.alwaysFalse+ count: 1+ path: app/Models/Component.php++ -+ message: '#^Strict comparison using \=\=\= between non\-falsy\-string and null will always evaluate to false\.$#'+ identifier: identical.alwaysFalse+ count: 2+ path: app/Models/Component.php++ -+ message: '#^Unsafe access to private property App\\Models\\Component\:\:\$customFieldFilterMapCache through static\:\:\.$#'+ identifier: staticClassAccess.privatePropertycount: 4path: app/Models/Component.php@@ -4758,6 +4866,24 @@ parameters:count: 1path: app/Models/ComponentAssignment.php+ -+ message: '#^Result of && is always false\.$#'+ identifier: booleanAnd.alwaysFalse+ count: 1+ path: app/Models/ComponentAssignment.php++ -+ message: '#^Strict comparison using \!\=\= between non\-falsy\-string and '''' will always evaluate to true\.$#'+ identifier: notIdentical.alwaysTrue+ count: 1+ path: app/Models/ComponentAssignment.php++ -+ message: '#^Strict comparison using \=\=\= between non\-falsy\-string and null will always evaluate to false\.$#'+ identifier: identical.alwaysFalse+ count: 1+ path: app/Models/ComponentAssignment.php+-message: '#^Unsafe access to private property App\\Models\\ComponentAssignment\:\:\$customFieldFilterMapCache through static\:\:\.$#'identifier: staticClassAccess.privateProperty@@ -4830,6 +4956,12 @@ parameters:count: 1path: app/Models/Consumable.php+ -+ message: '#^Call to function method_exists\(\) with class\-string\<static\(App\\Models\\Consumable\)\> and ''filterableFields'' will always evaluate to true\.$#'+ identifier: function.alreadyNarrowedType+ count: 1+ path: app/Models/Consumable.php+-message: '#^Cannot access property \$id on class\-string\|object\.$#'identifier: property.nonObject@@ -4872,6 +5004,24 @@ parameters:count: 2path: app/Models/Consumable.php+ -+ message: '#^Result of && is always false\.$#'+ identifier: booleanAnd.alwaysFalse+ count: 2+ path: app/Models/Consumable.php++ -+ message: '#^Strict comparison using \!\=\= between non\-falsy\-string and '''' will always evaluate to true\.$#'+ identifier: notIdentical.alwaysTrue+ count: 2+ path: app/Models/Consumable.php++ -+ message: '#^Strict comparison using \!\=\= between non\-falsy\-string and null will always evaluate to true\.$#'+ identifier: notIdentical.alwaysTrue+ count: 1+ path: app/Models/Consumable.php+-message: '#^Strict comparison using \=\=\= between class\-string\<static\(App\\Models\\Consumable\)\> and ''App\\\\Models\\\\AssetModel'' will always evaluate to false\.$#'identifier: identical.alwaysFalse@@ -4884,6 +5034,12 @@ parameters:count: 1path: app/Models/Consumable.php+ -+ message: '#^Strict comparison using \=\=\= between non\-falsy\-string and null will always evaluate to false\.$#'+ identifier: identical.alwaysFalse+ count: 2+ path: app/Models/Consumable.php+-message: '#^Unsafe access to private property App\\Models\\Consumable\:\:\$customFieldFilterMapCache through static\:\:\.$#'identifier: staticClassAccess.privateProperty@@ -5028,12 +5184,30 @@ parameters:count: 1path: app/Models/Department.php+ -+ message: '#^Result of && is always false\.$#'+ identifier: booleanAnd.alwaysFalse+ count: 1+ path: app/Models/Department.php++ -+ message: '#^Strict comparison using \!\=\= between non\-falsy\-string and '''' will always evaluate to true\.$#'+ identifier: notIdentical.alwaysTrue+ count: 1+ path: app/Models/Department.php+-message: '#^Strict comparison using \=\=\= between class\-string\<static\(App\\Models\\Department\)\> and ''App\\\\Models\\\\LicenseSeat'' will always evaluate to false\.$#'identifier: identical.alwaysFalsecount: 1path: app/Models/Department.php+ -+ message: '#^Strict comparison using \=\=\= between non\-falsy\-string and null will always evaluate to false\.$#'+ identifier: identical.alwaysFalse+ count: 1+ path: app/Models/Department.php+-message: '#^Unsafe access to private property App\\Models\\Department\:\:\$customFieldFilterMapCache through static\:\:\.$#'identifier: staticClassAccess.privateProperty@@ -5100,6 +5274,24 @@ parameters:count: 1path: app/Models/Depreciation.php+ -+ message: '#^Result of && is always false\.$#'+ identifier: booleanAnd.alwaysFalse+ count: 1+ path: app/Models/Depreciation.php++ -+ message: '#^Strict comparison using \!\=\= between non\-falsy\-string and '''' will always evaluate to true\.$#'+ identifier: notIdentical.alwaysTrue+ count: 1+ path: app/Models/Depreciation.php++ -+ message: '#^Strict comparison using \=\=\= between non\-falsy\-string and null will always evaluate to false\.$#'+ identifier: identical.alwaysFalse+ count: 1+ path: app/Models/Depreciation.php+-message: '#^Unsafe access to private property App\\Models\\Depreciation\:\:\$customFieldFilterMapCache through static\:\:\.$#'identifier: staticClassAccess.privateProperty@@ -5136,6 +5328,24 @@ parameters:count: 1path: app/Models/Group.php+ -+ message: '#^Result of && is always false\.$#'+ identifier: booleanAnd.alwaysFalse+ count: 1+ path: app/Models/Group.php++ -+ message: '#^Strict comparison using \!\=\= between non\-falsy\-string and '''' will always evaluate to true\.$#'+ identifier: notIdentical.alwaysTrue+ count: 1+ path: app/Models/Group.php++ -+ message: '#^Strict comparison using \=\=\= between non\-falsy\-string and null will always evaluate to false\.$#'+ identifier: identical.alwaysFalse+ count: 1+ path: app/Models/Group.php+-message: '#^Unsafe access to private property App\\Models\\Group\:\:\$customFieldFilterMapCache through static\:\:\.$#'identifier: staticClassAccess.privateProperty@@ -5292,24 +5502,12 @@ parameters:count: 1path: app/Models/Labels/CustomLabels/CustomTapeLabel.php- -- message: '#^Call to function method_exists\(\) with \$this\(App\\Models\\Labels\\CustomLabels\\CustomTapeLabel\) and ''getLogoPlacement'' will always evaluate to true\.$#'- identifier: function.alreadyNarrowedType- count: 1- path: app/Models/Labels/CustomLabels/CustomTapeLabel.php--message: '#^Call to function method_exists\(\) with \$this\(App\\Models\\Labels\\CustomLabels\\CustomTapeLabel\) and ''getTagPositionMode'' will always evaluate to true\.$#'identifier: function.alreadyNarrowedTypecount: 3path: app/Models/Labels/CustomLabels/CustomTapeLabel.php- -- message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$display_name\.$#'- identifier: property.notFound- count: 1- path: app/Models/Labels/FieldOption.php--message: '#^Dead catch \- Throwable is never thrown in the try block\.$#'identifier: catch.neverThrown@@ -5481,7 +5679,7 @@ parameters:-message: '#^Method App\\Models\\Ldap\:\:findLdapUsers\(\) should return array\|bool but returns Illuminate\\Http\\RedirectResponse\.$#'identifier: return.type- count: 2+ count: 1path: app/Models/Ldap.php-@@ -5544,6 +5742,12 @@ parameters:count: 1path: app/Models/License.php+ -+ message: '#^Call to function method_exists\(\) with class\-string\<static\(App\\Models\\License\)\> and ''filterableFields'' will always evaluate to true\.$#'+ identifier: function.alreadyNarrowedType+ count: 1+ path: app/Models/License.php+-message: '#^Method App\\Models\\License\:\:adjustSeatCount\(\) should return Illuminate\\Database\\Eloquent\\Relations\\Relation but returns false\.$#'identifier: return.type@@ -5598,6 +5802,18 @@ parameters:count: 1path: app/Models/License.php+ -+ message: '#^Result of && is always false\.$#'+ identifier: booleanAnd.alwaysFalse+ count: 1+ path: app/Models/License.php++ -+ message: '#^Strict comparison using \!\=\= between non\-falsy\-string and '''' will always evaluate to true\.$#'+ identifier: notIdentical.alwaysTrue+ count: 1+ path: app/Models/License.php+-message: '#^Strict comparison using \=\=\= between class\-string\<static\(App\\Models\\License\)\> and ''App\\\\Models\\\\AssetModel'' will always evaluate to false\.$#'identifier: identical.alwaysFalse@@ -5610,6 +5826,12 @@ parameters:count: 1path: app/Models/License.php+ -+ message: '#^Strict comparison using \=\=\= between non\-falsy\-string and null will always evaluate to false\.$#'+ identifier: identical.alwaysFalse+ count: 1+ path: app/Models/License.php+-message: '#^Unsafe access to private property App\\Models\\License\:\:\$customFieldFilterMapCache through static\:\:\.$#'identifier: staticClassAccess.privateProperty@@ -5688,6 +5910,24 @@ parameters:count: 1path: app/Models/LicenseSeat.php+ -+ message: '#^Result of && is always false\.$#'+ identifier: booleanAnd.alwaysFalse+ count: 1+ path: app/Models/LicenseSeat.php++ -+ message: '#^Strict comparison using \!\=\= between non\-falsy\-string and '''' will always evaluate to true\.$#'+ identifier: notIdentical.alwaysTrue+ count: 1+ path: app/Models/LicenseSeat.php++ -+ message: '#^Strict comparison using \=\=\= between non\-falsy\-string and null will always evaluate to false\.$#'+ identifier: identical.alwaysFalse+ count: 1+ path: app/Models/LicenseSeat.php+-message: '#^Unsafe access to private property App\\Models\\LicenseSeat\:\:\$customFieldFilterMapCache through static\:\:\.$#'identifier: staticClassAccess.privateProperty@@ -5754,12 +5994,30 @@ parameters:count: 1path: app/Models/Location.php+ -+ message: '#^Result of && is always false\.$#'+ identifier: booleanAnd.alwaysFalse+ count: 1+ path: app/Models/Location.php++ -+ message: '#^Strict comparison using \!\=\= between non\-falsy\-string and '''' will always evaluate to true\.$#'+ identifier: notIdentical.alwaysTrue+ count: 1+ path: app/Models/Location.php+-message: '#^Strict comparison using \=\=\= between class\-string\<static\(App\\Models\\Location\)\> and ''App\\\\Models\\\\LicenseSeat'' will always evaluate to false\.$#'identifier: identical.alwaysFalsecount: 1path: app/Models/Location.php+ -+ message: '#^Strict comparison using \=\=\= between non\-falsy\-string and null will always evaluate to false\.$#'+ identifier: identical.alwaysFalse+ count: 1+ path: app/Models/Location.php+-message: '#^Unsafe access to private property App\\Models\\Location\:\:\$customFieldFilterMapCache through static\:\:\.$#'identifier: staticClassAccess.privateProperty@@ -5826,12 +6084,30 @@ parameters:count: 1path: app/Models/Maintenance.php+ -+ message: '#^Result of && is always false\.$#'+ identifier: booleanAnd.alwaysFalse+ count: 1+ path: app/Models/Maintenance.php++ -+ message: '#^Strict comparison using \!\=\= between non\-falsy\-string and '''' will always evaluate to true\.$#'+ identifier: notIdentical.alwaysTrue+ count: 1+ path: app/Models/Maintenance.php+-message: '#^Strict comparison using \=\=\= between class\-string\<static\(App\\Models\\Maintenance\)\> and ''App\\\\Models\\\\LicenseSeat'' will always evaluate to false\.$#'identifier: identical.alwaysFalsecount: 1path: app/Models/Maintenance.php+ -+ message: '#^Strict comparison using \=\=\= between non\-falsy\-string and null will always evaluate to false\.$#'+ identifier: identical.alwaysFalse+ count: 1+ path: app/Models/Maintenance.php+-message: '#^Unsafe access to private property App\\Models\\Maintenance\:\:\$customFieldFilterMapCache through static\:\:\.$#'identifier: staticClassAccess.privateProperty@@ -5868,6 +6144,24 @@ parameters:count: 1path: app/Models/Manufacturer.php+ -+ message: '#^Result of && is always false\.$#'+ identifier: booleanAnd.alwaysFalse+ count: 1+ path: app/Models/Manufacturer.php++ -+ message: '#^Strict comparison using \!\=\= between non\-falsy\-string and '''' will always evaluate to true\.$#'+ identifier: notIdentical.alwaysTrue+ count: 1+ path: app/Models/Manufacturer.php++ -+ message: '#^Strict comparison using \=\=\= between non\-falsy\-string and null will always evaluate to false\.$#'+ identifier: identical.alwaysFalse+ count: 1+ path: app/Models/Manufacturer.php+-message: '#^Unsafe access to private property App\\Models\\Manufacturer\:\:\$customFieldFilterMapCache through static\:\:\.$#'identifier: staticClassAccess.privateProperty@@ -5892,6 +6186,24 @@ parameters:count: 1path: app/Models/PredefinedKit.php+ -+ message: '#^Result of && is always false\.$#'+ identifier: booleanAnd.alwaysFalse+ count: 1+ path: app/Models/PredefinedKit.php++ -+ message: '#^Strict comparison using \!\=\= between non\-falsy\-string and '''' will always evaluate to true\.$#'+ identifier: notIdentical.alwaysTrue+ count: 1+ path: app/Models/PredefinedKit.php++ -+ message: '#^Strict comparison using \=\=\= between non\-falsy\-string and null will always evaluate to false\.$#'+ identifier: identical.alwaysFalse+ count: 1+ path: app/Models/PredefinedKit.php+-message: '#^Unsafe access to private property App\\Models\\PredefinedKit\:\:\$customFieldFilterMapCache through static\:\:\.$#'identifier: staticClassAccess.privateProperty@@ -6012,6 +6324,24 @@ parameters:count: 1path: app/Models/Statuslabel.php+ -+ message: '#^Result of && is always false\.$#'+ identifier: booleanAnd.alwaysFalse+ count: 1+ path: app/Models/Statuslabel.php++ -+ message: '#^Strict comparison using \!\=\= between non\-falsy\-string and '''' will always evaluate to true\.$#'+ identifier: notIdentical.alwaysTrue+ count: 1+ path: app/Models/Statuslabel.php++ -+ message: '#^Strict comparison using \=\=\= between non\-falsy\-string and null will always evaluate to false\.$#'+ identifier: identical.alwaysFalse+ count: 1+ path: app/Models/Statuslabel.php+-message: '#^Unsafe access to private property App\\Models\\Statuslabel\:\:\$customFieldFilterMapCache through static\:\:\.$#'identifier: staticClassAccess.privateProperty@@ -6072,12 +6402,30 @@ parameters:count: 1path: app/Models/Supplier.php+ -+ message: '#^Result of && is always false\.$#'+ identifier: booleanAnd.alwaysFalse+ count: 1+ path: app/Models/Supplier.php++ -+ message: '#^Strict comparison using \!\=\= between non\-falsy\-string and '''' will always evaluate to true\.$#'+ identifier: notIdentical.alwaysTrue+ count: 1+ path: app/Models/Supplier.php+-message: '#^Strict comparison using \=\=\= between class\-string\<static\(App\\Models\\Supplier\)\> and ''App\\\\Models\\\\LicenseSeat'' will always evaluate to false\.$#'identifier: identical.alwaysFalsecount: 1path: app/Models/Supplier.php+ -+ message: '#^Strict comparison using \=\=\= between non\-falsy\-string and null will always evaluate to false\.$#'+ identifier: identical.alwaysFalse+ count: 1+ path: app/Models/Supplier.php+-message: '#^Unsafe access to private property App\\Models\\Supplier\:\:\$customFieldFilterMapCache through static\:\:\.$#'identifier: staticClassAccess.privateProperty@@ -6204,6 +6552,12 @@ parameters:count: 2path: app/Models/User.php+ -+ message: '#^Call to function method_exists\(\) with class\-string\<static\(App\\Models\\User\)\> and ''filterableFields'' will always evaluate to true\.$#'+ identifier: function.alreadyNarrowedType+ count: 1+ path: app/Models/User.php+-message: '#^Method App\\Models\\User\:\:allAssignedCount\(\) should return Illuminate\\Database\\Eloquent\\Relations\\Relation but returns int\<0, max\>\.$#'identifier: return.type@@ -6252,6 +6606,18 @@ parameters:count: 1path: app/Models/User.php+ -+ message: '#^Result of && is always false\.$#'+ identifier: booleanAnd.alwaysFalse+ count: 1+ path: app/Models/User.php++ -+ message: '#^Strict comparison using \!\=\= between non\-falsy\-string and '''' will always evaluate to true\.$#'+ identifier: notIdentical.alwaysTrue+ count: 1+ path: app/Models/User.php+-message: '#^Strict comparison using \=\=\= between class\-string\<static\(App\\Models\\User\)\> and ''App\\\\Models\\\\LicenseSeat'' will always evaluate to false\.$#'identifier: identical.alwaysFalse@@ -6264,6 +6630,12 @@ parameters:count: 1path: app/Models/User.php+ -+ message: '#^Strict comparison using \=\=\= between non\-falsy\-string and null will always evaluate to false\.$#'+ identifier: identical.alwaysFalse+ count: 1+ path: app/Models/User.php+-message: '#^Unsafe access to private property App\\Models\\User\:\:\$customFieldFilterMapCache through static\:\:\.$#'identifier: staticClassAccess.privateProperty@@ -7404,24 +7776,6 @@ parameters:count: 1path: app/SyncAdapters/MerakiSystemsManager/MerakiClient.php- -- message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$email\.$#'- identifier: property.notFound- count: 1- path: app/SyncAdapters/SyncAdapter.php-- -- message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$username\.$#'- identifier: property.notFound- count: 1- path: app/SyncAdapters/SyncAdapter.php-- -- message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:present\(\)\.$#'- identifier: method.notFound- count: 1- path: app/SyncAdapters/SyncAdapter.php--message: '#^Property App\\Models\\IdeHelperAsset\:\:\$byod \(int\|null\) does not accept bool\.$#'identifier: assign.propertyType@@ -7434,30 +7788,6 @@ parameters:count: 1path: app/SyncAdapters/SyncAdapter.php- -- message: '#^Using nullsafe property access "\?\-\>email" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'- identifier: nullsafe.neverNull- count: 1- path: app/SyncAdapters/SyncAdapter.php-- -- message: '#^Using nullsafe property access "\?\-\>model_number" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'- identifier: nullsafe.neverNull- count: 1- path: app/SyncAdapters/SyncAdapter.php-- -- message: '#^Using nullsafe property access "\?\-\>name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'- identifier: nullsafe.neverNull- count: 7- path: app/SyncAdapters/SyncAdapter.php-- -- message: '#^Using nullsafe property access "\?\-\>username" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'- identifier: nullsafe.neverNull- count: 1- path: app/SyncAdapters/SyncAdapter.php--message: '#^Expression on left side of \?\? is not nullable\.$#'identifier: nullCoalesce.expr