A free open source IT asset/license management system
parameters:
ignoreErrors:
-
message: '#^Access to an undefined property App\\Models\\Asset\:\:\$pivot\.$#'
identifier: property.notFound
count: 1
path: app/Actions/Acceptances/RegenerateAcceptancesAction.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Builder\<App\\Models\\Category\>\:\:requiresAcceptance\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Actions/Acceptances/RegenerateAcceptancesAction.php
-
message: '#^Property App\\Models\\IdeHelperActionlog\:\:\$created_at \(Illuminate\\Support\\Carbon\|null\) does not accept string\.$#'
identifier: assign.propertyType
count: 1
path: app/Actions/CheckoutRequests/CancelCheckoutRequestAction.php
-
message: '#^Property App\\Models\\IdeHelperActionlog\:\:\$created_at \(Illuminate\\Support\\Carbon\|null\) does not accept string\.$#'
identifier: assign.propertyType
count: 1
path: app/Actions/CheckoutRequests/CreateCheckoutRequestAction.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$asset_tag\.$#'
identifier: property.notFound
count: 7
path: app/Console/Commands/BulkDelete.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$assignedTo\.$#'
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: 9
path: app/Console/Commands/BulkDelete.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$image\.$#'
identifier: property.notFound
count: 4
path: app/Console/Commands/BulkDelete.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$name\.$#'
identifier: property.notFound
count: 29
path: app/Console/Commands/BulkDelete.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:assetlog\(\)\.$#'
identifier: method.notFound
count: 10
path: app/Console/Commands/BulkDelete.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:licenseseats\(\)\.$#'
identifier: method.notFound
count: 4
path: app/Console/Commands/BulkDelete.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:logCheckin\(\)\.$#'
identifier: method.notFound
count: 3
path: app/Console/Commands/BulkDelete.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:maintenances\(\)\.$#'
identifier: method.notFound
count: 2
path: app/Console/Commands/BulkDelete.php
-
message: '#^Using nullsafe property access "\?\-\>asset_tag" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 6
path: app/Console/Commands/BulkDelete.php
-
message: '#^Using nullsafe property access "\?\-\>name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 6
path: app/Console/Commands/BulkDelete.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$asset_tag\.$#'
identifier: property.notFound
count: 1
path: app/Console/Commands/CheckinAndDeleteItems.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$name\.$#'
identifier: property.notFound
count: 1
path: app/Console/Commands/CheckinAndDeleteItems.php
-
message: '#^Using nullsafe property access "\?\-\>asset_tag" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 3
path: app/Console/Commands/CheckinAndDeleteItems.php
-
message: '#^Using nullsafe property access "\?\-\>name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 2
path: app/Console/Commands/CheckinAndDeleteItems.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:assetlog\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Console/Commands/CleanIncorrectCheckoutAcceptances.php
-
message: '#^Call to function is_null\(\) with Illuminate\\Database\\Eloquent\\Model will always evaluate to false\.$#'
identifier: function.impossibleType
count: 1
path: app/Console/Commands/CleanIncorrectCheckoutAcceptances.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:trashed\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Console/Commands/CleanOldCheckoutRequests.php
-
message: '#^Negated boolean expression is always false\.$#'
identifier: booleanNot.alwaysFalse
count: 1
path: app/Console/Commands/CleanOldCheckoutRequests.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:attach\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Console/Commands/CreateAdmin.php
-
message: '#^Access to an undefined property App\\Models\\Accessory\:\:\$first_name\.$#'
identifier: property.notFound
count: 2
path: app/Console/Commands/FixDoubleEscape.php
-
message: '#^Access to an undefined property App\\Models\\Accessory\:\:\$last_name\.$#'
identifier: property.notFound
count: 2
path: app/Console/Commands/FixDoubleEscape.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$action_type\.$#'
identifier: property.notFound
count: 2
path: app/Console/Commands/FixupAssignedToWithoutAssignedType.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$target_id\.$#'
identifier: property.notFound
count: 2
path: app/Console/Commands/FixupAssignedToWithoutAssignedType.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$target_type\.$#'
identifier: property.notFound
count: 2
path: app/Console/Commands/FixupAssignedToWithoutAssignedType.php
-
message: '#^Method App\\Console\\Commands\\GeneratePersonalAccessToken\:\:handle\(\) should return int but return statement is missing\.$#'
identifier: return.missing
count: 1
path: app/Console/Commands/GeneratePersonalAccessToken.php
-
message: '#^Method App\\Console\\Commands\\GeneratePersonalAccessToken\:\:handle\(\) should return int but returns null\.$#'
identifier: return.type
count: 2
path: app/Console/Commands/GeneratePersonalAccessToken.php
-
message: '#^Result of method Illuminate\\Console\\Command\:\:error\(\) \(void\) is used\.$#'
identifier: method.void
count: 2
path: app/Console/Commands/GeneratePersonalAccessToken.php
-
message: '#^Result of method Illuminate\\Console\\Command\:\:error\(\) \(void\) is used\.$#'
identifier: method.void
count: 1
path: app/Console/Commands/KillAllSessions.php
-
message: '#^Access to an undefined property App\\Models\\Setting\:\:\$ldap_base_dn\.$#'
identifier: property.notFound
count: 1
path: app/Console/Commands/LdapSync.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:attach\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Console/Commands/LdapSync.php
-
message: '#^Call to function is_array\(\) with App\\Models\\Location will always evaluate to false\.$#'
identifier: function.impossibleType
count: 1
path: app/Console/Commands/LdapSync.php
-
message: '#^Property App\\Models\\IdeHelperUser\:\:\$activated \(int\) does not accept bool\.$#'
identifier: assign.propertyType
count: 2
path: app/Console/Commands/LdapSync.php
-
message: '#^Access to an undefined property App\\Console\\Commands\\LdapTroubleshooter\:\:\$settings\.$#'
identifier: property.notFound
count: 3
path: app/Console/Commands/LdapTroubleshooter.php
-
message: '#^Binary operation "\-" between 32 and string results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: app/Console/Commands/LdapTroubleshooter.php
-
message: '#^Loose comparison using \=\= between int\<1, max\> and 0 will always evaluate to false\.$#'
identifier: equal.alwaysFalse
count: 1
path: app/Console/Commands/LdapTroubleshooter.php
-
message: '#^Undefined variable\: \$ldap_constants$#'
identifier: variable.undefined
count: 1
path: app/Console/Commands/LdapTroubleshooter.php
-
message: '#^Variable \$conn might not be defined\.$#'
identifier: variable.undefined
count: 1
path: app/Console/Commands/LdapTroubleshooter.php
-
message: '#^Variable \$ldap_constants in isset\(\) is never defined\.$#'
identifier: isset.variable
count: 1
path: app/Console/Commands/LdapTroubleshooter.php
-
message: '#^Property App\\Models\\IdeHelperUser\:\:\$deleted_at \(Illuminate\\Support\\Carbon\|null\) does not accept float\|int\|string\.$#'
identifier: assign.propertyType
count: 1
path: app/Console/Commands/MergeUsersByUsername.php
-
message: '#^Method App\\Console\\Commands\\NormalizeUserNames\:\:handle\(\) should return int but return statement is missing\.$#'
identifier: return.missing
count: 1
path: app/Console/Commands/NormalizeUserNames.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Builder\<Illuminate\\Database\\Eloquent\\Model\>\:\:withTrashed\(\)\.$#'
identifier: method.notFound
count: 2
path: app/Console/Commands/PurgeEulaPDFs.php
-
message: '#^Result of method Illuminate\\Console\\Command\:\:error\(\) \(void\) is used\.$#'
identifier: method.void
count: 1
path: app/Console/Commands/PurgeEulaPDFs.php
-
message: '#^Result of method Illuminate\\Console\\Command\:\:warn\(\) \(void\) is used\.$#'
identifier: method.void
count: 1
path: app/Console/Commands/PurgeEulaPDFs.php
-
message: '#^Offset int does not exist on array\<string, string\>\.$#'
identifier: offsetAccess.notFound
count: 1
path: app/Console/Commands/ReEncodeCustomFieldNames.php
-
message: '#^Empty array passed to foreach\.$#'
identifier: foreach.emptyArray
count: 1
path: app/Console/Commands/RegenerateAssetTags.php
-
message: '#^If condition is always true\.$#'
identifier: if.alwaysTrue
count: 1
path: app/Console/Commands/RegenerateAssetTags.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$asset_tag\.$#'
identifier: property.notFound
count: 1
path: app/Console/Commands/RestoreDeletedUsers.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#'
identifier: property.notFound
count: 2
path: app/Console/Commands/RestoreDeletedUsers.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$name\.$#'
identifier: property.notFound
count: 2
path: app/Console/Commands/RestoreDeletedUsers.php
-
message: '#^Result of method Illuminate\\Console\\Command\:\:error\(\) \(void\) is used\.$#'
identifier: method.void
count: 8
path: app/Console/Commands/RestoreFromBackup.php
-
message: '#^Result of method Illuminate\\Console\\Command\:\:info\(\) \(void\) is used\.$#'
identifier: method.void
count: 1
path: app/Console/Commands/RestoreFromBackup.php
-
message: '#^Variable \$cipher might not be defined\.$#'
identifier: variable.undefined
count: 3
path: app/Console/Commands/RotateAppKey.php
-
message: '#^Variable \$new_app_key might not be defined\.$#'
identifier: variable.undefined
count: 2
path: app/Console/Commands/RotateAppKey.php
-
message: '#^Variable \$old_app_key might not be defined\.$#'
identifier: variable.undefined
count: 2
path: app/Console/Commands/RotateAppKey.php
-
message: '#^Left side of && is always true\.$#'
identifier: booleanAnd.leftAlwaysTrue
count: 2
path: app/Console/Commands/SendExpectedCheckinAlerts.php
-
message: '#^Comparison operation "\>" between int\<1, max\> and 0 is always true\.$#'
identifier: greater.alwaysTrue
count: 1
path: app/Console/Commands/SendInventoryAlerts.php
-
message: '#^Method App\\Console\\Commands\\ToggleCustomfieldEncryption\:\:handle\(\) should return int but return statement is missing\.$#'
identifier: return.missing
count: 2
path: app/Console/Commands/ToggleCustomfieldEncryption.php
-
message: '#^Using nullsafe property access "\?\-\>model_number" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: app/Console/Commands/ValidateAssets.php
-
message: '#^Using nullsafe property access "\?\-\>name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: app/Console/Commands/ValidateAssets.php
-
message: '#^Binary operation "\+" between string and 1 results in an error\.$#'
identifier: binaryOp.invalid
count: 6
path: app/Console/Commands/Version.php
-
message: '#^Variable \$app_version might not be defined\.$#'
identifier: variable.undefined
count: 3
path: app/Console/Commands/Version.php
-
message: '#^Access to an undefined property App\\Events\\CheckoutAccepted\:\:\$acceptance\.$#'
identifier: property.notFound
count: 1
path: app/Events/CheckoutAccepted.php
-
message: '#^Access to an undefined property App\\Events\\CheckoutDeclined\:\:\$acceptance\.$#'
identifier: property.notFound
count: 1
path: app/Events/CheckoutDeclined.php
-
message: '#^Access to an undefined property App\\Events\\UserMerged\:\:\$admin\.$#'
identifier: property.notFound
count: 1
path: app/Events/UserMerged.php
-
message: '#^Access to an undefined property App\\Events\\UserMerged\:\:\$merged_from\.$#'
identifier: property.notFound
count: 1
path: app/Events/UserMerged.php
-
message: '#^Access to an undefined property App\\Events\\UserMerged\:\:\$merged_to\.$#'
identifier: property.notFound
count: 1
path: app/Events/UserMerged.php
-
message: '#^Call to an undefined method Exception\:\:getStatusCode\(\)\.$#'
identifier: method.notFound
count: 2
path: app/Exceptions/Handler.php
-
message: '#^Instanceof between Exception and Carbon\\Exceptions\\InvalidFormatException will always evaluate to false\.$#'
identifier: instanceof.alwaysFalse
count: 1
path: app/Exceptions/Handler.php
-
message: '#^Method App\\Exceptions\\Handler\:\:render\(\) should return Illuminate\\Http\\JsonResponse\|Illuminate\\Http\\RedirectResponse\|Illuminate\\Http\\Response but returns Symfony\\Component\\HttpFoundation\\Response\.$#'
identifier: return.type
count: 1
path: app/Exceptions/Handler.php
-
message: '#^Method App\\Exceptions\\Handler\:\:report\(\) with return type void returns null but should not return anything\.$#'
identifier: return.void
count: 1
path: app/Exceptions/Handler.php
-
message: '#^Result of && is always false\.$#'
identifier: booleanAnd.alwaysFalse
count: 2
path: app/Exceptions/Handler.php
-
message: '#^Result of method Illuminate\\Foundation\\Exceptions\\Handler\:\:report\(\) \(void\) is used\.$#'
identifier: staticMethod.void
count: 1
path: app/Exceptions/Handler.php
-
message: '#^Undefined variable\: \$statusCode$#'
identifier: variable.undefined
count: 1
path: app/Exceptions/Handler.php
-
message: '#^Variable \$statusCode in isset\(\) is never defined\.$#'
identifier: isset.variable
count: 1
path: app/Exceptions/Handler.php
-
message: '#^Access to an undefined property App\\Models\\Consumable\:\:\$consumables_users_count\.$#'
identifier: property.notFound
count: 1
path: app/Helpers/Helper.php
-
message: '#^Access to an undefined property App\\Models\\License\:\:\$licenses_available\.$#'
identifier: property.notFound
count: 1
path: app/Helpers/Helper.php
-
message: '#^Call to function array_change_key_case\(\) on a separate line has no effect\.$#'
identifier: function.resultUnused
count: 1
path: app/Helpers/Helper.php
-
message: '#^Call to function is_array\(\) with array will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 2
path: app/Helpers/Helper.php
-
message: '#^Comparison operation "\>" between int\<1, max\> and 0 is always true\.$#'
identifier: greater.alwaysTrue
count: 2
path: app/Helpers/Helper.php
-
message: '#^Default value of the parameter \#4 \$round \(false\) of method App\\Helpers\\Helper\:\:convertUnit\(\) is incompatible with type int\.$#'
identifier: parameter.defaultValue
count: 1
path: app/Helpers/Helper.php
-
message: '#^Method App\\Helpers\\Helper\:\:ParseFloat\(\) should return string but returns float\.$#'
identifier: return.type
count: 1
path: app/Helpers/Helper.php
-
message: '#^Method App\\Helpers\\Helper\:\:formatFilesizeUnits\(\) should return array\<string\> but returns string\.$#'
identifier: return.type
count: 1
path: app/Helpers/Helper.php
-
message: '#^Method App\\Helpers\\Helper\:\:generateRandomString\(\) should return array but returns string\.$#'
identifier: return.type
count: 1
path: app/Helpers/Helper.php
-
message: '#^Method App\\Helpers\\Helper\:\:mapLegacyLocale\(\) should return array\<string\> but returns string\.$#'
identifier: return.type
count: 1
path: app/Helpers/Helper.php
-
message: '#^Method App\\Helpers\\Helper\:\:parseEscapedMarkedown\(\) should return string but return statement is missing\.$#'
identifier: return.missing
count: 1
path: app/Helpers/Helper.php
-
message: '#^Method App\\Helpers\\Helper\:\:processUploadedImage\(\) should return string but returns false\.$#'
identifier: return.type
count: 2
path: app/Helpers/Helper.php
-
message: '#^Method App\\Helpers\\Helper\:\:test_locations_fmcs\(\) should return array\<string\> but returns list\<array\<int, mixed\>\>\.$#'
identifier: return.type
count: 2
path: app/Helpers/Helper.php
-
message: '#^Offset ''ANY'' on array\{ANY\: ''ANY'', ''CUSTOM REGEX''\: ''CUSTOM REGEX'', ALPHA\: ''ALPHA'', ALPHA\-DASH\: ''ALPHA\-DASH'', NUMERIC\: ''NUMERIC'', ALPHA\-NUMERIC\: ''ALPHA\-NUMERIC'', EMAIL\: ''EMAIL'', DATE\: ''DATE'', \.\.\.\} in isset\(\) always exists and is not nullable\.$#'
identifier: isset.offset
count: 1
path: app/Helpers/Helper.php
-
message: '#^Strict comparison using \!\=\= between int and false will always evaluate to true\.$#'
identifier: notIdentical.alwaysTrue
count: 1
path: app/Helpers/Helper.php
-
message: '#^Variable \$permissions on left side of \?\? always exists and is not nullable\.$#'
identifier: nullCoalesce.variable
count: 1
path: app/Helpers/Helper.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#'
identifier: property.notFound
count: 2
path: app/Http/Controllers/Accessories/AccessoriesController.php
-
message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:getErrors\(\)\.$#'
identifier: method.notFound
count: 2
path: app/Http/Controllers/Accessories/AccessoriesController.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:adjustQuantity\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Http/Controllers/Accessories/AccessoriesController.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:orderItems\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Http/Controllers/Accessories/AccessoriesController.php
-
message: '#^Property App\\Models\\IdeHelperAccessory\:\:\$deleted_at \(Illuminate\\Support\\Carbon\|null\) does not accept string\.$#'
identifier: assign.propertyType
count: 1
path: app/Http/Controllers/Accessories/AccessoriesController.php
-
message: '#^Property App\\Models\\IdeHelperAccessory\:\:\$id \(int\) does not accept null\.$#'
identifier: assign.propertyType
count: 1
path: app/Http/Controllers/Accessories/AccessoriesController.php
-
message: '#^Access to an undefined property App\\Models\\Accessory\:\:\$checkout_qty\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Accessories/AccessoryCheckoutController.php
-
message: '#^PHPDoc tag @param for parameter \$request with type Illuminate\\Http\\Request is not subtype of native type App\\Http\\Requests\\AccessoryCheckoutRequest\.$#'
identifier: parameter.phpDocType
count: 1
path: app/Http/Controllers/Accessories/AccessoryCheckoutController.php
-
message: '#^Property App\\Models\\SnipeModel\:\:\$location_id is not readable\.$#'
identifier: property.writeOnly
count: 3
path: app/Http/Controllers/Accessories/AccessoryCheckoutController.php
-
message: '#^Property App\\Models\\SnipeModel\:\:\$rtd_location_id is not readable\.$#'
identifier: property.writeOnly
count: 1
path: app/Http/Controllers/Accessories/AccessoryCheckoutController.php
-
message: '#^Using nullsafe property access "\?\-\>name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: app/Http/Controllers/Accessories/AccessoryCheckoutController.php
-
message: '#^Using nullsafe property access "\?\-\>name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: app/Http/Controllers/Account/AcceptanceController.php
-
message: '#^Access to an undefined property App\\Models\\Accessory\:\:\$checkout_qty\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Api/AccessoriesController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#'
identifier: property.notFound
count: 2
path: app/Http/Controllers/Api/AccessoriesController.php
-
message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:adjustQuantity\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Http/Controllers/Api/AccessoriesController.php
-
message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:getErrors\(\)\.$#'
identifier: method.notFound
count: 2
path: app/Http/Controllers/Api/AccessoriesController.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:adjustQuantity\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Http/Controllers/Api/AccessoriesController.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:orderItems\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Http/Controllers/Api/AccessoriesController.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:TextSearch\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Http/Controllers/Api/AccessoriesController.php
-
message: '#^PHPDoc tag @param for parameter \$request with type App\\Http\\Requests\\ImageUploadRequest is not subtype of native type App\\Http\\Requests\\StoreAccessoryRequest\.$#'
identifier: parameter.phpDocType
count: 1
path: app/Http/Controllers/Api/AccessoriesController.php
-
message: '#^Property App\\Models\\SnipeModel\:\:\$location_id is not readable\.$#'
identifier: property.writeOnly
count: 3
path: app/Http/Controllers/Api/AccessoriesController.php
-
message: '#^Property App\\Models\\SnipeModel\:\:\$rtd_location_id is not readable\.$#'
identifier: property.writeOnly
count: 1
path: app/Http/Controllers/Api/AccessoriesController.php
-
message: '#^Access to an undefined property App\\Models\\AssetModel\:\:\$use_image\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Api/AssetModelsController.php
-
message: '#^Access to an undefined property App\\Models\\AssetModel\:\:\$use_text\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Api/AssetModelsController.php
-
message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$fieldset_id\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Api/AssetModelsController.php
-
message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:getErrors\(\)\.$#'
identifier: method.notFound
count: 2
path: app/Http/Controllers/Api/AssetModelsController.php
-
message: '#^PHPDoc tag @param for parameter \$request with type App\\Http\\Requests\\ImageUploadRequest is not subtype of native type App\\Http\\Requests\\StoreAssetModelRequest\.$#'
identifier: parameter.phpDocType
count: 1
path: app/Http/Controllers/Api/AssetModelsController.php
-
message: '#^PHPDoc tag @return with type Illuminate\\Http\\Response is incompatible with native type Illuminate\\Http\\JsonResponse\.$#'
identifier: return.phpDocType
count: 1
path: app/Http/Controllers/Api/AssetModelsController.php
-
message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$image\.$#'
identifier: property.notFound
count: 2
path: app/Http/Controllers/Api/AssetsController.php
-
message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$model\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Api/AssetsController.php
-
message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$name\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Api/AssetsController.php
-
message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:availableForCheckout\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Http/Controllers/Api/AssetsController.php
-
message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:canCheckoutTo\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Http/Controllers/Api/AssetsController.php
-
message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:checkOut\(\)\.$#'
identifier: method.notFound
count: 2
path: app/Http/Controllers/Api/AssetsController.php
-
message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:getErrors\(\)\.$#'
identifier: method.notFound
count: 2
path: app/Http/Controllers/Api/AssetsController.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:associate\(\)\.$#'
identifier: method.notFound
count: 2
path: app/Http/Controllers/Api/AssetsController.php
-
message: '#^Left side of && is always true\.$#'
identifier: booleanAnd.leftAlwaysTrue
count: 2
path: app/Http/Controllers/Api/AssetsController.php
-
message: '#^Method App\\Http\\Controllers\\Api\\AssetsController\:\:applyAssetUpdate\(\) should return array\{success\: bool, asset\: App\\Models\\Asset\|null, message\: string\|null, errors\: mixed, encrypted_field_warning\: bool, error_response_key\: string\|null\} but returns array\{success\: true, asset\: App\\Models\\SnipeModel, message\: ''admin/hardware…'', errors\: null, encrypted_field_warning\: bool, error_response_key\: null\}\.$#'
identifier: return.type
count: 1
path: app/Http/Controllers/Api/AssetsController.php
-
message: '#^Method App\\Http\\Transformers\\AssetsTransformer\:\:transformAsset\(\) invoked with 2 parameters, 1 required\.$#'
identifier: arguments.count
count: 1
path: app/Http/Controllers/Api/AssetsController.php
-
message: '#^Method App\\Http\\Transformers\\AssetsTransformer\:\:transformAssets\(\) invoked with 3 parameters, 2 required\.$#'
identifier: arguments.count
count: 1
path: app/Http/Controllers/Api/AssetsController.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
count: 1
path: app/Http/Controllers/Api/AssetsController.php
-
message: '#^Negated boolean expression is always false\.$#'
identifier: booleanNot.alwaysFalse
count: 1
path: app/Http/Controllers/Api/AssetsController.php
-
message: '#^PHPDoc tag @param for parameter \$request with type App\\Http\\Requests\\ImageUploadRequest is not subtype of native type App\\Http\\Requests\\StoreAssetRequest\.$#'
identifier: parameter.phpDocType
count: 1
path: app/Http/Controllers/Api/AssetsController.php
-
message: '#^Property App\\Models\\Asset\|App\\Models\\Location\|App\\Models\\User\:\:\$location_id is not readable\.$#'
identifier: property.writeOnly
count: 3
path: app/Http/Controllers/Api/AssetsController.php
-
message: '#^Access to an undefined property App\\Models\\Category\:\:\$use_image\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Api/CategoriesController.php
-
message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:getErrors\(\)\.$#'
identifier: method.notFound
count: 2
path: app/Http/Controllers/Api/CategoriesController.php
-
message: '#^Method Illuminate\\Filesystem\\FilesystemAdapter\:\:url\(\) invoked with 2 parameters, 1 required\.$#'
identifier: arguments.count
count: 1
path: app/Http/Controllers/Api/CategoriesController.php
-
message: '#^PHPDoc tag @return with type Illuminate\\Http\\Response is incompatible with native type Illuminate\\Http\\JsonResponse\.$#'
identifier: return.phpDocType
count: 3
path: app/Http/Controllers/Api/CategoriesController.php
-
message: '#^PHPDoc tag @return with type Illuminate\\Http\\Response is incompatible with native type array\.$#'
identifier: return.phpDocType
count: 1
path: app/Http/Controllers/Api/CategoriesController.php
-
message: '#^Static method App\\Helpers\\Helper\:\:formatStandardApiResponse\(\) invoked with 4 parameters, 1\-3 required\.$#'
identifier: arguments.count
count: 1
path: app/Http/Controllers/Api/CategoriesController.php
-
message: '#^Negated boolean expression is always false\.$#'
identifier: booleanNot.alwaysFalse
count: 1
path: app/Http/Controllers/Api/CheckoutRequest.php
-
message: '#^Access to an undefined property App\\Models\\Company\:\:\$use_disabled\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Api/CompaniesController.php
-
message: '#^Access to an undefined property App\\Models\\Company\:\:\$use_image\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Api/CompaniesController.php
-
message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:getErrors\(\)\.$#'
identifier: method.notFound
count: 2
path: app/Http/Controllers/Api/CompaniesController.php
-
message: '#^Access to an undefined property App\\Models\\Component\:\:\$assigned_to\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Api/ComponentsController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#'
identifier: property.notFound
count: 2
path: app/Http/Controllers/Api/ComponentsController.php
-
message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:adjustQuantity\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Http/Controllers/Api/ComponentsController.php
-
message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:getErrors\(\)\.$#'
identifier: method.notFound
count: 2
path: app/Http/Controllers/Api/ComponentsController.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:adjustQuantity\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Http/Controllers/Api/ComponentsController.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:orderItems\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Http/Controllers/Api/ComponentsController.php
-
message: '#^Cannot access property \$asset_id on array\<mixed\>\|object\.$#'
identifier: property.nonObject
count: 1
path: app/Http/Controllers/Api/ComponentsController.php
-
message: '#^Cannot access property \$assigned_qty on array\<mixed\>\|object\.$#'
identifier: property.nonObject
count: 3
path: app/Http/Controllers/Api/ComponentsController.php
-
message: '#^Cannot access property \$component_id on array\<mixed\>\|object\.$#'
identifier: property.nonObject
count: 1
path: app/Http/Controllers/Api/ComponentsController.php
-
message: '#^Cannot access property \$id on array\<mixed\>\|object\.$#'
identifier: property.nonObject
count: 1
path: app/Http/Controllers/Api/ComponentsController.php
-
message: '#^If condition is always true\.$#'
identifier: if.alwaysTrue
count: 1
path: app/Http/Controllers/Api/ComponentsController.php
-
message: '#^Access to an undefined property App\\Models\\Consumable\:\:\$assigned_to\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Api/ConsumablesController.php
-
message: '#^Access to an undefined property App\\Models\\Consumable\:\:\$checkout_qty\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Api/ConsumablesController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#'
identifier: property.notFound
count: 2
path: app/Http/Controllers/Api/ConsumablesController.php
-
message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:adjustQuantity\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Http/Controllers/Api/ConsumablesController.php
-
message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:getErrors\(\)\.$#'
identifier: method.notFound
count: 2
path: app/Http/Controllers/Api/ConsumablesController.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:adjustQuantity\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Http/Controllers/Api/ConsumablesController.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:orderItems\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Http/Controllers/Api/ConsumablesController.php
-
message: '#^Comparison operation "\<\=" between int\<1, max\> and 0 is always false\.$#'
identifier: smallerOrEqual.alwaysFalse
count: 1
path: app/Http/Controllers/Api/ConsumablesController.php
-
message: '#^PHPDoc tag @param for parameter \$request with type App\\Http\\Requests\\ImageUploadRequest is not subtype of native type App\\Http\\Requests\\StoreConsumableRequest\.$#'
identifier: parameter.phpDocType
count: 2
path: app/Http/Controllers/Api/ConsumablesController.php
-
message: '#^Property App\\Models\\IdeHelperActionlog\:\:\$created_at \(Illuminate\\Support\\Carbon\|null\) does not accept string\.$#'
identifier: assign.propertyType
count: 1
path: app/Http/Controllers/Api/ConsumablesController.php
-
message: '#^Relation ''consumable'' is not found in App\\Models\\ConsumableAssignment model\.$#'
identifier: larastan.relationExistence
count: 1
path: app/Http/Controllers/Api/ConsumablesController.php
-
message: '#^Access to an undefined property App\\Models\\CustomField\:\:\$pivot\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Api/CustomFieldsController.php
-
message: '#^PHPDoc tag @return with type string is incompatible with native type array\.$#'
identifier: return.phpDocType
count: 2
path: app/Http/Controllers/Api/CustomFieldsetsController.php
-
message: '#^Variable \$field_ids might not be defined\.$#'
identifier: variable.undefined
count: 1
path: app/Http/Controllers/Api/CustomFieldsetsController.php
-
message: '#^Access to an undefined property App\\Models\\Department\:\:\$use_image\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Api/DepartmentsController.php
-
message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$created_by\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Api/DepartmentsController.php
-
message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:getErrors\(\)\.$#'
identifier: method.notFound
count: 2
path: app/Http/Controllers/Api/DepartmentsController.php
-
message: '#^Method Illuminate\\Filesystem\\FilesystemAdapter\:\:url\(\) invoked with 2 parameters, 1 required\.$#'
identifier: arguments.count
count: 1
path: app/Http/Controllers/Api/DepartmentsController.php
-
message: '#^PHPDoc tag @param for parameter \$request with type App\\Http\\Requests\\ImageUploadRequest is not subtype of native type App\\Http\\Requests\\StoreDepartmentRequest\.$#'
identifier: parameter.phpDocType
count: 1
path: app/Http/Controllers/Api/DepartmentsController.php
-
message: '#^Dead catch \- Illuminate\\Database\\Eloquent\\JsonEncodingException is never thrown in the try block\.$#'
identifier: catch.neverThrown
count: 2
path: app/Http/Controllers/Api/ImportController.php
-
message: '#^Instanceof between Illuminate\\Http\\UploadedFile and Illuminate\\Http\\UploadedFile will always evaluate to true\.$#'
identifier: instanceof.alwaysTrue
count: 1
path: app/Http/Controllers/Api/ImportController.php
-
message: '#^Variable \$model_perms might not be defined\.$#'
identifier: variable.undefined
count: 1
path: app/Http/Controllers/Api/ImportController.php
-
message: '#^Call to an undefined method App\\Models\\LicenseSeat\:\:getErrors\(\)\.$#'
identifier: method.notFound
count: 2
path: app/Http/Controllers/Api/LicenseSeatsController.php
-
message: '#^If condition is always true\.$#'
identifier: if.alwaysTrue
count: 1
path: app/Http/Controllers/Api/LicenseSeatsController.php
-
message: '#^Call to an undefined method App\\Models\\LicenseSeat\:\:getErrors\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Http/Controllers/Api/LicensesController.php
-
message: '#^Access to an undefined property App\\Models\\Location\:\:\$use_text\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Api/LocationsController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Collection\<int, App\\Models\\Location\>\:\:\$company_id\.$#'
identifier: property.notFound
count: 2
path: app/Http/Controllers/Api/LocationsController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Collection\<int, App\\Models\\Location\>\:\:\$name\.$#'
identifier: property.notFound
count: 2
path: app/Http/Controllers/Api/LocationsController.php
-
message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:getErrors\(\)\.$#'
identifier: method.notFound
count: 2
path: app/Http/Controllers/Api/LocationsController.php
-
message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:isValid\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Http/Controllers/Api/LocationsController.php
-
message: '#^Method App\\Http\\Transformers\\AssetsTransformer\:\:transformAssets\(\) invoked with 3 parameters, 2 required\.$#'
identifier: arguments.count
count: 2
path: app/Http/Controllers/Api/LocationsController.php
-
message: '#^PHPDoc tag @return with type Illuminate\\Http\\Response is incompatible with native type array\|Illuminate\\Http\\JsonResponse\.$#'
identifier: return.phpDocType
count: 1
path: app/Http/Controllers/Api/LocationsController.php
-
message: '#^Property App\\Models\\SnipeModel\:\:\$company_id is not readable\.$#'
identifier: property.writeOnly
count: 3
path: app/Http/Controllers/Api/LocationsController.php
-
message: '#^Property App\\Models\\SnipeModel\:\:\$parent_id is not readable\.$#'
identifier: property.writeOnly
count: 4
path: app/Http/Controllers/Api/LocationsController.php
-
message: '#^Using nullsafe property access "\?\-\>name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 4
path: app/Http/Controllers/Api/LocationsController.php
-
message: '#^Access to an undefined property App\\Models\\MaintenanceType\:\:\$use_image\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Api/MaintenanceTypesController.php
-
message: '#^Access to an undefined property App\\Models\\MaintenanceType\:\:\$use_text\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Api/MaintenanceTypesController.php
-
message: '#^Call to method Illuminate\\Support\\Collection\<\*NEVER\*,\*NEVER\*\>\:\:isEmpty\(\) will always evaluate to true\.$#'
identifier: method.alreadyNarrowedType
count: 1
path: app/Http/Controllers/Api/MaintenancesController.php
-
message: '#^Call to method Illuminate\\Support\\Collection\<\*NEVER\*,\*NEVER\*\>\:\:isNotEmpty\(\) will always evaluate to false\.$#'
identifier: method.impossibleType
count: 1
path: app/Http/Controllers/Api/MaintenancesController.php
-
message: '#^PHPDoc tag @param for parameter \$request with type int is incompatible with native type Illuminate\\Http\\Request\.$#'
identifier: parameter.phpDocType
count: 1
path: app/Http/Controllers/Api/MaintenancesController.php
-
message: '#^Access to an undefined property App\\Models\\Manufacturer\:\:\$use_image\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Api/ManufacturersController.php
-
message: '#^Access to an undefined property App\\Models\\Manufacturer\:\:\$use_text\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Api/ManufacturersController.php
-
message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:getErrors\(\)\.$#'
identifier: method.notFound
count: 2
path: app/Http/Controllers/Api/ManufacturersController.php
-
message: '#^Method Illuminate\\Filesystem\\FilesystemAdapter\:\:url\(\) invoked with 2 parameters, 1 required\.$#'
identifier: arguments.count
count: 1
path: app/Http/Controllers/Api/ManufacturersController.php
-
message: '#^PHPDoc tag @return with type Illuminate\\Http\\Response is incompatible with native type array\|Illuminate\\Http\\JsonResponse\.$#'
identifier: return.phpDocType
count: 1
path: app/Http/Controllers/Api/ManufacturersController.php
-
message: '#^Property App\\Models\\IdeHelperActionlog\:\:\$created_at \(Illuminate\\Support\\Carbon\|null\) does not accept string\.$#'
identifier: assign.propertyType
count: 1
path: app/Http/Controllers/Api/ManufacturersController.php
-
message: '#^PHPDoc tag @return with type Illuminate\\Http\\Response is incompatible with native type Illuminate\\Http\\JsonResponse\.$#'
identifier: return.phpDocType
count: 1
path: app/Http/Controllers/Api/PredefinedKitsController.php
-
message: '#^PHPDoc tag @return with type Illuminate\\Http\\Response is incompatible with native type array\.$#'
identifier: return.phpDocType
count: 1
path: app/Http/Controllers/Api/PredefinedKitsController.php
-
message: '#^PHPDoc tag @return with type Illuminate\\Http\\Response is incompatible with native type array\|Illuminate\\Http\\JsonResponse\.$#'
identifier: return.phpDocType
count: 1
path: app/Http/Controllers/Api/PredefinedKitsController.php
-
message: '#^Access to an undefined property App\\Http\\Controllers\\Api\\ProfileController\:\:\$validation\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Api/ProfileController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$client\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Api/ProfileController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$revoked\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Api/ProfileController.php
-
message: '#^Left side of && is always true\.$#'
identifier: booleanAnd.leftAlwaysTrue
count: 1
path: app/Http/Controllers/Api/ProfileController.php
-
message: '#^PHPDoc tag @param for parameter \$transformer with type App\\Http\\Transformers\\ActionlogsTransformer is incompatible with native type App\\Http\\Transformers\\ProfileTransformer\.$#'
identifier: parameter.phpDocType
count: 1
path: app/Http/Controllers/Api/ProfileController.php
-
message: '#^Access to an undefined property Illuminate\\Pagination\\LengthAwarePaginator\<int, App\\Models\\Statuslabel\>\:\:\$use_text\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Api/StatuslabelsController.php
-
message: '#^Offset ''archived'' does not exist on string\.$#'
identifier: offsetAccess.notFound
count: 2
path: app/Http/Controllers/Api/StatuslabelsController.php
-
message: '#^Offset ''deployable'' does not exist on string\.$#'
identifier: offsetAccess.notFound
count: 2
path: app/Http/Controllers/Api/StatuslabelsController.php
-
message: '#^Offset ''pending'' does not exist on string\.$#'
identifier: offsetAccess.notFound
count: 2
path: app/Http/Controllers/Api/StatuslabelsController.php
-
message: '#^Property App\\Models\\IdeHelperStatuslabel\:\:\$default_label \(int\|null\) does not accept bool\.$#'
identifier: assign.propertyType
count: 2
path: app/Http/Controllers/Api/StatuslabelsController.php
-
message: '#^Property App\\Models\\IdeHelperStatuslabel\:\:\$show_in_nav \(int\|null\) does not accept bool\.$#'
identifier: assign.propertyType
count: 2
path: app/Http/Controllers/Api/StatuslabelsController.php
-
message: '#^Access to an undefined property App\\Models\\Supplier\:\:\$asset_maintenances_count\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Api/SuppliersController.php
-
message: '#^Access to an undefined property App\\Models\\Supplier\:\:\$use_image\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Api/SuppliersController.php
-
message: '#^Access to an undefined property App\\Models\\Supplier\:\:\$use_text\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Api/SuppliersController.php
-
message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:getErrors\(\)\.$#'
identifier: method.notFound
count: 2
path: app/Http/Controllers/Api/SuppliersController.php
-
message: '#^Method Illuminate\\Filesystem\\FilesystemAdapter\:\:url\(\) invoked with 2 parameters, 1 required\.$#'
identifier: arguments.count
count: 1
path: app/Http/Controllers/Api/SuppliersController.php
-
message: '#^PHPDoc tag @return with type Illuminate\\Http\\Response is incompatible with native type array\.$#'
identifier: return.phpDocType
count: 1
path: app/Http/Controllers/Api/SuppliersController.php
-
message: '#^Strict comparison using \!\=\= between Illuminate\\Database\\Eloquent\\Model and null will always evaluate to true\.$#'
identifier: notIdentical.alwaysTrue
count: 1
path: app/Http/Controllers/Api/UnacceptedAcceptancesController.php
-
message: '#^If condition is always true\.$#'
identifier: if.alwaysTrue
count: 1
path: app/Http/Controllers/Api/UploadedFilesController.php
-
message: '#^Static method App\\Helpers\\Helper\:\:formatStandardApiResponse\(\) invoked with 4 parameters, 1\-3 required\.$#'
identifier: arguments.count
count: 1
path: app/Http/Controllers/Api/UploadedFilesController.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Builder\:\:withoutTrashed\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Http/Controllers/Api/UsersController.php
-
message: '#^Method App\\Http\\Transformers\\AssetsTransformer\:\:transformAssets\(\) invoked with 3 parameters, 2 required\.$#'
identifier: arguments.count
count: 1
path: app/Http/Controllers/Api/UsersController.php
-
message: '#^PHPDoc tag @param for parameter \$request with type Illuminate\\Http\\Request is not subtype of native type App\\Http\\Requests\\SaveUserRequest\.$#'
identifier: parameter.phpDocType
count: 2
path: app/Http/Controllers/Api/UsersController.php
-
message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$eol\.$#'
identifier: property.notFound
count: 2
path: app/Http/Controllers/AssetModelsController.php
-
message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$fieldset_id\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/AssetModelsController.php
-
message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$model_number\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/AssetModelsController.php
-
message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$name\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/AssetModelsController.php
-
message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$notes\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/AssetModelsController.php
-
message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$requestable\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/AssetModelsController.php
-
message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$require_serial\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/AssetModelsController.php
-
message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:assets\(\)\.$#'
identifier: method.notFound
count: 2
path: app/Http/Controllers/AssetModelsController.php
-
message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:defaultValues\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Http/Controllers/AssetModelsController.php
-
message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:getErrors\(\)\.$#'
identifier: method.notFound
count: 2
path: app/Http/Controllers/AssetModelsController.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:attach\(\)\.$#'
identifier: method.notFound
count: 2
path: app/Http/Controllers/AssetModelsController.php
-
message: '#^PHPDoc tag @param for parameter \$request with type App\\Http\\Requests\\ImageUploadRequest is not subtype of native type App\\Http\\Requests\\StoreAssetModelRequest\.$#'
identifier: parameter.phpDocType
count: 2
path: app/Http/Controllers/AssetModelsController.php
-
message: '#^Property App\\Models\\IdeHelperAssetModel\:\:\$id \(int\) does not accept null\.$#'
identifier: assign.propertyType
count: 1
path: app/Http/Controllers/AssetModelsController.php
-
message: '#^Property App\\Models\\IdeHelperAssetModel\:\:\$requestable \(int\) does not accept bool\.$#'
identifier: assign.propertyType
count: 1
path: app/Http/Controllers/AssetModelsController.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
count: 1
path: app/Http/Controllers/Assets/AssetCheckinController.php
-
message: '#^Property App\\Models\\IdeHelperAsset\:\:\$status_id \(int\|null\) does not accept string\.$#'
identifier: assign.propertyType
count: 1
path: app/Http/Controllers/Assets/AssetCheckinController.php
-
message: '#^Method App\\Http\\Controllers\\Assets\\AssetCheckoutController\:\:create\(\) should return Illuminate\\Contracts\\View\\View but returns Illuminate\\Http\\RedirectResponse\.$#'
identifier: return.type
count: 3
path: app/Http/Controllers/Assets/AssetCheckoutController.php
-
message: '#^Property App\\Models\\SnipeModel\:\:\$location_id is not readable\.$#'
identifier: property.writeOnly
count: 3
path: app/Http/Controllers/Assets/AssetCheckoutController.php
-
message: '#^Property App\\Models\\SnipeModel\:\:\$rtd_location_id is not readable\.$#'
identifier: property.writeOnly
count: 1
path: app/Http/Controllers/Assets/AssetCheckoutController.php
-
message: '#^Using nullsafe property access "\?\-\>name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: app/Http/Controllers/Assets/AssetCheckoutController.php
-
message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$asset_tag\.$#'
identifier: property.notFound
count: 2
path: app/Http/Controllers/Assets/AssetsController.php
-
message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:checkOut\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Http/Controllers/Assets/AssetsController.php
-
message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:getErrors\(\)\.$#'
identifier: method.notFound
count: 3
path: app/Http/Controllers/Assets/AssetsController.php
-
message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:isValid\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Http/Controllers/Assets/AssetsController.php
-
message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:throwValidationException\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Http/Controllers/Assets/AssetsController.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:AssetsForShow\(\)\.$#'
identifier: method.notFound
count: 2
path: app/Http/Controllers/Assets/AssetsController.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:associate\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Http/Controllers/Assets/AssetsController.php
-
message: '#^If condition is always true\.$#'
identifier: if.alwaysTrue
count: 1
path: app/Http/Controllers/Assets/AssetsController.php
-
message: '#^Method App\\Http\\Controllers\\Assets\\AssetsController\:\:getBarCode\(\) should return Illuminate\\Http\\Response but returns null\.$#'
identifier: return.type
count: 1
path: app/Http/Controllers/Assets/AssetsController.php
-
message: '#^Method App\\Http\\Controllers\\Assets\\AssetsController\:\:getLabel\(\) should return Illuminate\\Contracts\\View\\View but return statement is missing\.$#'
identifier: return.missing
count: 1
path: app/Http/Controllers/Assets/AssetsController.php
-
message: '#^Method App\\Http\\Controllers\\Assets\\AssetsController\:\:getRestore\(\) should return Illuminate\\Contracts\\View\\View but returns Illuminate\\Http\\RedirectResponse\.$#'
identifier: return.type
count: 5
path: app/Http/Controllers/Assets/AssetsController.php
-
message: '#^Negated boolean expression is always true\.$#'
identifier: booleanNot.alwaysTrue
count: 1
path: app/Http/Controllers/Assets/AssetsController.php
-
message: '#^Property App\\Models\\IdeHelperAsset\:\:\$assigned_to \(int\|null\) does not accept string\.$#'
identifier: assign.propertyType
count: 1
path: app/Http/Controllers/Assets/AssetsController.php
-
message: '#^Property App\\Models\\IdeHelperAsset\:\:\$deleted_at \(Illuminate\\Support\\Carbon\|null\) does not accept string\.$#'
identifier: assign.propertyType
count: 1
path: app/Http/Controllers/Assets/AssetsController.php
-
message: '#^Property App\\Models\\IdeHelperAsset\:\:\$id \(int\) does not accept null\.$#'
identifier: assign.propertyType
count: 1
path: app/Http/Controllers/Assets/AssetsController.php
-
message: '#^Ternary operator condition is always true\.$#'
identifier: ternary.alwaysTrue
count: 2
path: app/Http/Controllers/Assets/AssetsController.php
-
message: '#^Using nullsafe method call on non\-nullable type Illuminate\\Database\\Eloquent\\Collection\<int, App\\Models\\Maintenance\>\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: app/Http/Controllers/Assets/AssetsController.php
-
message: '#^Using nullsafe method call on non\-nullable type Illuminate\\Database\\Eloquent\\Relations\\Relation\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 2
path: app/Http/Controllers/Assets/AssetsController.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
count: 1
path: app/Http/Controllers/Assets/BulkAssetsController.php
-
message: '#^Property App\\Models\\SnipeModel\:\:\$location_id is not readable\.$#'
identifier: property.writeOnly
count: 3
path: app/Http/Controllers/Assets/BulkAssetsController.php
-
message: '#^Property App\\Models\\SnipeModel\:\:\$rtd_location_id is not readable\.$#'
identifier: property.writeOnly
count: 1
path: app/Http/Controllers/Assets/BulkAssetsController.php
-
message: '#^Access to an undefined property App\\Http\\Controllers\\Auth\\LoginController\:\:\$decayMinutes\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Auth/LoginController.php
-
message: '#^Access to an undefined property App\\Http\\Controllers\\Auth\\LoginController\:\:\$maxAttempts\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Auth/LoginController.php
-
message: '#^Call to function is_null\(\) with App\\Models\\User will always evaluate to false\.$#'
identifier: function.impossibleType
count: 1
path: app/Http/Controllers/Auth/LoginController.php
-
message: '#^Method App\\Http\\Controllers\\Auth\\LoginController\:\:getTwoFactorAuth\(\) should return Illuminate\\Http\\RedirectResponse but returns Illuminate\\View\\View\.$#'
identifier: return.type
count: 1
path: app/Http/Controllers/Auth/LoginController.php
-
message: '#^Method App\\Http\\Controllers\\Auth\\LoginController\:\:getTwoFactorEnroll\(\) should return Illuminate\\Http\\RedirectResponse but returns Illuminate\\View\\View\.$#'
identifier: return.type
count: 1
path: app/Http/Controllers/Auth/LoginController.php
-
message: '#^Method App\\Http\\Controllers\\Auth\\LoginController\:\:login\(\) should return Illuminate\\Http\\RedirectResponse but returns Illuminate\\View\\View\.$#'
identifier: return.type
count: 2
path: app/Http/Controllers/Auth/LoginController.php
-
message: '#^Method App\\Http\\Controllers\\Auth\\LoginController\:\:login\(\) should return Illuminate\\Http\\RedirectResponse but returns Symfony\\Component\\HttpFoundation\\Response\.$#'
identifier: return.type
count: 1
path: app/Http/Controllers/Auth/LoginController.php
-
message: '#^Method App\\Http\\Controllers\\Auth\\LoginController\:\:loginViaSaml\(\) should return App\\Models\\User but return statement is missing\.$#'
identifier: return.missing
count: 2
path: app/Http/Controllers/Auth/LoginController.php
-
message: '#^Negated boolean expression is always true\.$#'
identifier: booleanNot.alwaysTrue
count: 1
path: app/Http/Controllers/Auth/LoginController.php
-
message: '#^Method App\\Http\\Controllers\\Auth\\SamlController\:\:sls\(\) should return Illuminate\\Http\\RedirectResponse but returns Illuminate\\View\\View\.$#'
identifier: return.type
count: 1
path: app/Http/Controllers/Auth/SamlController.php
-
message: '#^Unreachable statement \- code above always terminates\.$#'
identifier: deadCode.unreachable
count: 1
path: app/Http/Controllers/Auth/SamlController.php
-
message: '#^Access to an undefined property App\\Models\\Supplier\|Illuminate\\Database\\Eloquent\\Collection\<int, App\\Models\\Supplier\>\:\:\$asset_maintenances_count\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/BulkSuppliersController.php
-
message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:getErrors\(\)\.$#'
identifier: method.notFound
count: 2
path: app/Http/Controllers/CategoriesController.php
-
message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:getErrors\(\)\.$#'
identifier: method.notFound
count: 2
path: app/Http/Controllers/CompaniesController.php
-
message: '#^PHPDoc tag @param for parameter \$request with type Illuminate\\Http\\Request is not subtype of native type App\\Http\\Requests\\ImageUploadRequest\.$#'
identifier: parameter.phpDocType
count: 1
path: app/Http/Controllers/CompaniesController.php
-
message: '#^Cannot access property \$asset_id on array\<mixed\>\|object\.$#'
identifier: property.nonObject
count: 1
path: app/Http/Controllers/Components/ComponentCheckinController.php
-
message: '#^Cannot access property \$assigned_qty on array\<mixed\>\|object\.$#'
identifier: property.nonObject
count: 3
path: app/Http/Controllers/Components/ComponentCheckinController.php
-
message: '#^Cannot access property \$component_id on array\<mixed\>\|object\.$#'
identifier: property.nonObject
count: 1
path: app/Http/Controllers/Components/ComponentCheckinController.php
-
message: '#^Method App\\Http\\Controllers\\Components\\ComponentCheckinController\:\:create\(\) should return Illuminate\\Contracts\\View\\View but returns Illuminate\\Http\\RedirectResponse\.$#'
identifier: return.type
count: 3
path: app/Http/Controllers/Components/ComponentCheckinController.php
-
message: '#^Access to an undefined property App\\Models\\Component\:\:\$asset_id\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Components/ComponentCheckoutController.php
-
message: '#^Access to an undefined property App\\Models\\Component\:\:\$checkout_qty\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Components/ComponentCheckoutController.php
-
message: '#^Using nullsafe property access "\?\-\>name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: app/Http/Controllers/Components/ComponentCheckoutController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#'
identifier: property.notFound
count: 2
path: app/Http/Controllers/Components/ComponentsController.php
-
message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:getErrors\(\)\.$#'
identifier: method.notFound
count: 2
path: app/Http/Controllers/Components/ComponentsController.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:adjustQuantity\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Http/Controllers/Components/ComponentsController.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:orderItems\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Http/Controllers/Components/ComponentsController.php
-
message: '#^Property App\\Models\\IdeHelperComponent\:\:\$id \(int\) does not accept null\.$#'
identifier: assign.propertyType
count: 1
path: app/Http/Controllers/Components/ComponentsController.php
-
message: '#^Access to an undefined property App\\Models\\Consumable\:\:\$assigned_to\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Consumables/ConsumableCheckoutController.php
-
message: '#^Access to an undefined property App\\Models\\Consumable\:\:\$checkout_qty\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Consumables/ConsumableCheckoutController.php
-
message: '#^Property App\\Models\\IdeHelperActionlog\:\:\$created_at \(Illuminate\\Support\\Carbon\|null\) does not accept string\.$#'
identifier: assign.propertyType
count: 1
path: app/Http/Controllers/Consumables/ConsumableCheckoutController.php
-
message: '#^Relation ''consumable'' is not found in App\\Models\\ConsumableAssignment model\.$#'
identifier: larastan.relationExistence
count: 2
path: app/Http/Controllers/Consumables/ConsumableCheckoutController.php
-
message: '#^Using nullsafe property access "\?\-\>name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: app/Http/Controllers/Consumables/ConsumableCheckoutController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#'
identifier: property.notFound
count: 2
path: app/Http/Controllers/Consumables/ConsumablesController.php
-
message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:getErrors\(\)\.$#'
identifier: method.notFound
count: 2
path: app/Http/Controllers/Consumables/ConsumablesController.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:adjustQuantity\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Http/Controllers/Consumables/ConsumablesController.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:orderItems\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Http/Controllers/Consumables/ConsumablesController.php
-
message: '#^PHPDoc tag @param for parameter \$request with type App\\Http\\Requests\\ImageUploadRequest is not subtype of native type App\\Http\\Requests\\StoreConsumableRequest\.$#'
identifier: parameter.phpDocType
count: 2
path: app/Http/Controllers/Consumables/ConsumablesController.php
-
message: '#^Property App\\Models\\IdeHelperConsumable\:\:\$id \(int\) does not accept null\.$#'
identifier: assign.propertyType
count: 1
path: app/Http/Controllers/Consumables/ConsumablesController.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:detach\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Http/Controllers/CustomFieldsController.php
-
message: '#^Left side of && is always true\.$#'
identifier: booleanAnd.leftAlwaysTrue
count: 1
path: app/Http/Controllers/CustomFieldsController.php
-
message: '#^Access to an undefined property App\\Models\\CustomField\:\:\$pivot\.$#'
identifier: property.notFound
count: 2
path: app/Http/Controllers/CustomFieldsetsController.php
-
message: '#^Variable \$field_ids might not be defined\.$#'
identifier: variable.undefined
count: 1
path: app/Http/Controllers/CustomFieldsetsController.php
-
message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:getErrors\(\)\.$#'
identifier: method.notFound
count: 2
path: app/Http/Controllers/DepartmentsController.php
-
message: '#^Access to an undefined property App\\Models\\Depreciation\:\:\$depreciation_method\.$#'
identifier: property.notFound
count: 2
path: app/Http/Controllers/DepreciationsController.php
-
message: '#^Access to an undefined property Laravel\\Socialite\\Contracts\\User\:\:\$avatar\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/GoogleAuthController.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:sync\(\)\.$#'
identifier: method.notFound
count: 2
path: app/Http/Controllers/GroupsController.php
-
message: '#^Property App\\Models\\SnipeModel\:\:\$location_id is not readable\.$#'
identifier: property.writeOnly
count: 3
path: app/Http/Controllers/Kits/CheckoutKitController.php
-
message: '#^Property App\\Models\\SnipeModel\:\:\$rtd_location_id is not readable\.$#'
identifier: property.writeOnly
count: 1
path: app/Http/Controllers/Kits/CheckoutKitController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Relations\\Pivot\:\:\$accessory_id\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Kits/PredefinedKitsController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Relations\\Pivot\:\:\$consumable_id\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Kits/PredefinedKitsController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Relations\\Pivot\:\:\$license_id\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Kits/PredefinedKitsController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Relations\\Pivot\:\:\$model_id\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Kits/PredefinedKitsController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Relations\\Pivot\:\:\$quantity\.$#'
identifier: property.notFound
count: 4
path: app/Http/Controllers/Kits/PredefinedKitsController.php
-
message: '#^Method App\\Http\\Controllers\\Kits\\PredefinedKitsController\:\:detachAccessory\(\) should return Illuminate\\Contracts\\View\\View but returns Illuminate\\Http\\RedirectResponse\.$#'
identifier: return.type
count: 2
path: app/Http/Controllers/Kits/PredefinedKitsController.php
-
message: '#^Method App\\Http\\Controllers\\Kits\\PredefinedKitsController\:\:detachConsumable\(\) should return Illuminate\\Contracts\\View\\View but returns Illuminate\\Http\\RedirectResponse\.$#'
identifier: return.type
count: 2
path: app/Http/Controllers/Kits/PredefinedKitsController.php
-
message: '#^Method App\\Http\\Controllers\\Kits\\PredefinedKitsController\:\:detachLicense\(\) should return Illuminate\\Contracts\\View\\View but returns Illuminate\\Http\\RedirectResponse\.$#'
identifier: return.type
count: 2
path: app/Http/Controllers/Kits/PredefinedKitsController.php
-
message: '#^Method App\\Http\\Controllers\\Kits\\PredefinedKitsController\:\:detachModel\(\) should return Illuminate\\Contracts\\View\\View but returns Illuminate\\Http\\RedirectResponse\.$#'
identifier: return.type
count: 2
path: app/Http/Controllers/Kits/PredefinedKitsController.php
-
message: '#^Method App\\Http\\Controllers\\Kits\\PredefinedKitsController\:\:editAccessory\(\) should return Illuminate\\Contracts\\View\\View but returns Illuminate\\Http\\RedirectResponse\.$#'
identifier: return.type
count: 2
path: app/Http/Controllers/Kits/PredefinedKitsController.php
-
message: '#^Method App\\Http\\Controllers\\Kits\\PredefinedKitsController\:\:editConsumable\(\) should return Illuminate\\Contracts\\View\\View but returns Illuminate\\Http\\RedirectResponse\.$#'
identifier: return.type
count: 2
path: app/Http/Controllers/Kits/PredefinedKitsController.php
-
message: '#^Method App\\Http\\Controllers\\Kits\\PredefinedKitsController\:\:editLicense\(\) should return Illuminate\\Contracts\\View\\View but returns Illuminate\\Http\\RedirectResponse\.$#'
identifier: return.type
count: 2
path: app/Http/Controllers/Kits/PredefinedKitsController.php
-
message: '#^Method App\\Http\\Controllers\\Kits\\PredefinedKitsController\:\:editModel\(\) should return Illuminate\\Contracts\\View\\View but returns Illuminate\\Http\\RedirectResponse\.$#'
identifier: return.type
count: 1
path: app/Http/Controllers/Kits/PredefinedKitsController.php
-
message: '#^Negated boolean expression is always false\.$#'
identifier: booleanNot.alwaysFalse
count: 1
path: app/Http/Controllers/Kits/PredefinedKitsController.php
-
message: '#^Offset 0 on non\-empty\-list\<string\> in isset\(\) always exists and is not nullable\.$#'
identifier: isset.offset
count: 1
path: app/Http/Controllers/LabelsController.php
-
message: '#^Access to an undefined property App\\Models\\LicenseSeat\:\:\$asset_tag\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Licenses/LicenseCheckinController.php
-
message: '#^Access to an undefined property App\\Models\\LicenseSeat\:\:\$username\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Licenses/LicenseCheckinController.php
-
message: '#^Using nullsafe property access "\?\-\>name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 2
path: app/Http/Controllers/Licenses/LicenseCheckoutController.php
-
message: '#^Cannot cast Illuminate\\Database\\Eloquent\\Relations\\Relation to int\.$#'
identifier: cast.int
count: 1
path: app/Http/Controllers/Licenses/LicensesController.php
-
message: '#^Property App\\Models\\IdeHelperLicense\:\:\$id \(int\) does not accept null\.$#'
identifier: assign.propertyType
count: 1
path: app/Http/Controllers/Licenses/LicensesController.php
-
message: '#^Property App\\Models\\IdeHelperLicense\:\:\$seats \(int\) does not accept string\.$#'
identifier: assign.propertyType
count: 1
path: app/Http/Controllers/Licenses/LicensesController.php
-
message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:getErrors\(\)\.$#'
identifier: method.notFound
count: 2
path: app/Http/Controllers/LocationsController.php
-
message: '#^Property App\\Models\\IdeHelperActionlog\:\:\$created_at \(Illuminate\\Support\\Carbon\|null\) does not accept string\.$#'
identifier: assign.propertyType
count: 1
path: app/Http/Controllers/LocationsController.php
-
message: '#^Property App\\Models\\IdeHelperLocation\:\:\$id \(int\) does not accept null\.$#'
identifier: assign.propertyType
count: 1
path: app/Http/Controllers/LocationsController.php
-
message: '#^Using nullsafe property access "\?\-\>name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 4
path: app/Http/Controllers/LocationsController.php
-
message: '#^Access to an undefined property App\\Models\\Asset\|Illuminate\\Database\\Eloquent\\Collection\<int, App\\Models\\Asset\>\:\:\$asset_id\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/MaintenancesController.php
-
message: '#^PHPDoc tag @param for parameter \$request with type Illuminate\\Http\\Request is not subtype of native type App\\Http\\Requests\\ImageUploadRequest\.$#'
identifier: parameter.phpDocType
count: 1
path: app/Http/Controllers/MaintenancesController.php
-
message: '#^PHPDoc tag @return with type mixed is not subtype of native type Illuminate\\Contracts\\View\\View\.$#'
identifier: return.phpDocType
count: 1
path: app/Http/Controllers/MaintenancesController.php
-
message: '#^Property App\\Models\\IdeHelperMaintenance\:\:\$completed_at \(Illuminate\\Support\\Carbon\|null\) does not accept string\.$#'
identifier: assign.propertyType
count: 1
path: app/Http/Controllers/MaintenancesController.php
-
message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$tag_color\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/ManufacturersController.php
-
message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:getErrors\(\)\.$#'
identifier: method.notFound
count: 2
path: app/Http/Controllers/ManufacturersController.php
-
message: '#^PHPDoc tag @param for parameter \$request with type Illuminate\\Http\\Request is not subtype of native type App\\Http\\Requests\\ImageUploadRequest\.$#'
identifier: parameter.phpDocType
count: 1
path: app/Http/Controllers/ManufacturersController.php
-
message: '#^Property App\\Models\\IdeHelperActionlog\:\:\$created_at \(Illuminate\\Support\\Carbon\|null\) does not accept string\.$#'
identifier: assign.propertyType
count: 1
path: app/Http/Controllers/ManufacturersController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/ReportTemplatesController.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Builder\:\:notArchived\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Http/Controllers/Reports/CustomComponentReportController.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Builder\:\:onlyTrashed\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Http/Controllers/Reports/CustomComponentReportController.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Builder\:\:withTrashed\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Http/Controllers/Reports/CustomComponentReportController.php
-
message: '#^Method App\\Http\\Controllers\\Reports\\CustomComponentReportController\:\:buildQuery\(\) should return App\\Models\\Builders\\ComponentQueryBuilder but returns Illuminate\\Database\\Eloquent\\Builder\.$#'
identifier: return.type
count: 1
path: app/Http/Controllers/Reports/CustomComponentReportController.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Builder\:\:onlyTrashed\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Http/Controllers/Reports/CustomConsumableReportController.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Builder\:\:withTrashed\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Http/Controllers/Reports/CustomConsumableReportController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$address\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/ReportsController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$city\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/ReportsController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$companies\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/ReportsController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$country\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/ReportsController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$department\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/ReportsController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$display_name\.$#'
identifier: property.notFound
count: 2
path: app/Http/Controllers/ReportsController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$email\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/ReportsController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$employee_num\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/ReportsController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$jobtitle\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/ReportsController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$manager\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/ReportsController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$model\.$#'
identifier: property.notFound
count: 2
path: app/Http/Controllers/ReportsController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$notes\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/ReportsController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$phone\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/ReportsController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$serial\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/ReportsController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$state\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/ReportsController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$username\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/ReportsController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$zip\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/ReportsController.php
-
message: '#^If condition is always true\.$#'
identifier: if.alwaysTrue
count: 1
path: app/Http/Controllers/ReportsController.php
-
message: '#^Left side of && is always true\.$#'
identifier: booleanAnd.leftAlwaysTrue
count: 3
path: app/Http/Controllers/ReportsController.php
-
message: '#^Method App\\Http\\Controllers\\ReportsController\:\:getAssetsCheckedOutRequiringAcceptance\(\) should return array but returns Illuminate\\Contracts\\View\\View\.$#'
identifier: return.type
count: 1
path: app/Http/Controllers/ReportsController.php
-
message: '#^Method App\\Http\\Controllers\\ReportsController\:\:getCheckedOutAssetsRequiringAcceptance\(\) should return Illuminate\\Contracts\\View\\View but returns array\.$#'
identifier: return.type
count: 1
path: app/Http/Controllers/ReportsController.php
-
message: '#^PHPDoc tag @return with type array is incompatible with native type Illuminate\\Contracts\\View\\View\.$#'
identifier: return.phpDocType
count: 1
path: app/Http/Controllers/ReportsController.php
-
message: '#^Access to an undefined property App\\Models\\Setting\:\:\$label2_template_name\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/SettingsController.php
-
message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$default_avatar\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/SettingsController.php
-
message: '#^Property App\\Models\\IdeHelperSetting\:\:\$null_company_is_floater \(int\) does not accept string\.$#'
identifier: assign.propertyType
count: 1
path: app/Http/Controllers/SettingsController.php
-
message: '#^Property App\\Models\\IdeHelperSetting\:\:\$scope_locations_fmcs \(int\) does not accept string\.$#'
identifier: assign.propertyType
count: 1
path: app/Http/Controllers/SettingsController.php
-
message: '#^Using nullsafe property access "\?\-\>blocked_api_user_agents" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: app/Http/Controllers/SettingsController.php
-
message: '#^Using nullsafe property access "\?\-\>name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: app/Http/Controllers/SettingsController.php
-
message: '#^Method App\\Http\\Controllers\\SetupController\:\:getSetupIndex\(\) should return Illuminate\\Contracts\\View\\View but returns Illuminate\\Http\\Response\.$#'
identifier: return.type
count: 1
path: app/Http/Controllers/SetupController.php
-
message: '#^PHPDoc tag @return with type Illuminate\\Contracts\\View\\View\|Illuminate\\Http\\Response is not subtype of native type Illuminate\\Contracts\\View\\View\.$#'
identifier: return.phpDocType
count: 1
path: app/Http/Controllers/SetupController.php
-
message: '#^Offset ''archived'' does not exist on string\.$#'
identifier: offsetAccess.notFound
count: 2
path: app/Http/Controllers/StatuslabelsController.php
-
message: '#^Offset ''deployable'' does not exist on string\.$#'
identifier: offsetAccess.notFound
count: 2
path: app/Http/Controllers/StatuslabelsController.php
-
message: '#^Offset ''pending'' does not exist on string\.$#'
identifier: offsetAccess.notFound
count: 2
path: app/Http/Controllers/StatuslabelsController.php
-
message: '#^Access to an undefined property App\\Models\\Supplier\:\:\$asset_maintenances_count\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/SuppliersController.php
-
message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:getErrors\(\)\.$#'
identifier: method.notFound
count: 2
path: app/Http/Controllers/SuppliersController.php
-
message: '#^Property App\\Models\\IdeHelperSupplier\:\:\$url \(string\|null\) does not accept Illuminate\\Database\\Eloquent\\Relations\\Relation\.$#'
identifier: assign.propertyType
count: 2
path: app/Http/Controllers/SuppliersController.php
-
message: '#^If condition is always true\.$#'
identifier: if.alwaysTrue
count: 1
path: app/Http/Controllers/UploadedFilesController.php
-
message: '#^Variable \$files might not be defined\.$#'
identifier: variable.undefined
count: 1
path: app/Http/Controllers/UploadedFilesController.php
-
message: '#^Left side of && is always true\.$#'
identifier: booleanAnd.leftAlwaysTrue
count: 1
path: app/Http/Controllers/Users/BulkUsersController.php
-
message: '#^Negated boolean expression is always false\.$#'
identifier: booleanNot.alwaysFalse
count: 1
path: app/Http/Controllers/Users/BulkUsersController.php
-
message: '#^Property App\\Models\\IdeHelperActionlog\:\:\$created_at \(Illuminate\\Support\\Carbon\|null\) does not accept string\.$#'
identifier: assign.propertyType
count: 2
path: app/Http/Controllers/Users/ImpersonateController.php
-
message: '#^Access to an undefined property App\\Models\\User\:\:\$manages_locations_count\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Users/UsersController.php
-
message: '#^Method App\\Http\\Controllers\\Users\\UsersController\:\:edit\(\) should return Illuminate\\Contracts\\View\\View\|Illuminate\\Http\\RedirectResponse but return statement is missing\.$#'
identifier: return.missing
count: 1
path: app/Http/Controllers/Users/UsersController.php
-
message: '#^Method App\\Http\\Controllers\\Users\\UsersController\:\:getClone\(\) should return Illuminate\\Contracts\\View\\View but return statement is missing\.$#'
identifier: return.missing
count: 1
path: app/Http/Controllers/Users/UsersController.php
-
message: '#^Property App\\Models\\IdeHelperActionlog\:\:\$created_at \(Illuminate\\Support\\Carbon\|null\) does not accept string\.$#'
identifier: assign.propertyType
count: 1
path: app/Http/Controllers/Users/UsersController.php
-
message: '#^Property App\\Models\\IdeHelperUser\:\:\$id \(int\) does not accept null\.$#'
identifier: assign.propertyType
count: 1
path: app/Http/Controllers/Users/UsersController.php
-
message: '#^Property App\\Models\\IdeHelperUser\:\:\$permissions \(string\|null\) does not accept array\|stdClass\.$#'
identifier: assign.propertyType
count: 1
path: app/Http/Controllers/Users/UsersController.php
-
message: '#^Property App\\Models\\IdeHelperActionlog\:\:\$created_at \(Illuminate\\Support\\Carbon\|null\) does not accept string\.$#'
identifier: assign.propertyType
count: 1
path: app/Http/Controllers/ViewAssetsController.php
-
message: '#^PHPDoc type array of property App\\Http\\Kernel\:\:\$routeMiddleware is not covariant with PHPDoc type array\<string, string\> of overridden property Illuminate\\Foundation\\Http\\Kernel\:\:\$routeMiddleware\.$#'
identifier: property.phpDocType
count: 1
path: app/Http/Kernel.php
-
message: '#^Binary operation "\." between non\-falsy\-string and array\<string\> results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: app/Http/Middleware/CheckLocale.php
-
message: '#^Using nullsafe method call on non\-nullable type Illuminate\\Auth\\AuthManager\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: app/Http/Middleware/LogAuthedUserHeader.php
-
message: '#^Using nullsafe property access on non\-nullable type \$this\(App\\Http\\Requests\\CreateMultipleAssetRequest\)\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: app/Http/Requests/CreateMultipleAssetRequest.php
-
message: '#^Call to static method flash\(\) on an unknown class Input\.$#'
identifier: class.notFound
count: 1
path: app/Http/Requests/SettingsLdapRequest.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$deleted_at\.$#'
identifier: property.notFound
count: 1
path: app/Http/Transformers/AcceptancesTransformer.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#'
identifier: property.notFound
count: 1
path: app/Http/Transformers/AcceptancesTransformer.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$name\.$#'
identifier: property.notFound
count: 1
path: app/Http/Transformers/AcceptancesTransformer.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:checkouts\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Http/Transformers/AcceptancesTransformer.php
-
message: '#^Negated boolean expression is always false\.$#'
identifier: booleanNot.alwaysFalse
count: 1
path: app/Http/Transformers/AcceptancesTransformer.php
-
message: '#^Ternary operator condition is always true\.$#'
identifier: ternary.alwaysTrue
count: 1
path: app/Http/Transformers/AcceptancesTransformer.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$display_name\.$#'
identifier: property.notFound
count: 2
path: app/Http/Transformers/ActionlogsTransformer.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#'
identifier: property.notFound
count: 2
path: app/Http/Transformers/ActionlogsTransformer.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$serial\.$#'
identifier: property.notFound
count: 1
path: app/Http/Transformers/ActionlogsTransformer.php
-
message: '#^Expression on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.expr
count: 5
path: app/Http/Transformers/ActionlogsTransformer.php
-
message: '#^Left side of && is always true\.$#'
identifier: booleanAnd.leftAlwaysTrue
count: 1
path: app/Http/Transformers/ActionlogsTransformer.php
-
message: '#^Loose comparison using \!\= between non\-falsy\-string and '''' will always evaluate to true\.$#'
identifier: notEqual.alwaysTrue
count: 1
path: app/Http/Transformers/ActionlogsTransformer.php
-
message: '#^Ternary operator condition is always true\.$#'
identifier: ternary.alwaysTrue
count: 1
path: app/Http/Transformers/ActionlogsTransformer.php
-
message: '#^Access to an undefined property App\\Models\\AssetModel\:\:\$assets_archived_count\.$#'
identifier: property.notFound
count: 3
path: app/Http/Transformers/AssetModelsTransformer.php
-
message: '#^Access to an undefined property App\\Models\\AssetModel\:\:\$assets_assigned_count\.$#'
identifier: property.notFound
count: 3
path: app/Http/Transformers/AssetModelsTransformer.php
-
message: '#^Access to an undefined property App\\Models\\AssetModel\:\:\$remaining\.$#'
identifier: property.notFound
count: 2
path: app/Http/Transformers/AssetModelsTransformer.php
-
message: '#^Access to an undefined property App\\Models\\CustomField\:\:\$pivot\.$#'
identifier: property.notFound
count: 1
path: app/Http/Transformers/AssetModelsTransformer.php
-
message: '#^Access to an undefined property App\\Models\\AccessoryCheckout\:\:\$deleted_at\.$#'
identifier: property.notFound
count: 1
path: app/Http/Transformers/AssetsTransformer.php
-
message: '#^Access to an undefined property App\\Models\\AccessoryCheckout\:\:\$display_name\.$#'
identifier: property.notFound
count: 1
path: app/Http/Transformers/AssetsTransformer.php
-
message: '#^Access to an undefined property App\\Models\\Component\:\:\$pivot\.$#'
identifier: property.notFound
count: 3
path: app/Http/Transformers/AssetsTransformer.php
-
message: '#^Access to an undefined property App\\Models\\License\:\:\$note\.$#'
identifier: property.notFound
count: 1
path: app/Http/Transformers/AssetsTransformer.php
-
message: '#^Access to an undefined property App\\Models\\Setting\:\:\$alt_barcode\.$#'
identifier: property.notFound
count: 1
path: app/Http/Transformers/AssetsTransformer.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$adminuser\.$#'
identifier: property.notFound
count: 1
path: app/Http/Transformers/AssetsTransformer.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$assigned_qty\.$#'
identifier: property.notFound
count: 1
path: app/Http/Transformers/AssetsTransformer.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$component\.$#'
identifier: property.notFound
count: 1
path: app/Http/Transformers/AssetsTransformer.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$created_at\.$#'
identifier: property.notFound
count: 1
path: app/Http/Transformers/AssetsTransformer.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#'
identifier: property.notFound
count: 1
path: app/Http/Transformers/AssetsTransformer.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$note\.$#'
identifier: property.notFound
count: 1
path: app/Http/Transformers/AssetsTransformer.php
-
message: '#^If condition is always true\.$#'
identifier: if.alwaysTrue
count: 1
path: app/Http/Transformers/AssetsTransformer.php
-
message: '#^Loose comparison using \=\= between null and '''' will always evaluate to true\.$#'
identifier: equal.alwaysTrue
count: 1
path: app/Http/Transformers/AssetsTransformer.php
-
message: '#^Using nullsafe property access on non\-nullable type App\\Models\\License\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 2
path: app/Http/Transformers/AssetsTransformer.php
-
message: '#^Access to an undefined property App\\Models\\Category\:\:\$item_count\.$#'
identifier: property.notFound
count: 6
path: app/Http/Transformers/CategoriesTransformer.php
-
message: '#^Access to an undefined property App\\Models\\Asset\:\:\$note\.$#'
identifier: property.notFound
count: 1
path: app/Http/Transformers/ComponentsAssetsTransformer.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$pivot\.$#'
identifier: property.notFound
count: 7
path: app/Http/Transformers/ComponentsTransformer.php
-
message: '#^Loose comparison using \!\= between int and '''' will always evaluate to true\.$#'
identifier: notEqual.alwaysTrue
count: 2
path: app/Http/Transformers/ComponentsTransformer.php
-
message: '#^Access to an undefined property App\\Models\\CustomField\:\:\$pivot\.$#'
identifier: property.notFound
count: 1
path: app/Http/Transformers/CustomFieldsTransformer.php
-
message: '#^Cannot access property \$display_name on string\.$#'
identifier: property.nonObject
count: 1
path: app/Http/Transformers/LicenseSeatsTransformer.php
-
message: '#^Cannot access property \$id on string\.$#'
identifier: property.nonObject
count: 1
path: app/Http/Transformers/LicenseSeatsTransformer.php
-
message: '#^Cannot access property \$tag_color on string\.$#'
identifier: property.nonObject
count: 2
path: app/Http/Transformers/LicenseSeatsTransformer.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$display_name\.$#'
identifier: property.notFound
count: 1
path: app/Http/Transformers/LocationsTransformer.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#'
identifier: property.notFound
count: 1
path: app/Http/Transformers/LocationsTransformer.php
-
message: '#^Call to function is_null\(\) with Illuminate\\Database\\Eloquent\\Collection\<int, App\\Models\\Location\> will always evaluate to false\.$#'
identifier: function.impossibleType
count: 1
path: app/Http/Transformers/LocationsTransformer.php
-
message: '#^Method App\\Http\\Transformers\\LocationsTransformer\:\:transformLocationCompact\(\) should return array but return statement is missing\.$#'
identifier: return.missing
count: 1
path: app/Http/Transformers/LocationsTransformer.php
-
message: '#^Using nullsafe property access on non\-nullable type App\\Models\\AccessoryCheckout\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: app/Http/Transformers/LocationsTransformer.php
-
message: '#^Using nullsafe property access on non\-nullable type Illuminate\\Database\\Eloquent\\Model\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 2
path: app/Http/Transformers/LocationsTransformer.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$display_name\.$#'
identifier: property.notFound
count: 1
path: app/Http/Transformers/MaintenancesTransformer.php
-
message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$name\.$#'
identifier: property.notFound
count: 1
path: app/Http/Transformers/PredefinedKitsTransformer.php
-
message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$pivot\.$#'
identifier: property.notFound
count: 3
path: app/Http/Transformers/PredefinedKitsTransformer.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$display_name\.$#'
identifier: property.notFound
count: 1
path: app/Http/Transformers/ProfileTransformer.php
-
message: '#^Ternary operator condition is always true\.$#'
identifier: ternary.alwaysTrue
count: 1
path: app/Http/Transformers/ProfileTransformer.php
-
message: '#^Expression on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.expr
count: 1
path: app/Http/Transformers/UploadedFilesTransformer.php
-
message: '#^Access to an undefined property App\\Models\\Accessory\:\:\$pivot\.$#'
identifier: property.notFound
count: 1
path: app/Http/Transformers/UsersTransformer.php
-
message: '#^Access to an undefined property App\\Models\\Consumable\:\:\$pivot\.$#'
identifier: property.notFound
count: 1
path: app/Http/Transformers/UsersTransformer.php
-
message: '#^Access to an undefined property App\\Models\\License\:\:\$pivot\.$#'
identifier: property.notFound
count: 1
path: app/Http/Transformers/UsersTransformer.php
-
message: '#^Access to an undefined property App\\Models\\User\:\:\$manages_locations_count\.$#'
identifier: property.notFound
count: 1
path: app/Http/Transformers/UsersTransformer.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Relations\\Pivot\:\:\$created_at\.$#'
identifier: property.notFound
count: 2
path: app/Http/Transformers/UsersTransformer.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Relations\\Pivot\:\:\$note\.$#'
identifier: property.notFound
count: 2
path: app/Http/Transformers/UsersTransformer.php
-
message: '#^Expression on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.expr
count: 6
path: app/Http/Transformers/UsersTransformer.php
-
message: '#^Using nullsafe property access "\?\-\>name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: app/Importer/AccessoryImporter.php
-
message: '#^Negated boolean expression is always false\.$#'
identifier: booleanNot.alwaysFalse
count: 1
path: app/Importer/AssetHistoryImporter.php
-
message: '#^Using nullsafe property access "\?\-\>display_name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 2
path: app/Importer/AssetHistoryImporter.php
-
message: '#^Call to function is_null\(\) with string will always evaluate to false\.$#'
identifier: function.impossibleType
count: 1
path: app/Importer/AssetImporter.php
-
message: '#^Strict comparison using \!\=\= between int and null will always evaluate to true\.$#'
identifier: notIdentical.alwaysTrue
count: 1
path: app/Importer/AssetImporter.php
-
message: '#^Using nullsafe property access "\?\-\>name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: app/Importer/AssetImporter.php
-
message: '#^Using nullsafe property access on non\-nullable type App\\Models\\Statuslabel\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: app/Importer/AssetImporter.php
-
message: '#^Access to an undefined property App\\Models\\Category\:\:\$errors\.$#'
identifier: property.notFound
count: 1
path: app/Importer/CategoryImporter.php
-
message: '#^Using nullsafe property access "\?\-\>name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: app/Importer/ComponentImporter.php
-
message: '#^Using nullsafe property access "\?\-\>name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: app/Importer/ConsumableImporter.php
-
message: '#^Access to an undefined property App\\Importer\\Importer\:\:\$item\.$#'
identifier: property.notFound
count: 2
path: app/Importer/Importer.php
-
message: '#^If condition is always true\.$#'
identifier: if.alwaysTrue
count: 5
path: app/Importer/Importer.php
-
message: '#^Loose comparison using \=\= between null and ''email'' will always evaluate to false\.$#'
identifier: equal.alwaysFalse
count: 1
path: app/Importer/Importer.php
-
message: '#^Method App\\Importer\\Importer\:\:createOrFetchDepartment\(\) should return int but returns null\.$#'
identifier: return.type
count: 2
path: app/Importer/Importer.php
-
message: '#^Method App\\Importer\\Importer\:\:createOrFetchUser\(\) should return App\\Models\\User but returns false\.$#'
identifier: return.type
count: 4
path: app/Importer/Importer.php
-
message: '#^Method App\\Importer\\Importer\:\:fetchManager\(\) should return int but returns null\.$#'
identifier: return.type
count: 1
path: app/Importer/Importer.php
-
message: '#^Method App\\Importer\\Importer\:\:findUserByNumber\(\) should return App\\Models\\User but return statement is missing\.$#'
identifier: return.missing
count: 1
path: app/Importer/Importer.php
-
message: '#^Offset ''department_id'' on array\{full_name\: string, first_name\: mixed, last_name\: mixed, display_name\: string, email\: mixed, manager_id\: '''', department_id\: mixed, username\: mixed, \.\.\.\} on left side of \?\? always exists and is not nullable\.$#'
identifier: nullCoalesce.offset
count: 1
path: app/Importer/Importer.php
-
message: '#^Offset ''display_name'' on array\{full_name\: string, first_name\: mixed, last_name\: mixed, display_name\: string, email\: mixed, manager_id\: '''', department_id\: mixed, username\: mixed, \.\.\.\} on left side of \?\? always exists and is not nullable\.$#'
identifier: nullCoalesce.offset
count: 1
path: app/Importer/Importer.php
-
message: '#^Offset ''manager_id'' on array\{full_name\: string, first_name\: mixed, last_name\: mixed, display_name\: string, email\: mixed, manager_id\: '''', department_id\: mixed, username\: mixed, \.\.\.\} on left side of \?\? always exists and is not nullable\.$#'
identifier: nullCoalesce.offset
count: 1
path: app/Importer/Importer.php
-
message: '#^Offset ''username'' on array\{full_name\: string, first_name\: mixed, last_name\: mixed, display_name\: string, email\: mixed, manager_id\: '''', department_id\: mixed, username\: mixed, \.\.\.\} on left side of \?\? always exists and is not nullable\.$#'
identifier: nullCoalesce.offset
count: 1
path: app/Importer/Importer.php
-
message: '#^Property App\\Importer\\Importer\:\:\$usernameFormat \(null\) does not accept string\.$#'
identifier: assign.propertyType
count: 1
path: app/Importer/Importer.php
-
message: '#^Property App\\Models\\IdeHelperUser\:\:\$manager_id \(int\|null\) does not accept string\.$#'
identifier: assign.propertyType
count: 1
path: app/Importer/Importer.php
-
message: '#^Method App\\Importer\\ItemImporter\:\:createOrFetchAssetModel\(\) should return int but empty return statement found\.$#'
identifier: return.empty
count: 1
path: app/Importer/ItemImporter.php
-
message: '#^Method App\\Importer\\ItemImporter\:\:createOrFetchAssetModel\(\) should return int but returns null\.$#'
identifier: return.type
count: 1
path: app/Importer/ItemImporter.php
-
message: '#^Method App\\Importer\\ItemImporter\:\:createOrFetchCategory\(\) should return int but returns null\.$#'
identifier: return.type
count: 1
path: app/Importer/ItemImporter.php
-
message: '#^Method App\\Importer\\ItemImporter\:\:createOrFetchLocation\(\) should return App\\Models\\Location\|null but returns int\.$#'
identifier: return.type
count: 2
path: app/Importer/ItemImporter.php
-
message: '#^Method App\\Importer\\ItemImporter\:\:createOrFetchManufacturer\(\) should return App\\Models\\Manufacturer but returns int\.$#'
identifier: return.type
count: 2
path: app/Importer/ItemImporter.php
-
message: '#^Method App\\Importer\\ItemImporter\:\:createOrFetchManufacturer\(\) should return App\\Models\\Manufacturer but returns null\.$#'
identifier: return.type
count: 1
path: app/Importer/ItemImporter.php
-
message: '#^Method App\\Importer\\ItemImporter\:\:createOrFetchStatusLabel\(\) should return App\\Models\\Statuslabel\|null but returns int\.$#'
identifier: return.type
count: 2
path: app/Importer/ItemImporter.php
-
message: '#^Method App\\Importer\\ItemImporter\:\:createOrFetchSupplier\(\) should return App\\Models\\Supplier but returns int\.$#'
identifier: return.type
count: 2
path: app/Importer/ItemImporter.php
-
message: '#^Method App\\Importer\\ItemImporter\:\:createOrFetchSupplier\(\) should return App\\Models\\Supplier but returns null\.$#'
identifier: return.type
count: 1
path: app/Importer/ItemImporter.php
-
message: '#^Method App\\Importer\\ItemImporter\:\:determineCheckout\(\) has invalid return type App\\Importer\\SnipeModel\.$#'
identifier: class.notFound
count: 1
path: app/Importer/ItemImporter.php
-
message: '#^Method App\\Importer\\ItemImporter\:\:determineCheckout\(\) should return App\\Importer\\SnipeModel\|null but empty return statement found\.$#'
identifier: return.empty
count: 1
path: app/Importer/ItemImporter.php
-
message: '#^Method App\\Importer\\ItemImporter\:\:determineCheckout\(\) should return App\\Importer\\SnipeModel\|null but returns App\\Models\\Location\|Illuminate\\Database\\Eloquent\\Collection\<int, App\\Models\\Location\>\.$#'
identifier: return.type
count: 2
path: app/Importer/ItemImporter.php
-
message: '#^Method App\\Importer\\ItemImporter\:\:determineCheckout\(\) should return App\\Importer\\SnipeModel\|null but returns App\\Models\\User\.$#'
identifier: return.type
count: 2
path: app/Importer/ItemImporter.php
-
message: '#^Method App\\Importer\\ItemImporter\:\:fetchManager\(\) should return int but returns null\.$#'
identifier: return.type
count: 1
path: app/Importer/ItemImporter.php
-
message: '#^Result of && is always false\.$#'
identifier: booleanAnd.alwaysFalse
count: 1
path: app/Importer/ItemImporter.php
-
message: '#^Variable \$field in empty\(\) always exists and is not falsy\.$#'
identifier: empty.variable
count: 1
path: app/Importer/ItemImporter.php
-
message: '#^Using nullsafe property access "\?\-\>name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: app/Importer/LicenseImporter.php
-
message: '#^Access to an undefined property App\\Models\\Location\:\:\$errors\.$#'
identifier: property.notFound
count: 1
path: app/Importer/LocationImporter.php
-
message: '#^If condition is always true\.$#'
identifier: if.alwaysTrue
count: 1
path: app/Importer/LocationImporter.php
-
message: '#^Access to an undefined property App\\Models\\Manufacturer\:\:\$errors\.$#'
identifier: property.notFound
count: 1
path: app/Importer/ManufacturerImporter.php
-
message: '#^Access to an undefined property App\\Models\\Supplier\:\:\$errors\.$#'
identifier: property.notFound
count: 1
path: app/Importer/SupplierImporter.php
-
message: '#^Expression on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.expr
count: 4
path: app/Importer/UserImporter.php
-
message: '#^Using nullsafe property access "\?\-\>name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 4
path: app/Importer/UserImporter.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:getEula\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Listeners/CheckoutableListener.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:requireAcceptance\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Listeners/CheckoutableListener.php
-
message: '#^Call to an undefined method Illuminate\\Notifications\\Notification\:\:toMicrosoftTeams\(\)\.$#'
identifier: method.notFound
count: 2
path: app/Listeners/CheckoutableListener.php
-
message: '#^PHPDoc tag @return with type Illuminate\\Support\\Facades\\Notification is incompatible with native type Illuminate\\Notifications\\Notification\.$#'
identifier: return.phpDocType
count: 2
path: app/Listeners/CheckoutableListener.php
-
message: '#^Strict comparison using \=\=\= between int\<min, 499\> and null will always evaluate to false\.$#'
identifier: identical.alwaysFalse
count: 2
path: app/Listeners/CheckoutableListener.php
-
message: '#^Method App\\Listeners\\CheckoutablesCheckedOutInBulkListener\:\:getNotifiableUser\(\) should return App\\Models\\User\|null but returns Illuminate\\Database\\Eloquent\\Model\.$#'
identifier: return.type
count: 1
path: app/Listeners/CheckoutablesCheckedOutInBulkListener.php
-
message: '#^Access to an undefined property App\\Events\\CheckoutAccepted\:\:\$acceptance\.$#'
identifier: property.notFound
count: 8
path: app/Listeners/LogListener.php
-
message: '#^Access to an undefined property App\\Events\\CheckoutDeclined\:\:\$acceptance\.$#'
identifier: property.notFound
count: 7
path: app/Listeners/LogListener.php
-
message: '#^Access to an undefined property App\\Events\\UserMerged\:\:\$merged_from\.$#'
identifier: property.notFound
count: 6
path: app/Listeners/LogListener.php
-
message: '#^Access to an undefined property App\\Events\\UserMerged\:\:\$merged_to\.$#'
identifier: property.notFound
count: 6
path: app/Listeners/LogListener.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:associate\(\)\.$#'
identifier: method.notFound
count: 6
path: app/Listeners/LogListener.php
-
message: '#^Access to an undefined property Illuminate\\Contracts\\Auth\\Authenticatable\:\:\$username\.$#'
identifier: property.notFound
count: 1
path: app/Listeners/LogSuccessfulLogin.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:accessories\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Livewire/CheckoutTargetPanel.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:assets\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Livewire/CheckoutTargetPanel.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:assignedAccessories\(\)\.$#'
identifier: method.notFound
count: 2
path: app/Livewire/CheckoutTargetPanel.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:assignedAssets\(\)\.$#'
identifier: method.notFound
count: 2
path: app/Livewire/CheckoutTargetPanel.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:components\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Livewire/CheckoutTargetPanel.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:consumables\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Livewire/CheckoutTargetPanel.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:licenses\(\)\.$#'
identifier: method.notFound
count: 2
path: app/Livewire/CheckoutTargetPanel.php
-
message: '#^Access to an undefined property App\\Models\\CustomField\:\:\$pivot\.$#'
identifier: property.notFound
count: 1
path: app/Livewire/CloneFieldset.php
-
message: '#^Access to an undefined property App\\Livewire\\CustomFieldEditor\:\:\$allowedElementKeys\.$#'
identifier: property.notFound
count: 1
path: app/Livewire/CustomFieldEditor.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:sync\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Livewire/CustomFieldEditor.php
-
message: '#^Property App\\Models\\IdeHelperCustomField\:\:\$auto_add_to_fieldsets \(int\|null\) does not accept bool\.$#'
identifier: assign.propertyType
count: 1
path: app/Livewire/CustomFieldEditor.php
-
message: '#^Property App\\Models\\IdeHelperCustomField\:\:\$display_audit \(int\) does not accept bool\.$#'
identifier: assign.propertyType
count: 1
path: app/Livewire/CustomFieldEditor.php
-
message: '#^Property App\\Models\\IdeHelperCustomField\:\:\$display_checkin \(int\) does not accept bool\.$#'
identifier: assign.propertyType
count: 1
path: app/Livewire/CustomFieldEditor.php
-
message: '#^Property App\\Models\\IdeHelperCustomField\:\:\$display_checkout \(int\) does not accept bool\.$#'
identifier: assign.propertyType
count: 1
path: app/Livewire/CustomFieldEditor.php
-
message: '#^Property App\\Models\\IdeHelperCustomField\:\:\$display_in_user_view \(int\|null\) does not accept bool\.$#'
identifier: assign.propertyType
count: 1
path: app/Livewire/CustomFieldEditor.php
-
message: '#^Property App\\Models\\IdeHelperCustomField\:\:\$is_unique \(int\|null\) does not accept bool\.$#'
identifier: assign.propertyType
count: 1
path: app/Livewire/CustomFieldEditor.php
-
message: '#^Property App\\Models\\IdeHelperCustomField\:\:\$show_in_email \(int\) does not accept bool\.$#'
identifier: assign.propertyType
count: 1
path: app/Livewire/CustomFieldEditor.php
-
message: '#^Property App\\Models\\IdeHelperCustomField\:\:\$show_in_listview \(int\|null\) does not accept bool\.$#'
identifier: assign.propertyType
count: 1
path: app/Livewire/CustomFieldEditor.php
-
message: '#^Access to an undefined property App\\Livewire\\CustomFieldSetDefaultValuesForModel\:\:\$fields\.$#'
identifier: property.notFound
count: 1
path: app/Livewire/CustomFieldSetDefaultValuesForModel.php
-
message: '#^Access to an undefined property App\\Livewire\\CustomFieldSetDefaultValuesForModel\:\:\$model\.$#'
identifier: property.notFound
count: 2
path: app/Livewire/CustomFieldSetDefaultValuesForModel.php
-
message: '#^Using nullsafe property access on non\-nullable type App\\Models\\CustomFieldset\|Illuminate\\Database\\Eloquent\\Collection\<int, App\\Models\\CustomFieldset\>\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: app/Livewire/CustomFieldSetDefaultValuesForModel.php
-
message: '#^Access to an undefined property App\\Livewire\\Importer\:\:\$activeFile\.$#'
identifier: property.notFound
count: 4
path: app/Livewire/Importer.php
-
message: '#^Access to an undefined property App\\Livewire\\Importer\:\:\$file_id\.$#'
identifier: property.notFound
count: 1
path: app/Livewire/Importer.php
-
message: '#^Access to an undefined property App\\Livewire\\Importer\:\:\$files\.$#'
identifier: property.notFound
count: 1
path: app/Livewire/Importer.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$name\.$#'
identifier: property.notFound
count: 1
path: app/Livewire/OauthClients.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$user\.$#'
identifier: property.notFound
count: 3
path: app/Livewire/OauthClients.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$user_id\.$#'
identifier: property.notFound
count: 1
path: app/Livewire/OauthClients.php
-
message: '#^Access to an undefined property Laravel\\Passport\\Client\:\:\$created_by\.$#'
identifier: property.notFound
count: 2
path: app/Livewire/OauthClients.php
-
message: '#^Access to an undefined property App\\Models\\Asset\:\:\$eula\.$#'
identifier: property.notFound
count: 1
path: app/Mail/BulkAssetCheckoutMail.php
-
message: '#^Access to an undefined property App\\Mail\\CheckinAccessoryMail\:\:\$admin\.$#'
identifier: property.notFound
count: 2
path: app/Mail/CheckinAccessoryMail.php
-
message: '#^Access to an undefined property App\\Mail\\CheckinAccessoryMail\:\:\$item\.$#'
identifier: property.notFound
count: 2
path: app/Mail/CheckinAccessoryMail.php
-
message: '#^Access to an undefined property App\\Mail\\CheckinAccessoryMail\:\:\$note\.$#'
identifier: property.notFound
count: 2
path: app/Mail/CheckinAccessoryMail.php
-
message: '#^Access to an undefined property App\\Mail\\CheckinAccessoryMail\:\:\$settings\.$#'
identifier: property.notFound
count: 1
path: app/Mail/CheckinAccessoryMail.php
-
message: '#^Access to an undefined property App\\Mail\\CheckinAccessoryMail\:\:\$target\.$#'
identifier: property.notFound
count: 2
path: app/Mail/CheckinAccessoryMail.php
-
message: '#^Access to an undefined property App\\Mail\\CheckinAssetMail\:\:\$admin\.$#'
identifier: property.notFound
count: 2
path: app/Mail/CheckinAssetMail.php
-
message: '#^Access to an undefined property App\\Mail\\CheckinAssetMail\:\:\$expected_checkin\.$#'
identifier: property.notFound
count: 2
path: app/Mail/CheckinAssetMail.php
-
message: '#^Access to an undefined property App\\Mail\\CheckinAssetMail\:\:\$item\.$#'
identifier: property.notFound
count: 9
path: app/Mail/CheckinAssetMail.php
-
message: '#^Access to an undefined property App\\Mail\\CheckinAssetMail\:\:\$note\.$#'
identifier: property.notFound
count: 2
path: app/Mail/CheckinAssetMail.php
-
message: '#^Access to an undefined property App\\Mail\\CheckinAssetMail\:\:\$settings\.$#'
identifier: property.notFound
count: 1
path: app/Mail/CheckinAssetMail.php
-
message: '#^Access to an undefined property App\\Mail\\CheckinAssetMail\:\:\$target\.$#'
identifier: property.notFound
count: 2
path: app/Mail/CheckinAssetMail.php
-
message: '#^Access to an undefined property App\\Mail\\CheckinComponentMail\:\:\$admin\.$#'
identifier: property.notFound
count: 2
path: app/Mail/CheckinComponentMail.php
-
message: '#^Access to an undefined property App\\Mail\\CheckinComponentMail\:\:\$item\.$#'
identifier: property.notFound
count: 2
path: app/Mail/CheckinComponentMail.php
-
message: '#^Access to an undefined property App\\Mail\\CheckinComponentMail\:\:\$note\.$#'
identifier: property.notFound
count: 2
path: app/Mail/CheckinComponentMail.php
-
message: '#^Access to an undefined property App\\Mail\\CheckinComponentMail\:\:\$settings\.$#'
identifier: property.notFound
count: 1
path: app/Mail/CheckinComponentMail.php
-
message: '#^Access to an undefined property App\\Mail\\CheckinComponentMail\:\:\$target\.$#'
identifier: property.notFound
count: 2
path: app/Mail/CheckinComponentMail.php
-
message: '#^Access to an undefined property App\\Mail\\CheckinLicenseMail\:\:\$admin\.$#'
identifier: property.notFound
count: 2
path: app/Mail/CheckinLicenseMail.php
-
message: '#^Access to an undefined property App\\Mail\\CheckinLicenseMail\:\:\$item\.$#'
identifier: property.notFound
count: 3
path: app/Mail/CheckinLicenseMail.php
-
message: '#^Access to an undefined property App\\Mail\\CheckinLicenseMail\:\:\$note\.$#'
identifier: property.notFound
count: 2
path: app/Mail/CheckinLicenseMail.php
-
message: '#^Access to an undefined property App\\Mail\\CheckinLicenseMail\:\:\$settings\.$#'
identifier: property.notFound
count: 1
path: app/Mail/CheckinLicenseMail.php
-
message: '#^Access to an undefined property App\\Mail\\CheckinLicenseMail\:\:\$target\.$#'
identifier: property.notFound
count: 2
path: app/Mail/CheckinLicenseMail.php
-
message: '#^Access to an undefined property App\\Models\\Accessory\:\:\$checkout_qty\.$#'
identifier: property.notFound
count: 1
path: app/Mail/CheckoutAccessoryMail.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$display_name\.$#'
identifier: property.notFound
count: 1
path: app/Mail/CheckoutAccessoryMail.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$display_name\.$#'
identifier: property.notFound
count: 1
path: app/Mail/CheckoutAssetMail.php
-
message: '#^Access to an undefined property App\\Mail\\CheckoutComponentMail\:\:\$acceptance\.$#'
identifier: property.notFound
count: 2
path: app/Mail/CheckoutComponentMail.php
-
message: '#^Access to an undefined property App\\Mail\\CheckoutComponentMail\:\:\$admin\.$#'
identifier: property.notFound
count: 2
path: app/Mail/CheckoutComponentMail.php
-
message: '#^Access to an undefined property App\\Mail\\CheckoutComponentMail\:\:\$item\.$#'
identifier: property.notFound
count: 4
path: app/Mail/CheckoutComponentMail.php
-
message: '#^Access to an undefined property App\\Mail\\CheckoutComponentMail\:\:\$note\.$#'
identifier: property.notFound
count: 2
path: app/Mail/CheckoutComponentMail.php
-
message: '#^Access to an undefined property App\\Mail\\CheckoutComponentMail\:\:\$qty\.$#'
identifier: property.notFound
count: 2
path: app/Mail/CheckoutComponentMail.php
-
message: '#^Access to an undefined property App\\Mail\\CheckoutComponentMail\:\:\$settings\.$#'
identifier: property.notFound
count: 1
path: app/Mail/CheckoutComponentMail.php
-
message: '#^Access to an undefined property App\\Mail\\CheckoutComponentMail\:\:\$target\.$#'
identifier: property.notFound
count: 2
path: app/Mail/CheckoutComponentMail.php
-
message: '#^Access to an undefined property App\\Models\\Component\:\:\$checkout_qty\.$#'
identifier: property.notFound
count: 1
path: app/Mail/CheckoutComponentMail.php
-
message: '#^Access to an undefined property App\\Mail\\CheckoutConsumableMail\:\:\$acceptance\.$#'
identifier: property.notFound
count: 2
path: app/Mail/CheckoutConsumableMail.php
-
message: '#^Access to an undefined property App\\Mail\\CheckoutConsumableMail\:\:\$admin\.$#'
identifier: property.notFound
count: 2
path: app/Mail/CheckoutConsumableMail.php
-
message: '#^Access to an undefined property App\\Mail\\CheckoutConsumableMail\:\:\$item\.$#'
identifier: property.notFound
count: 5
path: app/Mail/CheckoutConsumableMail.php
-
message: '#^Access to an undefined property App\\Mail\\CheckoutConsumableMail\:\:\$note\.$#'
identifier: property.notFound
count: 2
path: app/Mail/CheckoutConsumableMail.php
-
message: '#^Access to an undefined property App\\Mail\\CheckoutConsumableMail\:\:\$qty\.$#'
identifier: property.notFound
count: 4
path: app/Mail/CheckoutConsumableMail.php
-
message: '#^Access to an undefined property App\\Mail\\CheckoutConsumableMail\:\:\$settings\.$#'
identifier: property.notFound
count: 1
path: app/Mail/CheckoutConsumableMail.php
-
message: '#^Access to an undefined property App\\Mail\\CheckoutConsumableMail\:\:\$target\.$#'
identifier: property.notFound
count: 2
path: app/Mail/CheckoutConsumableMail.php
-
message: '#^Access to an undefined property App\\Models\\Consumable\:\:\$checkout_qty\.$#'
identifier: property.notFound
count: 1
path: app/Mail/CheckoutConsumableMail.php
-
message: '#^Access to an undefined property App\\Mail\\CheckoutLicenseMail\:\:\$acceptance\.$#'
identifier: property.notFound
count: 2
path: app/Mail/CheckoutLicenseMail.php
-
message: '#^Access to an undefined property App\\Mail\\CheckoutLicenseMail\:\:\$admin\.$#'
identifier: property.notFound
count: 2
path: app/Mail/CheckoutLicenseMail.php
-
message: '#^Access to an undefined property App\\Mail\\CheckoutLicenseMail\:\:\$item\.$#'
identifier: property.notFound
count: 6
path: app/Mail/CheckoutLicenseMail.php
-
message: '#^Access to an undefined property App\\Mail\\CheckoutLicenseMail\:\:\$note\.$#'
identifier: property.notFound
count: 2
path: app/Mail/CheckoutLicenseMail.php
-
message: '#^Access to an undefined property App\\Mail\\CheckoutLicenseMail\:\:\$settings\.$#'
identifier: property.notFound
count: 1
path: app/Mail/CheckoutLicenseMail.php
-
message: '#^Access to an undefined property App\\Mail\\CheckoutLicenseMail\:\:\$target\.$#'
identifier: property.notFound
count: 2
path: app/Mail/CheckoutLicenseMail.php
-
message: '#^Access to an undefined property App\\Mail\\ExpiringAssetsMail\:\:\$assets\.$#'
identifier: property.notFound
count: 2
path: app/Mail/ExpiringAssetsMail.php
-
message: '#^Access to an undefined property App\\Mail\\ExpiringAssetsMail\:\:\$threshold\.$#'
identifier: property.notFound
count: 2
path: app/Mail/ExpiringAssetsMail.php
-
message: '#^Access to an undefined property App\\Mail\\ExpiringLicenseMail\:\:\$licenses\.$#'
identifier: property.notFound
count: 2
path: app/Mail/ExpiringLicenseMail.php
-
message: '#^Access to an undefined property App\\Mail\\ExpiringLicenseMail\:\:\$threshold\.$#'
identifier: property.notFound
count: 2
path: app/Mail/ExpiringLicenseMail.php
-
message: '#^Access to an undefined property App\\Mail\\SendUpcomingAuditMail\:\:\$assets\.$#'
identifier: property.notFound
count: 2
path: app/Mail/SendUpcomingAuditMail.php
-
message: '#^Access to an undefined property App\\Mail\\SendUpcomingAuditMail\:\:\$threshold\.$#'
identifier: property.notFound
count: 3
path: app/Mail/SendUpcomingAuditMail.php
-
message: '#^Access to an undefined property App\\Mail\\SendUpcomingAuditMail\:\:\$total\.$#'
identifier: property.notFound
count: 4
path: app/Mail/SendUpcomingAuditMail.php
-
message: '#^Access to an undefined property App\\Models\\Accessory\:\:\$license\.$#'
identifier: property.notFound
count: 1
path: app/Models/Accessory.php
-
message: '#^Access to an undefined property App\\Models\\Accessory\:\:\$license_id\.$#'
identifier: property.notFound
count: 5
path: app/Models/Accessory.php
-
message: '#^Access to an undefined property App\\Models\\Accessory\:\:\$model\.$#'
identifier: property.notFound
count: 1
path: app/Models/Accessory.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$company_id\.$#'
identifier: property.notFound
count: 2
path: app/Models/Accessory.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$order\.$#'
identifier: property.notFound
count: 4
path: app/Models/Accessory.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$price\.$#'
identifier: property.notFound
count: 1
path: app/Models/Accessory.php
-
message: '#^Call to function is_array\(\) with string will always evaluate to false\.$#'
identifier: function.impossibleType
count: 2
path: app/Models/Accessory.php
-
message: '#^Call to function is_scalar\(\) with \*NEVER\* will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Models/Accessory.php
-
message: '#^Call to function is_string\(\) with \*NEVER\* will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Models/Accessory.php
-
message: '#^Call to function method_exists\(\) with \$this\(App\\Models\\Accessory\) and ''numRemaining'' will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: 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
count: 1
path: app/Models/Accessory.php
-
message: '#^Comparison operation "\>" between 0 and 0 is always false\.$#'
identifier: greater.alwaysFalse
count: 1
path: app/Models/Accessory.php
-
message: '#^Loose comparison using \=\= between int and '''' will always evaluate to false\.$#'
identifier: equal.alwaysFalse
count: 1
path: app/Models/Accessory.php
-
message: '#^Method App\\Models\\Accessory\:\:checkin_email\(\) should return bool but returns int\|null\.$#'
identifier: return.type
count: 1
path: app/Models/Accessory.php
-
message: '#^Method App\\Models\\Accessory\:\:getImageUrl\(\) should return string but returns false\.$#'
identifier: return.type
count: 1
path: app/Models/Accessory.php
-
message: '#^Method App\\Models\\Accessory\:\:lastCheckout\(\) should return Illuminate\\Database\\Eloquent\\Relations\\HasMany but returns Illuminate\\Database\\Eloquent\\Relations\\Relation\.$#'
identifier: return.type
count: 1
path: app/Models/Accessory.php
-
message: '#^PHPDoc type array of property App\\Models\\Accessory\:\:\$fillable is not covariant with PHPDoc type list\<string\> of overridden property Illuminate\\Database\\Eloquent\\Model\:\:\$fillable\.$#'
identifier: property.phpDocType
count: 1
path: app/Models/Accessory.php
-
message: '#^Property App\\Models\\Accessory\:\:\$searchableAttributes \(array\) on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.property
count: 1
path: app/Models/Accessory.php
-
message: '#^Property App\\Models\\Accessory\:\:\$searchableRelations \(array\) on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.property
count: 1
path: app/Models/Accessory.php
-
message: '#^Property App\\Models\\IdeHelperActionlog\:\:\$created_at \(Illuminate\\Support\\Carbon\|null\) does not accept string\.$#'
identifier: assign.propertyType
count: 2
path: app/Models/Accessory.php
-
message: '#^Result of && is always false\.$#'
identifier: booleanAnd.alwaysFalse
count: 3
path: app/Models/Accessory.php
-
message: '#^Result of && is always true\.$#'
identifier: booleanAnd.alwaysTrue
count: 1
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
count: 1
path: app/Models/Accessory.php
-
message: '#^Strict comparison using \=\=\= between class\-string\<static\(App\\Models\\Accessory\)\> and ''App\\\\Models\\\\LicenseSeat'' will always evaluate to false\.$#'
identifier: identical.alwaysFalse
count: 1
path: 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: '#^Unreachable statement \- code above always terminates\.$#'
identifier: deadCode.unreachable
count: 1
path: app/Models/Accessory.php
-
message: '#^Unsafe access to private property App\\Models\\Accessory\:\:\$customFieldFilterMapCache through static\:\:\.$#'
identifier: staticClassAccess.privateProperty
count: 4
path: app/Models/Accessory.php
-
message: '#^Unsafe usage of new static\(\)\.$#'
identifier: new.static
count: 4
path: app/Models/Accessory.php
-
message: '#^Using nullsafe method call on non\-nullable type Psr\\Http\\Message\\ResponseInterface\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 2
path: app/Models/Accessory.php
-
message: '#^Using nullsafe property access "\?\-\>company_id" in isset\(\) is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: app/Models/Accessory.php
-
message: '#^Using nullsafe property access "\?\-\>currency" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: app/Models/Accessory.php
-
message: '#^Using nullsafe property access "\?\-\>default_currency" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: app/Models/Accessory.php
-
message: '#^Variable \$filters in empty\(\) always exists and is always falsy\.$#'
identifier: empty.variable
count: 1
path: app/Models/Accessory.php
-
message: '#^Call to function is_array\(\) with string will always evaluate to false\.$#'
identifier: function.impossibleType
count: 2
path: app/Models/AccessoryCheckout.php
-
message: '#^Call to function is_scalar\(\) with \*NEVER\* will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Models/AccessoryCheckout.php
-
message: '#^Call to function is_string\(\) with \*NEVER\* will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Models/AccessoryCheckout.php
-
message: '#^Call to function method_exists\(\) with \$this\(App\\Models\\AccessoryCheckout\) and ''assignedTo'' will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Models/AccessoryCheckout.php
-
message: '#^Comparison operation "\>" between 0 and 0 is always false\.$#'
identifier: greater.alwaysFalse
count: 1
path: app/Models/AccessoryCheckout.php
-
message: '#^Result of && is always false\.$#'
identifier: booleanAnd.alwaysFalse
count: 2
path: app/Models/AccessoryCheckout.php
-
message: '#^Result of && is always true\.$#'
identifier: booleanAnd.alwaysTrue
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: '#^Unreachable statement \- code above always terminates\.$#'
identifier: deadCode.unreachable
count: 1
path: app/Models/AccessoryCheckout.php
-
message: '#^Unsafe access to private property App\\Models\\AccessoryCheckout\:\:\$customFieldFilterMapCache through static\:\:\.$#'
identifier: staticClassAccess.privateProperty
count: 4
path: app/Models/AccessoryCheckout.php
-
message: '#^Variable \$filters in empty\(\) always exists and is always falsy\.$#'
identifier: empty.variable
count: 1
path: app/Models/AccessoryCheckout.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$company_id\.$#'
identifier: property.notFound
count: 2
path: app/Models/Actionlog.php
-
message: '#^Call to function is_array\(\) with string will always evaluate to false\.$#'
identifier: function.impossibleType
count: 2
path: app/Models/Actionlog.php
-
message: '#^Call to function is_scalar\(\) with \*NEVER\* will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Models/Actionlog.php
-
message: '#^Call to function is_string\(\) with \*NEVER\* will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Models/Actionlog.php
-
message: '#^Call to function method_exists\(\) with class\-string\<static\(App\\Models\\Actionlog\)\> and ''filterableFields'' will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Models/Actionlog.php
-
message: '#^Comparison operation "\>" between 0 and 0 is always false\.$#'
identifier: greater.alwaysFalse
count: 1
path: app/Models/Actionlog.php
-
message: '#^Method App\\Models\\Actionlog\:\:boot\(\) should return Illuminate\\Database\\Eloquent\\Relations\\Relation but return statement is missing\.$#'
identifier: return.missing
count: 1
path: app/Models/Actionlog.php
-
message: '#^Method App\\Models\\Actionlog\:\:calcNextAuditDate\(\) has invalid return type App\\Models\\Datetime\.$#'
identifier: class.notFound
count: 1
path: app/Models/Actionlog.php
-
message: '#^Method App\\Models\\Actionlog\:\:itemType\(\) should return Illuminate\\Database\\Eloquent\\Relations\\Relation but returns string\.$#'
identifier: return.type
count: 2
path: app/Models/Actionlog.php
-
message: '#^Method App\\Models\\Actionlog\:\:targetType\(\) should return Illuminate\\Database\\Eloquent\\Relations\\Relation but returns string\.$#'
identifier: return.type
count: 2
path: app/Models/Actionlog.php
-
message: '#^Method Carbon\\Carbon\:\:addMonth\(\) invoked with 1 parameter, 0 required\.$#'
identifier: arguments.count
count: 1
path: app/Models/Actionlog.php
-
message: '#^Property App\\Models\\Actionlog\:\:\$searchableAttributes \(array\) on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.property
count: 1
path: app/Models/Actionlog.php
-
message: '#^Property App\\Models\\Actionlog\:\:\$searchableRelations \(array\) on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.property
count: 1
path: app/Models/Actionlog.php
-
message: '#^Property App\\Models\\IdeHelperActionlog\:\:\$created_at \(Illuminate\\Support\\Carbon\|null\) does not accept string\.$#'
identifier: assign.propertyType
count: 1
path: app/Models/Actionlog.php
-
message: '#^Result of && is always false\.$#'
identifier: booleanAnd.alwaysFalse
count: 2
path: app/Models/Actionlog.php
-
message: '#^Result of && is always true\.$#'
identifier: booleanAnd.alwaysTrue
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: '#^Unreachable statement \- code above always terminates\.$#'
identifier: deadCode.unreachable
count: 1
path: app/Models/Actionlog.php
-
message: '#^Unsafe access to private property App\\Models\\Actionlog\:\:\$customFieldFilterMapCache through static\:\:\.$#'
identifier: staticClassAccess.privateProperty
count: 4
path: app/Models/Actionlog.php
-
message: '#^Variable \$filters in empty\(\) always exists and is always falsy\.$#'
identifier: empty.variable
count: 1
path: app/Models/Actionlog.php
-
message: '#^Access to an undefined property App\\Models\\Asset\:\:\$default_purchase_cost\.$#'
identifier: property.notFound
count: 2
path: app/Models/Asset.php
-
message: '#^Access to an undefined property App\\Models\\Asset\:\:\$default_supplier_id\.$#'
identifier: property.notFound
count: 2
path: app/Models/Asset.php
-
message: '#^Access to an undefined property App\\Models\\Asset\:\:\$license\.$#'
identifier: property.notFound
count: 1
path: app/Models/Asset.php
-
message: '#^Access to an undefined property App\\Models\\Asset\:\:\$license_id\.$#'
identifier: property.notFound
count: 5
path: app/Models/Asset.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$company_id\.$#'
identifier: property.notFound
count: 2
path: app/Models/Asset.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$order\.$#'
identifier: property.notFound
count: 4
path: app/Models/Asset.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$price\.$#'
identifier: property.notFound
count: 1
path: app/Models/Asset.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:present\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Models/Asset.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:withTrashed\(\)\.$#'
identifier: method.notFound
count: 5
path: app/Models/Asset.php
-
message: '#^Call to function is_array\(\) with string will always evaluate to false\.$#'
identifier: function.impossibleType
count: 2
path: app/Models/Asset.php
-
message: '#^Call to function is_int\(\) with App\\Models\\User\|null will always evaluate to false\.$#'
identifier: function.impossibleType
count: 1
path: app/Models/Asset.php
-
message: '#^Call to function is_scalar\(\) with \*NEVER\* will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Models/Asset.php
-
message: '#^Call to function is_string\(\) with \*NEVER\* will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Models/Asset.php
-
message: '#^Call to function method_exists\(\) with \$this\(App\\Models\\Asset\) and ''assignedTo'' will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Models/Asset.php
-
message: '#^Call to function method_exists\(\) with class\-string\<static\(App\\Models\\Asset\)\> and ''filterableFields'' will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Models/Asset.php
-
message: '#^Cannot access property \$id on class\-string\|object\.$#'
identifier: property.nonObject
count: 1
path: app/Models/Asset.php
-
message: '#^Comparison operation "\>" between 0 and 0 is always false\.$#'
identifier: greater.alwaysFalse
count: 1
path: app/Models/Asset.php
-
message: '#^Method App\\Models\\Asset\:\:checkin_email\(\) should return bool but return statement is missing\.$#'
identifier: return.missing
count: 1
path: app/Models/Asset.php
-
message: '#^Method App\\Models\\Asset\:\:checkin_email\(\) should return bool but returns int\.$#'
identifier: return.type
count: 1
path: app/Models/Asset.php
-
message: '#^Method App\\Models\\Asset\:\:get_depreciation\(\) should return Illuminate\\Database\\Eloquent\\Relations\\Relation but return statement is missing\.$#'
identifier: return.missing
count: 1
path: app/Models/Asset.php
-
message: '#^Method App\\Models\\Asset\:\:get_depreciation\(\) should return Illuminate\\Database\\Eloquent\\Relations\\Relation but returns App\\Models\\Depreciation\.$#'
identifier: return.type
count: 1
path: app/Models/Asset.php
-
message: '#^Method App\\Models\\Asset\:\:nextAutoIncrement\(\) should return int but return statement is missing\.$#'
identifier: return.missing
count: 1
path: app/Models/Asset.php
-
message: '#^Method App\\Models\\Asset\:\:requireAcceptance\(\) should return bool but returns int\.$#'
identifier: return.type
count: 1
path: app/Models/Asset.php
-
message: '#^Offset class\-string\<static\(App\\Models\\Asset\)\> on array\{App\\Models\\Accessory\: ''accessories\.fulfill…'', App\\Models\\Consumable\: ''consumables\.fulfill…'', App\\Models\\Component\: ''components\.fulfill…'', App\\Models\\License\: ''licenses\.fulfill…'', App\\Models\\AssetModel\: ''models\.fulfill…''\} on left side of \?\? does not exist\.$#'
identifier: nullCoalesce.offset
count: 1
path: app/Models/Asset.php
-
message: '#^PHPDoc tag @var above a method has no effect\.$#'
identifier: varTag.misplaced
count: 1
path: app/Models/Asset.php
-
message: '#^Property App\\Models\\Asset\:\:\$searchableAttributes \(array\) on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.property
count: 1
path: app/Models/Asset.php
-
message: '#^Property App\\Models\\Asset\:\:\$searchableRelationAliases \(array\<string, string\>\) on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.property
count: 1
path: app/Models/Asset.php
-
message: '#^Property App\\Models\\Asset\:\:\$searchableRelations \(array\) on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.property
count: 1
path: app/Models/Asset.php
-
message: '#^Property App\\Models\\IdeHelperActionlog\:\:\$created_at \(Illuminate\\Support\\Carbon\|null\) does not accept string\.$#'
identifier: assign.propertyType
count: 2
path: app/Models/Asset.php
-
message: '#^Property App\\Models\\IdeHelperAsset\:\:\$expected_checkin \(Illuminate\\Support\\Carbon\|null\) does not accept Carbon\\Carbon\.$#'
identifier: assign.propertyType
count: 1
path: app/Models/Asset.php
-
message: '#^Result of && is always false\.$#'
identifier: booleanAnd.alwaysFalse
count: 3
path: app/Models/Asset.php
-
message: '#^Result of && is always true\.$#'
identifier: booleanAnd.alwaysTrue
count: 1
path: app/Models/Asset.php
-
message: '#^Right side of && is always true\.$#'
identifier: booleanAnd.rightAlwaysTrue
count: 2
path: app/Models/Asset.php
-
message: '#^Strict comparison using \!\=\= between mixed~\(''''\|false\|null\) and '''' will always evaluate to true\.$#'
identifier: notIdentical.alwaysTrue
count: 1
path: 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.alwaysFalse
count: 1
path: 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
count: 1
path: app/Models/Asset.php
-
message: '#^Ternary operator condition is always true\.$#'
identifier: ternary.alwaysTrue
count: 1
path: app/Models/Asset.php
-
message: '#^Unreachable statement \- code above always terminates\.$#'
identifier: deadCode.unreachable
count: 2
path: app/Models/Asset.php
-
message: '#^Unsafe access to private property App\\Models\\Asset\:\:\$customFieldFilterMapCache through static\:\:\.$#'
identifier: staticClassAccess.privateProperty
count: 4
path: app/Models/Asset.php
-
message: '#^Unsafe usage of new static\(\)\.$#'
identifier: new.static
count: 4
path: app/Models/Asset.php
-
message: '#^Using nullsafe method call on non\-nullable type Psr\\Http\\Message\\ResponseInterface\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 2
path: app/Models/Asset.php
-
message: '#^Using nullsafe property access "\?\-\>company_id" in isset\(\) is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: app/Models/Asset.php
-
message: '#^Using nullsafe property access "\?\-\>currency" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: app/Models/Asset.php
-
message: '#^Using nullsafe property access "\?\-\>default_currency" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: app/Models/Asset.php
-
message: '#^Variable \$filters in empty\(\) always exists and is always falsy\.$#'
identifier: empty.variable
count: 1
path: app/Models/Asset.php
-
message: '#^Access to an undefined property App\\Models\\AssetModel\:\:\$license\.$#'
identifier: property.notFound
count: 1
path: app/Models/AssetModel.php
-
message: '#^Access to an undefined property App\\Models\\AssetModel\:\:\$license_id\.$#'
identifier: property.notFound
count: 5
path: app/Models/AssetModel.php
-
message: '#^Access to an undefined property App\\Models\\AssetModel\:\:\$model\.$#'
identifier: property.notFound
count: 1
path: app/Models/AssetModel.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:fields\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Models/AssetModel.php
-
message: '#^Call to function is_array\(\) with string will always evaluate to false\.$#'
identifier: function.impossibleType
count: 2
path: app/Models/AssetModel.php
-
message: '#^Call to function is_scalar\(\) with \*NEVER\* will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Models/AssetModel.php
-
message: '#^Call to function is_string\(\) with \*NEVER\* will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: 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: '#^Comparison operation "\>" between 0 and 0 is always false\.$#'
identifier: greater.alwaysFalse
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
count: 1
path: app/Models/AssetModel.php
-
message: '#^Method App\\Models\\AssetModel\:\:getImageUrl\(\) should return Illuminate\\Database\\Eloquent\\Relations\\Relation but returns string\.$#'
identifier: return.type
count: 1
path: app/Models/AssetModel.php
-
message: '#^Property \$this\(App\\Models\\AssetModel\)\:\:\$company_id is not readable\.$#'
identifier: property.writeOnly
count: 2
path: app/Models/AssetModel.php
-
message: '#^Property App\\Models\\AssetModel\:\:\$searchableAttributes \(array\) on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.property
count: 1
path: app/Models/AssetModel.php
-
message: '#^Property App\\Models\\AssetModel\:\:\$searchableCounts \(array\) on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.property
count: 1
path: app/Models/AssetModel.php
-
message: '#^Property App\\Models\\AssetModel\:\:\$searchableRelations \(array\) on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.property
count: 1
path: app/Models/AssetModel.php
-
message: '#^Property App\\Models\\IdeHelperActionlog\:\:\$created_at \(Illuminate\\Support\\Carbon\|null\) does not accept string\.$#'
identifier: assign.propertyType
count: 1
path: app/Models/AssetModel.php
-
message: '#^Result of && is always false\.$#'
identifier: booleanAnd.alwaysFalse
count: 2
path: app/Models/AssetModel.php
-
message: '#^Result of && is always true\.$#'
identifier: booleanAnd.alwaysTrue
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.alwaysFalse
count: 1
path: 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: '#^Unreachable statement \- code above always terminates\.$#'
identifier: deadCode.unreachable
count: 1
path: app/Models/AssetModel.php
-
message: '#^Unsafe access to private property App\\Models\\AssetModel\:\:\$customFieldFilterMapCache through static\:\:\.$#'
identifier: staticClassAccess.privateProperty
count: 4
path: app/Models/AssetModel.php
-
message: '#^Using nullsafe method call on non\-nullable type Psr\\Http\\Message\\ResponseInterface\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 2
path: app/Models/AssetModel.php
-
message: '#^Using nullsafe property access "\?\-\>company_id" in isset\(\) is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: app/Models/AssetModel.php
-
message: '#^Using nullsafe property access "\?\-\>require_acceptance" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: app/Models/AssetModel.php
-
message: '#^Variable \$filters in empty\(\) always exists and is always falsy\.$#'
identifier: empty.variable
count: 1
path: app/Models/AssetModel.php
-
message: '#^Expression on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.expr
count: 2
path: app/Models/Builders/AssetQueryBuilder.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$company_id\.$#'
identifier: property.notFound
count: 2
path: app/Models/CalendarEvent.php
-
message: '#^Call to function is_array\(\) with string will always evaluate to false\.$#'
identifier: function.impossibleType
count: 2
path: app/Models/Category.php
-
message: '#^Call to function is_scalar\(\) with \*NEVER\* will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Models/Category.php
-
message: '#^Call to function is_string\(\) with \*NEVER\* will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Models/Category.php
-
message: '#^Call to function method_exists\(\) with class\-string\<static\(App\\Models\\Category\)\> and ''filterableFields'' will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Models/Category.php
-
message: '#^Comparison operation "\>" between 0 and 0 is always false\.$#'
identifier: greater.alwaysFalse
count: 1
path: app/Models/Category.php
-
message: '#^Property App\\Models\\Category\:\:\$searchableAttributes \(array\) on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.property
count: 1
path: app/Models/Category.php
-
message: '#^Property App\\Models\\Category\:\:\$searchableRelations \(array\) on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.property
count: 1
path: app/Models/Category.php
-
message: '#^Result of && is always false\.$#'
identifier: booleanAnd.alwaysFalse
count: 2
path: app/Models/Category.php
-
message: '#^Result of && is always true\.$#'
identifier: booleanAnd.alwaysTrue
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: '#^Unreachable statement \- code above always terminates\.$#'
identifier: deadCode.unreachable
count: 1
path: app/Models/Category.php
-
message: '#^Unsafe access to private property App\\Models\\Category\:\:\$customFieldFilterMapCache through static\:\:\.$#'
identifier: staticClassAccess.privateProperty
count: 4
path: app/Models/Category.php
-
message: '#^Variable \$filters in empty\(\) always exists and is always falsy\.$#'
identifier: empty.variable
count: 1
path: app/Models/Category.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$category\.$#'
identifier: property.notFound
count: 1
path: app/Models/CheckoutAcceptance.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:acceptedCheckout\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Models/CheckoutAcceptance.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:declinedCheckout\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Models/CheckoutAcceptance.php
-
message: '#^Call to function is_array\(\) with string will always evaluate to false\.$#'
identifier: function.impossibleType
count: 2
path: app/Models/CheckoutRequest.php
-
message: '#^Call to function is_scalar\(\) with \*NEVER\* will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Models/CheckoutRequest.php
-
message: '#^Call to function is_string\(\) with \*NEVER\* will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Models/CheckoutRequest.php
-
message: '#^Comparison operation "\>" between 0 and 0 is always false\.$#'
identifier: greater.alwaysFalse
count: 1
path: app/Models/CheckoutRequest.php
-
message: '#^Result of && is always false\.$#'
identifier: booleanAnd.alwaysFalse
count: 2
path: app/Models/CheckoutRequest.php
-
message: '#^Result of && is always true\.$#'
identifier: booleanAnd.alwaysTrue
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: '#^Unreachable statement \- code above always terminates\.$#'
identifier: deadCode.unreachable
count: 1
path: app/Models/CheckoutRequest.php
-
message: '#^Unsafe access to private property App\\Models\\CheckoutRequest\:\:\$customFieldFilterMapCache through static\:\:\.$#'
identifier: staticClassAccess.privateProperty
count: 4
path: app/Models/CheckoutRequest.php
-
message: '#^Variable \$filters in empty\(\) always exists and is always falsy\.$#'
identifier: empty.variable
count: 1
path: app/Models/CheckoutRequest.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$category\.$#'
identifier: property.notFound
count: 1
path: app/Models/Checkoutable.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$company\.$#'
identifier: property.notFound
count: 2
path: app/Models/Checkoutable.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$license\.$#'
identifier: property.notFound
count: 3
path: app/Models/Checkoutable.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$model\.$#'
identifier: property.notFound
count: 2
path: app/Models/Checkoutable.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$model_number\.$#'
identifier: property.notFound
count: 1
path: app/Models/Checkoutable.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$name\.$#'
identifier: property.notFound
count: 1
path: app/Models/Checkoutable.php
-
message: '#^Using nullsafe method call on non\-nullable type App\\Models\\Component\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: app/Models/Checkoutable.php
-
message: '#^Using nullsafe method call on non\-nullable type App\\Models\\Consumable\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: app/Models/Checkoutable.php
-
message: '#^Using nullsafe property access "\?\-\>model_number" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: app/Models/Checkoutable.php
-
message: '#^Using nullsafe property access "\?\-\>name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 7
path: app/Models/Checkoutable.php
-
message: '#^Using nullsafe property access on non\-nullable type Illuminate\\Database\\Eloquent\\Model\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: app/Models/Checkoutable.php
-
message: '#^Access to an undefined property App\\Models\\Company\:\:\$license\.$#'
identifier: property.notFound
count: 1
path: app/Models/Company.php
-
message: '#^Access to an undefined property App\\Models\\Company\:\:\$license_id\.$#'
identifier: property.notFound
count: 5
path: app/Models/Company.php
-
message: '#^Access to an undefined property App\\Models\\Company\:\:\$model\.$#'
identifier: property.notFound
count: 1
path: app/Models/Company.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$company_id\.$#'
identifier: property.notFound
count: 2
path: app/Models/Company.php
-
message: '#^Call to function is_array\(\) with string will always evaluate to false\.$#'
identifier: function.impossibleType
count: 2
path: app/Models/Company.php
-
message: '#^Call to function is_scalar\(\) with \*NEVER\* will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Models/Company.php
-
message: '#^Call to function is_string\(\) with \*NEVER\* will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Models/Company.php
-
message: '#^Call to function method_exists\(\) with \$this\(App\\Models\\Company\) and ''assignedTo'' will always evaluate to false\.$#'
identifier: function.impossibleType
count: 1
path: app/Models/Company.php
-
message: '#^Call to function method_exists\(\) with \$this\(App\\Models\\Company\) and ''assigned_to'' will always evaluate to false\.$#'
identifier: function.impossibleType
count: 1
path: app/Models/Company.php
-
message: '#^Call to function method_exists\(\) with ''App\\\\Models\\\\Company'' and ''filterableFields'' will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Models/Company.php
-
message: '#^Comparison operation "\>" between 0 and 0 is always false\.$#'
identifier: greater.alwaysFalse
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
count: 3
path: app/Models/Company.php
-
message: '#^Loose comparison using \=\= between ''App\\\\Models\\\\Company'' and ''App\\\\Models\\\\LicenseSeat'' will always evaluate to false\.$#'
identifier: equal.alwaysFalse
count: 5
path: app/Models/Company.php
-
message: '#^Method App\\Models\\Company\:\:isCurrentUserHasAccess\(\) never returns void so it can be removed from the return type\.$#'
identifier: return.unusedType
count: 1
path: app/Models/Company.php
-
message: '#^Property \$this\(App\\Models\\Company\)\:\:\$company_id is not readable\.$#'
identifier: property.writeOnly
count: 7
path: app/Models/Company.php
-
message: '#^Property App\\Models\\Company\:\:\$searchableAttributes \(array\) on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.property
count: 1
path: app/Models/Company.php
-
message: '#^Property App\\Models\\Company\:\:\$searchableRelations \(array\) on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.property
count: 1
path: app/Models/Company.php
-
message: '#^Property App\\Models\\IdeHelperActionlog\:\:\$created_at \(Illuminate\\Support\\Carbon\|null\) does not accept string\.$#'
identifier: assign.propertyType
count: 1
path: app/Models/Company.php
-
message: '#^Result of && is always false\.$#'
identifier: booleanAnd.alwaysFalse
count: 4
path: app/Models/Company.php
-
message: '#^Result of && is always true\.$#'
identifier: booleanAnd.alwaysTrue
count: 1
path: app/Models/Company.php
-
message: '#^Strict comparison using \!\=\= between non\-falsy\-string and '''' will always evaluate to true\.$#'
identifier: notIdentical.alwaysTrue
count: 1
path: app/Models/Company.php
-
message: '#^Strict comparison using \=\=\= between ''App\\\\Models\\\\Company'' and ''App\\\\Models\\\\LicenseSeat'' will always evaluate to false\.$#'
identifier: identical.alwaysFalse
count: 1
path: app/Models/Company.php
-
message: '#^Strict comparison using \=\=\= between mixed and \*NEVER\* will always evaluate to false\.$#'
identifier: identical.alwaysFalse
count: 1
path: 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: '#^Unreachable statement \- code above always terminates\.$#'
identifier: deadCode.unreachable
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
count: 2
path: app/Models/Company.php
-
message: '#^Using nullsafe property access "\?\-\>company_id" in isset\(\) is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: app/Models/Company.php
-
message: '#^Variable \$fields_array in empty\(\) always exists and is always falsy\.$#'
identifier: empty.variable
count: 1
path: app/Models/Company.php
-
message: '#^Variable \$filters in empty\(\) always exists and is always falsy\.$#'
identifier: empty.variable
count: 1
path: app/Models/Company.php
-
message: '#^Call to an undefined method TModel of Illuminate\\Database\\Eloquent\\Model\:\:getCompanyableParents\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Models/CompanyableChildScope.php
-
message: '#^Method App\\Models\\CompanyableChildScope\:\:apply\(\) with return type void returns mixed but should not return anything\.$#'
identifier: return.void
count: 1
path: app/Models/CompanyableChildScope.php
-
message: '#^Method App\\Models\\CompanyableScope\:\:apply\(\) with return type void returns mixed but should not return anything\.$#'
identifier: return.void
count: 1
path: app/Models/CompanyableScope.php
-
message: '#^Access to an undefined property App\\Models\\Component\:\:\$license\.$#'
identifier: property.notFound
count: 1
path: app/Models/Component.php
-
message: '#^Access to an undefined property App\\Models\\Component\:\:\$license_id\.$#'
identifier: property.notFound
count: 5
path: app/Models/Component.php
-
message: '#^Access to an undefined property App\\Models\\Component\:\:\$model\.$#'
identifier: property.notFound
count: 1
path: app/Models/Component.php
-
message: '#^Access to an undefined property App\\Models\\Component\:\:\$pivot\.$#'
identifier: property.notFound
count: 1
path: app/Models/Component.php
-
message: '#^Access to an undefined property App\\Models\\Component\:\:\$sum_unconstrained_assets\.$#'
identifier: property.notFound
count: 1
path: app/Models/Component.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$company_id\.$#'
identifier: property.notFound
count: 2
path: app/Models/Component.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$order\.$#'
identifier: property.notFound
count: 4
path: app/Models/Component.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$price\.$#'
identifier: property.notFound
count: 1
path: app/Models/Component.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:withTrashed\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Models/Component.php
-
message: '#^Call to function is_array\(\) with string will always evaluate to false\.$#'
identifier: function.impossibleType
count: 2
path: app/Models/Component.php
-
message: '#^Call to function is_scalar\(\) with \*NEVER\* will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Models/Component.php
-
message: '#^Call to function is_string\(\) with \*NEVER\* will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Models/Component.php
-
message: '#^Call to function method_exists\(\) with \$this\(App\\Models\\Component\) and ''numRemaining'' will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: 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
count: 1
path: app/Models/Component.php
-
message: '#^Comparison operation "\>" between 0 and 0 is always false\.$#'
identifier: greater.alwaysFalse
count: 1
path: app/Models/Component.php
-
message: '#^Expression on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.expr
count: 1
path: app/Models/Component.php
-
message: '#^Method App\\Models\\Component\:\:checkin_email\(\) should return bool but returns int\|null\.$#'
identifier: return.type
count: 1
path: app/Models/Component.php
-
message: '#^PHPDoc type array of property App\\Models\\Component\:\:\$fillable is not covariant with PHPDoc type list\<string\> of overridden property Illuminate\\Database\\Eloquent\\Model\:\:\$fillable\.$#'
identifier: property.phpDocType
count: 1
path: app/Models/Component.php
-
message: '#^Property App\\Models\\Component\:\:\$searchableAttributes \(array\) on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.property
count: 1
path: app/Models/Component.php
-
message: '#^Property App\\Models\\Component\:\:\$searchableRelations \(array\) on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.property
count: 1
path: app/Models/Component.php
-
message: '#^Property App\\Models\\IdeHelperActionlog\:\:\$created_at \(Illuminate\\Support\\Carbon\|null\) does not accept string\.$#'
identifier: assign.propertyType
count: 2
path: app/Models/Component.php
-
message: '#^Result of && is always false\.$#'
identifier: booleanAnd.alwaysFalse
count: 3
path: app/Models/Component.php
-
message: '#^Result of && is always true\.$#'
identifier: booleanAnd.alwaysTrue
count: 1
path: app/Models/Component.php
-
message: '#^Strict comparison using \!\=\= between non\-falsy\-string and '''' will always evaluate to true\.$#'
identifier: notIdentical.alwaysTrue
count: 2
path: app/Models/Component.php
-
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: '#^Unreachable statement \- code above always terminates\.$#'
identifier: deadCode.unreachable
count: 1
path: app/Models/Component.php
-
message: '#^Unsafe access to private property App\\Models\\Component\:\:\$customFieldFilterMapCache through static\:\:\.$#'
identifier: staticClassAccess.privateProperty
count: 4
path: app/Models/Component.php
-
message: '#^Unsafe usage of new static\(\)\.$#'
identifier: new.static
count: 4
path: app/Models/Component.php
-
message: '#^Using nullsafe method call on non\-nullable type Psr\\Http\\Message\\ResponseInterface\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 2
path: app/Models/Component.php
-
message: '#^Using nullsafe property access "\?\-\>company_id" in isset\(\) is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: app/Models/Component.php
-
message: '#^Using nullsafe property access "\?\-\>currency" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: app/Models/Component.php
-
message: '#^Using nullsafe property access "\?\-\>default_currency" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: app/Models/Component.php
-
message: '#^Using nullsafe property access "\?\-\>require_acceptance" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: app/Models/Component.php
-
message: '#^Variable \$filters in empty\(\) always exists and is always falsy\.$#'
identifier: empty.variable
count: 1
path: app/Models/Component.php
-
message: '#^Call to function is_array\(\) with string will always evaluate to false\.$#'
identifier: function.impossibleType
count: 2
path: app/Models/ComponentAssignment.php
-
message: '#^Call to function is_scalar\(\) with \*NEVER\* will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Models/ComponentAssignment.php
-
message: '#^Call to function is_string\(\) with \*NEVER\* will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Models/ComponentAssignment.php
-
message: '#^Comparison operation "\>" between 0 and 0 is always false\.$#'
identifier: greater.alwaysFalse
count: 1
path: app/Models/ComponentAssignment.php
-
message: '#^Result of && is always false\.$#'
identifier: booleanAnd.alwaysFalse
count: 2
path: app/Models/ComponentAssignment.php
-
message: '#^Result of && is always true\.$#'
identifier: booleanAnd.alwaysTrue
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: '#^Unreachable statement \- code above always terminates\.$#'
identifier: deadCode.unreachable
count: 1
path: app/Models/ComponentAssignment.php
-
message: '#^Unsafe access to private property App\\Models\\ComponentAssignment\:\:\$customFieldFilterMapCache through static\:\:\.$#'
identifier: staticClassAccess.privateProperty
count: 4
path: app/Models/ComponentAssignment.php
-
message: '#^Variable \$filters in empty\(\) always exists and is always falsy\.$#'
identifier: empty.variable
count: 1
path: app/Models/ComponentAssignment.php
-
message: '#^Access to an undefined property App\\Models\\Consumable\:\:\$consumables_users_count\.$#'
identifier: property.notFound
count: 1
path: app/Models/Consumable.php
-
message: '#^Access to an undefined property App\\Models\\Consumable\:\:\$license\.$#'
identifier: property.notFound
count: 1
path: app/Models/Consumable.php
-
message: '#^Access to an undefined property App\\Models\\Consumable\:\:\$license_id\.$#'
identifier: property.notFound
count: 5
path: app/Models/Consumable.php
-
message: '#^Access to an undefined property App\\Models\\Consumable\:\:\$model\.$#'
identifier: property.notFound
count: 1
path: app/Models/Consumable.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$company_id\.$#'
identifier: property.notFound
count: 2
path: app/Models/Consumable.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$order\.$#'
identifier: property.notFound
count: 4
path: app/Models/Consumable.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$price\.$#'
identifier: property.notFound
count: 1
path: app/Models/Consumable.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:outstanding\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Models/Consumable.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:withTrashed\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Models/Consumable.php
-
message: '#^Call to function is_array\(\) with string will always evaluate to false\.$#'
identifier: function.impossibleType
count: 2
path: app/Models/Consumable.php
-
message: '#^Call to function is_scalar\(\) with \*NEVER\* will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Models/Consumable.php
-
message: '#^Call to function is_string\(\) with \*NEVER\* will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Models/Consumable.php
-
message: '#^Call to function method_exists\(\) with \$this\(App\\Models\\Consumable\) and ''numRemaining'' will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: 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
count: 1
path: app/Models/Consumable.php
-
message: '#^Comparison operation "\>" between 0 and 0 is always false\.$#'
identifier: greater.alwaysFalse
count: 1
path: app/Models/Consumable.php
-
message: '#^Loose comparison using \=\= between int and '''' will always evaluate to false\.$#'
identifier: equal.alwaysFalse
count: 1
path: app/Models/Consumable.php
-
message: '#^Method App\\Models\\Consumable\:\:checkin_email\(\) should return bool but returns int\|null\.$#'
identifier: return.type
count: 1
path: app/Models/Consumable.php
-
message: '#^PHPDoc type array of property App\\Models\\Consumable\:\:\$fillable is not covariant with PHPDoc type list\<string\> of overridden property Illuminate\\Database\\Eloquent\\Model\:\:\$fillable\.$#'
identifier: property.phpDocType
count: 1
path: app/Models/Consumable.php
-
message: '#^Property App\\Models\\Consumable\:\:\$searchableAttributes \(array\) on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.property
count: 1
path: app/Models/Consumable.php
-
message: '#^Property App\\Models\\Consumable\:\:\$searchableRelations \(array\) on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.property
count: 1
path: app/Models/Consumable.php
-
message: '#^Property App\\Models\\IdeHelperActionlog\:\:\$created_at \(Illuminate\\Support\\Carbon\|null\) does not accept string\.$#'
identifier: assign.propertyType
count: 2
path: app/Models/Consumable.php
-
message: '#^Result of && is always false\.$#'
identifier: booleanAnd.alwaysFalse
count: 3
path: app/Models/Consumable.php
-
message: '#^Result of && is always true\.$#'
identifier: booleanAnd.alwaysTrue
count: 1
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
count: 1
path: app/Models/Consumable.php
-
message: '#^Strict comparison using \=\=\= between class\-string\<static\(App\\Models\\Consumable\)\> and ''App\\\\Models\\\\LicenseSeat'' will always evaluate to false\.$#'
identifier: identical.alwaysFalse
count: 1
path: 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: '#^Unreachable statement \- code above always terminates\.$#'
identifier: deadCode.unreachable
count: 1
path: app/Models/Consumable.php
-
message: '#^Unsafe access to private property App\\Models\\Consumable\:\:\$customFieldFilterMapCache through static\:\:\.$#'
identifier: staticClassAccess.privateProperty
count: 4
path: app/Models/Consumable.php
-
message: '#^Unsafe usage of new static\(\)\.$#'
identifier: new.static
count: 4
path: app/Models/Consumable.php
-
message: '#^Using nullsafe method call on non\-nullable type Psr\\Http\\Message\\ResponseInterface\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 2
path: app/Models/Consumable.php
-
message: '#^Using nullsafe property access "\?\-\>company_id" in isset\(\) is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: app/Models/Consumable.php
-
message: '#^Using nullsafe property access "\?\-\>currency" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: app/Models/Consumable.php
-
message: '#^Using nullsafe property access "\?\-\>default_currency" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: app/Models/Consumable.php
-
message: '#^Using nullsafe property access "\?\-\>require_acceptance" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: app/Models/Consumable.php
-
message: '#^Variable \$filters in empty\(\) always exists and is always falsy\.$#'
identifier: empty.variable
count: 1
path: app/Models/Consumable.php
-
message: '#^Access to an undefined property App\\Models\\ConsumableAssignment\:\:\$company_id\.$#'
identifier: property.notFound
count: 2
path: app/Models/ConsumableAssignment.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$company_id\.$#'
identifier: property.notFound
count: 2
path: app/Models/ConsumableAssignment.php
-
message: '#^Access to an undefined property App\\Models\\AssetModel\:\:\$pivot\.$#'
identifier: property.notFound
count: 2
path: app/Models/CustomField.php
-
message: '#^Method App\\Models\\CustomField\:\:boot\(\) should return bool but return statement is missing\.$#'
identifier: return.missing
count: 1
path: app/Models/CustomField.php
-
message: '#^Method App\\Models\\CustomField\:\:setFormatAttribute\(\) should return array but return statement is missing\.$#'
identifier: return.missing
count: 2
path: app/Models/CustomField.php
-
message: '#^Result of static method Illuminate\\Support\\Facades\\Schema\:\:table\(\) \(void\) is used\.$#'
identifier: staticMethod.void
count: 1
path: app/Models/CustomField.php
-
message: '#^Access to an undefined property App\\Models\\CustomField\:\:\$pivot\.$#'
identifier: property.notFound
count: 1
path: app/Models/CustomFieldset.php
-
message: '#^If condition is always true\.$#'
identifier: if.alwaysTrue
count: 1
path: app/Models/CustomFieldset.php
-
message: '#^Unreachable statement \- code above always terminates\.$#'
identifier: deadCode.unreachable
count: 1
path: app/Models/CustomFieldset.php
-
message: '#^Access to an undefined property App\\Models\\Department\:\:\$license\.$#'
identifier: property.notFound
count: 1
path: app/Models/Department.php
-
message: '#^Access to an undefined property App\\Models\\Department\:\:\$license_id\.$#'
identifier: property.notFound
count: 5
path: app/Models/Department.php
-
message: '#^Access to an undefined property App\\Models\\Department\:\:\$model\.$#'
identifier: property.notFound
count: 1
path: app/Models/Department.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$company_id\.$#'
identifier: property.notFound
count: 2
path: app/Models/Department.php
-
message: '#^Call to function is_array\(\) with string will always evaluate to false\.$#'
identifier: function.impossibleType
count: 2
path: app/Models/Department.php
-
message: '#^Call to function is_scalar\(\) with \*NEVER\* will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Models/Department.php
-
message: '#^Call to function is_string\(\) with \*NEVER\* will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Models/Department.php
-
message: '#^Call to function method_exists\(\) with class\-string\<static\(App\\Models\\Department\)\> and ''filterableFields'' will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Models/Department.php
-
message: '#^Comparison operation "\>" between 0 and 0 is always false\.$#'
identifier: greater.alwaysFalse
count: 1
path: app/Models/Department.php
-
message: '#^Property App\\Models\\Department\:\:\$searchableAttributes \(array\) on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.property
count: 1
path: app/Models/Department.php
-
message: '#^Property App\\Models\\Department\:\:\$searchableRelations \(array\) on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.property
count: 1
path: app/Models/Department.php
-
message: '#^Property App\\Models\\IdeHelperActionlog\:\:\$created_at \(Illuminate\\Support\\Carbon\|null\) does not accept string\.$#'
identifier: assign.propertyType
count: 1
path: app/Models/Department.php
-
message: '#^Result of && is always false\.$#'
identifier: booleanAnd.alwaysFalse
count: 2
path: app/Models/Department.php
-
message: '#^Result of && is always true\.$#'
identifier: booleanAnd.alwaysTrue
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.alwaysFalse
count: 1
path: 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: '#^Unreachable statement \- code above always terminates\.$#'
identifier: deadCode.unreachable
count: 1
path: app/Models/Department.php
-
message: '#^Unsafe access to private property App\\Models\\Department\:\:\$customFieldFilterMapCache through static\:\:\.$#'
identifier: staticClassAccess.privateProperty
count: 4
path: app/Models/Department.php
-
message: '#^Using nullsafe method call on non\-nullable type Psr\\Http\\Message\\ResponseInterface\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 2
path: app/Models/Department.php
-
message: '#^Using nullsafe property access "\?\-\>company_id" in isset\(\) is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: app/Models/Department.php
-
message: '#^Variable \$filters in empty\(\) always exists and is always falsy\.$#'
identifier: empty.variable
count: 1
path: app/Models/Department.php
-
message: '#^Comparison operation "\>" between \*NEVER\* and 0 results in an error\.$#'
identifier: greater.invalid
count: 1
path: app/Models/Depreciable.php
-
message: '#^Method App\\Models\\Depreciable\:\:getLinearDepreciatedValue\(\) should return float\|int but returns null\.$#'
identifier: return.type
count: 1
path: app/Models/Depreciable.php
-
message: '#^Property \$this\(App\\Models\\Depreciable\)\:\:\$purchase_cost is not readable\.$#'
identifier: property.writeOnly
count: 11
path: app/Models/Depreciable.php
-
message: '#^Property \$this\(App\\Models\\Depreciable\)\:\:\$purchase_date is not readable\.$#'
identifier: property.writeOnly
count: 10
path: app/Models/Depreciable.php
-
message: '#^Access to an undefined property App\\Models\\Depreciation\:\:\$deleted_at\.$#'
identifier: property.notFound
count: 1
path: app/Models/Depreciation.php
-
message: '#^Call to function is_array\(\) with string will always evaluate to false\.$#'
identifier: function.impossibleType
count: 2
path: app/Models/Depreciation.php
-
message: '#^Call to function is_scalar\(\) with \*NEVER\* will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Models/Depreciation.php
-
message: '#^Call to function is_string\(\) with \*NEVER\* will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Models/Depreciation.php
-
message: '#^Call to function method_exists\(\) with class\-string\<static\(App\\Models\\Depreciation\)\> and ''filterableFields'' will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Models/Depreciation.php
-
message: '#^Comparison operation "\>" between 0 and 0 is always false\.$#'
identifier: greater.alwaysFalse
count: 1
path: app/Models/Depreciation.php
-
message: '#^Property App\\Models\\Depreciation\:\:\$searchableAttributes \(array\) on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.property
count: 1
path: app/Models/Depreciation.php
-
message: '#^Property App\\Models\\Depreciation\:\:\$searchableRelations \(array\) on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.property
count: 1
path: app/Models/Depreciation.php
-
message: '#^Result of && is always false\.$#'
identifier: booleanAnd.alwaysFalse
count: 2
path: app/Models/Depreciation.php
-
message: '#^Result of && is always true\.$#'
identifier: booleanAnd.alwaysTrue
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: '#^Unreachable statement \- code above always terminates\.$#'
identifier: deadCode.unreachable
count: 1
path: app/Models/Depreciation.php
-
message: '#^Unsafe access to private property App\\Models\\Depreciation\:\:\$customFieldFilterMapCache through static\:\:\.$#'
identifier: staticClassAccess.privateProperty
count: 4
path: app/Models/Depreciation.php
-
message: '#^Variable \$filters in empty\(\) always exists and is always falsy\.$#'
identifier: empty.variable
count: 1
path: app/Models/Depreciation.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:detach\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Models/Group.php
-
message: '#^Call to function is_array\(\) with string will always evaluate to false\.$#'
identifier: function.impossibleType
count: 2
path: app/Models/Group.php
-
message: '#^Call to function is_array\(\) with string\|null will always evaluate to false\.$#'
identifier: function.impossibleType
count: 1
path: app/Models/Group.php
-
message: '#^Call to function is_scalar\(\) with \*NEVER\* will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Models/Group.php
-
message: '#^Call to function is_string\(\) with \*NEVER\* will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Models/Group.php
-
message: '#^Call to function method_exists\(\) with class\-string\<static\(App\\Models\\Group\)\> and ''filterableFields'' will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Models/Group.php
-
message: '#^Comparison operation "\>" between 0 and 0 is always false\.$#'
identifier: greater.alwaysFalse
count: 1
path: app/Models/Group.php
-
message: '#^Property App\\Models\\Group\:\:\$searchableAttributes \(array\) on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.property
count: 1
path: app/Models/Group.php
-
message: '#^Property App\\Models\\Group\:\:\$searchableRelations \(array\) on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.property
count: 1
path: app/Models/Group.php
-
message: '#^Result of && is always false\.$#'
identifier: booleanAnd.alwaysFalse
count: 2
path: app/Models/Group.php
-
message: '#^Result of && is always true\.$#'
identifier: booleanAnd.alwaysTrue
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: '#^Unreachable statement \- code above always terminates\.$#'
identifier: deadCode.unreachable
count: 1
path: app/Models/Group.php
-
message: '#^Unsafe access to private property App\\Models\\Group\:\:\$customFieldFilterMapCache through static\:\:\.$#'
identifier: staticClassAccess.privateProperty
count: 4
path: app/Models/Group.php
-
message: '#^Variable \$filters in empty\(\) always exists and is always falsy\.$#'
identifier: empty.variable
count: 1
path: app/Models/Group.php
-
message: '#^Access to an undefined property App\\Models\\Labels\\CustomLabels\\CustomSheetLabel\:\:\$barcode2Margin\.$#'
identifier: property.notFound
count: 1
path: app/Models/Labels/CustomLabels/CustomSheetLabel.php
-
message: '#^Access to an undefined property App\\Models\\Labels\\CustomLabels\\CustomSheetLabel\:\:\$height\.$#'
identifier: property.notFound
count: 1
path: app/Models/Labels/CustomLabels/CustomSheetLabel.php
-
message: '#^Access to an undefined property App\\Models\\Labels\\CustomLabels\\CustomSheetLabel\:\:\$marginBottom\.$#'
identifier: property.notFound
count: 1
path: app/Models/Labels/CustomLabels/CustomSheetLabel.php
-
message: '#^Access to an undefined property App\\Models\\Labels\\CustomLabels\\CustomSheetLabel\:\:\$marginLeft\.$#'
identifier: property.notFound
count: 1
path: app/Models/Labels/CustomLabels/CustomSheetLabel.php
-
message: '#^Access to an undefined property App\\Models\\Labels\\CustomLabels\\CustomSheetLabel\:\:\$marginRight\.$#'
identifier: property.notFound
count: 1
path: app/Models/Labels/CustomLabels/CustomSheetLabel.php
-
message: '#^Access to an undefined property App\\Models\\Labels\\CustomLabels\\CustomSheetLabel\:\:\$marginTop\.$#'
identifier: property.notFound
count: 1
path: app/Models/Labels/CustomLabels/CustomSheetLabel.php
-
message: '#^Access to an undefined property App\\Models\\Labels\\CustomLabels\\CustomSheetLabel\:\:\$width\.$#'
identifier: property.notFound
count: 1
path: app/Models/Labels/CustomLabels/CustomSheetLabel.php
-
message: '#^Access to an undefined property App\\Models\\Labels\\CustomLabels\\CustomTapeLabel\:\:\$barcode2Margin\.$#'
identifier: property.notFound
count: 1
path: app/Models/Labels/CustomLabels/CustomTapeLabel.php
-
message: '#^Access to an undefined property App\\Models\\Labels\\CustomLabels\\CustomTapeLabel\:\:\$columns\.$#'
identifier: property.notFound
count: 3
path: app/Models/Labels/CustomLabels/CustomTapeLabel.php
-
message: '#^Access to an undefined property App\\Models\\Labels\\CustomLabels\\CustomTapeLabel\:\:\$labelColumnSpacing\.$#'
identifier: property.notFound
count: 3
path: app/Models/Labels/CustomLabels/CustomTapeLabel.php
-
message: '#^Access to an undefined property App\\Models\\Labels\\CustomLabels\\CustomTapeLabel\:\:\$labelHeight\.$#'
identifier: property.notFound
count: 3
path: app/Models/Labels/CustomLabels/CustomTapeLabel.php
-
message: '#^Access to an undefined property App\\Models\\Labels\\CustomLabels\\CustomTapeLabel\:\:\$labelMarginBottom\.$#'
identifier: property.notFound
count: 3
path: app/Models/Labels/CustomLabels/CustomTapeLabel.php
-
message: '#^Access to an undefined property App\\Models\\Labels\\CustomLabels\\CustomTapeLabel\:\:\$labelMarginLeft\.$#'
identifier: property.notFound
count: 3
path: app/Models/Labels/CustomLabels/CustomTapeLabel.php
-
message: '#^Access to an undefined property App\\Models\\Labels\\CustomLabels\\CustomTapeLabel\:\:\$labelMarginRight\.$#'
identifier: property.notFound
count: 3
path: app/Models/Labels/CustomLabels/CustomTapeLabel.php
-
message: '#^Access to an undefined property App\\Models\\Labels\\CustomLabels\\CustomTapeLabel\:\:\$labelMarginTop\.$#'
identifier: property.notFound
count: 3
path: app/Models/Labels/CustomLabels/CustomTapeLabel.php
-
message: '#^Access to an undefined property App\\Models\\Labels\\CustomLabels\\CustomTapeLabel\:\:\$labelRowSpacing\.$#'
identifier: property.notFound
count: 3
path: app/Models/Labels/CustomLabels/CustomTapeLabel.php
-
message: '#^Access to an undefined property App\\Models\\Labels\\CustomLabels\\CustomTapeLabel\:\:\$labelWidth\.$#'
identifier: property.notFound
count: 3
path: app/Models/Labels/CustomLabels/CustomTapeLabel.php
-
message: '#^Access to an undefined property App\\Models\\Labels\\CustomLabels\\CustomTapeLabel\:\:\$pageHeight\.$#'
identifier: property.notFound
count: 3
path: app/Models/Labels/CustomLabels/CustomTapeLabel.php
-
message: '#^Access to an undefined property App\\Models\\Labels\\CustomLabels\\CustomTapeLabel\:\:\$pageMarginBottom\.$#'
identifier: property.notFound
count: 3
path: app/Models/Labels/CustomLabels/CustomTapeLabel.php
-
message: '#^Access to an undefined property App\\Models\\Labels\\CustomLabels\\CustomTapeLabel\:\:\$pageMarginLeft\.$#'
identifier: property.notFound
count: 3
path: app/Models/Labels/CustomLabels/CustomTapeLabel.php
-
message: '#^Access to an undefined property App\\Models\\Labels\\CustomLabels\\CustomTapeLabel\:\:\$pageMarginRight\.$#'
identifier: property.notFound
count: 3
path: app/Models/Labels/CustomLabels/CustomTapeLabel.php
-
message: '#^Access to an undefined property App\\Models\\Labels\\CustomLabels\\CustomTapeLabel\:\:\$pageMarginTop\.$#'
identifier: property.notFound
count: 3
path: app/Models/Labels/CustomLabels/CustomTapeLabel.php
-
message: '#^Access to an undefined property App\\Models\\Labels\\CustomLabels\\CustomTapeLabel\:\:\$pageWidth\.$#'
identifier: property.notFound
count: 3
path: app/Models/Labels/CustomLabels/CustomTapeLabel.php
-
message: '#^Access to an undefined property App\\Models\\Labels\\CustomLabels\\CustomTapeLabel\:\:\$rows\.$#'
identifier: property.notFound
count: 3
path: app/Models/Labels/CustomLabels/CustomTapeLabel.php
-
message: '#^Call to function method_exists\(\) with \$this\(App\\Models\\Labels\\CustomLabels\\CustomTapeLabel\) and ''getBarcode2DMargin'' 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.alreadyNarrowedType
count: 3
path: app/Models/Labels/CustomLabels/CustomTapeLabel.php
-
message: '#^Dead catch \- Throwable is never thrown in the try block\.$#'
identifier: catch.neverThrown
count: 1
path: app/Models/Labels/FieldOption.php
-
message: '#^Call to an undefined method App\\Models\\Labels\\Label\:\:get2DBarcodeSize\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Models/Labels/Label.php
-
message: '#^Call to an undefined method App\\Models\\Labels\\Label\:\:getBarcodeMargin\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Models/Labels/Label.php
-
message: '#^Call to an undefined method App\\Models\\Labels\\Label\:\:getBarcodeSize\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Models/Labels/Label.php
-
message: '#^Call to an undefined method App\\Models\\Labels\\Label\:\:getFieldMargin\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Models/Labels/Label.php
-
message: '#^Call to an undefined method App\\Models\\Labels\\Label\:\:getFieldSize\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Models/Labels/Label.php
-
message: '#^Call to an undefined method App\\Models\\Labels\\Label\:\:getLabelMargin\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Models/Labels/Label.php
-
message: '#^Call to an undefined method App\\Models\\Labels\\Label\:\:getLabelSize\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Models/Labels/Label.php
-
message: '#^Call to an undefined method App\\Models\\Labels\\Label\:\:getLogoMargin\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Models/Labels/Label.php
-
message: '#^Call to an undefined method App\\Models\\Labels\\Label\:\:getLogoMaxWidth\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Models/Labels/Label.php
-
message: '#^Call to an undefined method App\\Models\\Labels\\Label\:\:getTagAlignment\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Models/Labels/Label.php
-
message: '#^Call to an undefined method App\\Models\\Labels\\Label\:\:getTagSize\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Models/Labels/Label.php
-
message: '#^Call to an undefined method App\\Models\\Labels\\Label\:\:getTitleMargin\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Models/Labels/Label.php
-
message: '#^Call to an undefined method App\\Models\\Labels\\Label\:\:getTitleSize\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Models/Labels/Label.php
-
message: '#^Call to function is_bool\(\) with bool will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 4
path: app/Models/Labels/Label.php
-
message: '#^Call to function is_int\(\) with int will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Models/Labels/Label.php
-
message: '#^Call to function is_numeric\(\) with float will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 6
path: app/Models/Labels/Label.php
-
message: '#^Call to function is_string\(\) with float will always evaluate to false\.$#'
identifier: function.impossibleType
count: 6
path: app/Models/Labels/Label.php
-
message: '#^Class App\\Models\\Labels\\Arrayable not found\.$#'
identifier: class.notFound
count: 1
path: app/Models/Labels/Label.php
-
message: '#^Result of \|\| is always false\.$#'
identifier: booleanOr.alwaysFalse
count: 6
path: app/Models/Labels/Label.php
-
message: '#^Access to an undefined property App\\Models\\Asset\:\:\$is_label_preview\.$#'
identifier: property.notFound
count: 1
path: app/Models/Labels/LabelPreviewAsset.php
-
message: '#^Property App\\Models\\IdeHelperAsset\:\:\$purchase_date \(Illuminate\\Support\\Carbon\|null\) does not accept Carbon\\Carbon\.$#'
identifier: assign.propertyType
count: 1
path: app/Models/Labels/LabelPreviewAsset.php
-
message: '#^Constant App\\Models\\Labels\\Sheets\\Avery\\_5267\:\:ROW2_Y is unused\.$#'
identifier: classConstant.unused
count: 1
path: app/Models/Labels/Sheets/Avery/_5267.php
-
message: '#^Property App\\Models\\Labels\\Tapes\\Generic\\Continuous_53mm\:\:\$tapeHeight is never read, only written\.$#'
identifier: property.onlyWritten
count: 1
path: app/Models/Labels/Tapes/Generic/Continuous_53mm.php
-
message: '#^Property App\\Models\\Labels\\Tapes\\Generic\\Continuous_Landscape_0_59in\:\:\$tapeHeight is never read, only written\.$#'
identifier: property.onlyWritten
count: 1
path: app/Models/Labels/Tapes/Generic/Continuous_Landscape_0_59in.php
-
message: '#^Variable \$labelWidth might not be defined\.$#'
identifier: variable.undefined
count: 1
path: app/Models/Labels/Tapes/Generic/Continuous_Landscape_0_59in_A.php
-
message: '#^Property App\\Models\\Labels\\Tapes\\Generic\\Tape_53mm\:\:\$tapeHeight is never read, only written\.$#'
identifier: property.onlyWritten
count: 1
path: app/Models/Labels/Tapes/Generic/Tape_53mm.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:attach\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Models/Ldap.php
-
message: '#^Method App\\Models\\Ldap\:\:findLdapUsers\(\) should return array\|bool but returns Illuminate\\Http\\RedirectResponse\.$#'
identifier: return.type
count: 1
path: app/Models/Ldap.php
-
message: '#^Strict comparison using \!\=\= between mixed and null will always evaluate to true\.$#'
identifier: notIdentical.alwaysTrue
count: 1
path: app/Models/Ldap.php
-
message: '#^Ternary operator condition is always false\.$#'
identifier: ternary.alwaysFalse
count: 1
path: app/Models/Ldap.php
-
message: '#^Access to an undefined property App\\Models\\License\:\:\$license\.$#'
identifier: property.notFound
count: 1
path: app/Models/License.php
-
message: '#^Access to an undefined property App\\Models\\License\:\:\$license_id\.$#'
identifier: property.notFound
count: 5
path: app/Models/License.php
-
message: '#^Access to an undefined property App\\Models\\License\:\:\$model\.$#'
identifier: property.notFound
count: 1
path: app/Models/License.php
-
message: '#^Access to an undefined property App\\Models\\LicenseSeat\:\:\$count\.$#'
identifier: property.notFound
count: 1
path: app/Models/License.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$company_id\.$#'
identifier: property.notFound
count: 2
path: app/Models/License.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:withTrashed\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Models/License.php
-
message: '#^Call to function is_array\(\) with string will always evaluate to false\.$#'
identifier: function.impossibleType
count: 2
path: app/Models/License.php
-
message: '#^Call to function is_scalar\(\) with \*NEVER\* will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Models/License.php
-
message: '#^Call to function is_string\(\) with \*NEVER\* will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Models/License.php
-
message: '#^Call to function method_exists\(\) with \$this\(App\\Models\\License\) and ''numRemaining'' will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: 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: '#^Comparison operation "\>" between 0 and 0 is always false\.$#'
identifier: greater.alwaysFalse
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
count: 1
path: app/Models/License.php
-
message: '#^Method App\\Models\\License\:\:adjustSeatCount\(\) should return Illuminate\\Database\\Eloquent\\Relations\\Relation but returns true\.$#'
identifier: return.type
count: 3
path: app/Models/License.php
-
message: '#^Method App\\Models\\License\:\:checkin_email\(\) should return bool but returns int\.$#'
identifier: return.type
count: 1
path: app/Models/License.php
-
message: '#^Method App\\Models\\License\:\:requireAcceptance\(\) should return bool but returns int\.$#'
identifier: return.type
count: 1
path: app/Models/License.php
-
message: '#^Method App\\Models\\License\:\:totalSeatsByLicenseID\(\) should return Illuminate\\Database\\Eloquent\\Relations\\Relation but returns int\<0, max\>\.$#'
identifier: return.type
count: 1
path: app/Models/License.php
-
message: '#^Property App\\Models\\IdeHelperActionlog\:\:\$created_at \(Illuminate\\Support\\Carbon\|null\) does not accept string\.$#'
identifier: assign.propertyType
count: 1
path: app/Models/License.php
-
message: '#^Property App\\Models\\License\:\:\$guarded \(array\<string\>\) does not accept default value of type string\.$#'
identifier: property.defaultValue
count: 1
path: app/Models/License.php
-
message: '#^Property App\\Models\\License\:\:\$searchableAttributes \(array\) on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.property
count: 1
path: app/Models/License.php
-
message: '#^Property App\\Models\\License\:\:\$searchableRelations \(array\) on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.property
count: 1
path: app/Models/License.php
-
message: '#^Result of && is always false\.$#'
identifier: booleanAnd.alwaysFalse
count: 2
path: app/Models/License.php
-
message: '#^Result of && is always true\.$#'
identifier: booleanAnd.alwaysTrue
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
count: 1
path: app/Models/License.php
-
message: '#^Strict comparison using \=\=\= between class\-string\<static\(App\\Models\\License\)\> and ''App\\\\Models\\\\LicenseSeat'' will always evaluate to false\.$#'
identifier: identical.alwaysFalse
count: 1
path: 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: '#^Unreachable statement \- code above always terminates\.$#'
identifier: deadCode.unreachable
count: 1
path: app/Models/License.php
-
message: '#^Unsafe access to private property App\\Models\\License\:\:\$customFieldFilterMapCache through static\:\:\.$#'
identifier: staticClassAccess.privateProperty
count: 4
path: app/Models/License.php
-
message: '#^Using nullsafe method call on non\-nullable type Psr\\Http\\Message\\ResponseInterface\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 2
path: app/Models/License.php
-
message: '#^Using nullsafe property access "\?\-\>company_id" in isset\(\) is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: app/Models/License.php
-
message: '#^Variable \$filters in empty\(\) always exists and is always falsy\.$#'
identifier: empty.variable
count: 1
path: app/Models/License.php
-
message: '#^Access to an undefined property App\\Models\\LicenseSeat\:\:\$model\.$#'
identifier: property.notFound
count: 1
path: app/Models/LicenseSeat.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:withTrashed\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Models/LicenseSeat.php
-
message: '#^Call to function is_array\(\) with string will always evaluate to false\.$#'
identifier: function.impossibleType
count: 2
path: app/Models/LicenseSeat.php
-
message: '#^Call to function is_scalar\(\) with \*NEVER\* will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Models/LicenseSeat.php
-
message: '#^Call to function is_string\(\) with \*NEVER\* will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Models/LicenseSeat.php
-
message: '#^Comparison operation "\>" between 0 and 0 is always false\.$#'
identifier: greater.alwaysFalse
count: 1
path: app/Models/LicenseSeat.php
-
message: '#^Method App\\Models\\LicenseSeat\:\:location\(\) should return string but returns false\.$#'
identifier: return.type
count: 1
path: app/Models/LicenseSeat.php
-
message: '#^Method App\\Models\\LicenseSeat\:\:requireAcceptance\(\) should return bool but returns int\.$#'
identifier: return.type
count: 1
path: app/Models/LicenseSeat.php
-
message: '#^Property \$this\(App\\Models\\LicenseSeat\)\:\:\$company_id is not readable\.$#'
identifier: property.writeOnly
count: 2
path: app/Models/LicenseSeat.php
-
message: '#^Property App\\Models\\IdeHelperActionlog\:\:\$created_at \(Illuminate\\Support\\Carbon\|null\) does not accept string\.$#'
identifier: assign.propertyType
count: 1
path: app/Models/LicenseSeat.php
-
message: '#^Property App\\Models\\LicenseSeat\:\:\$guarded \(array\<string\>\) does not accept default value of type string\.$#'
identifier: property.defaultValue
count: 1
path: app/Models/LicenseSeat.php
-
message: '#^Property App\\Models\\LicenseSeat\:\:\$searchableAttributes \(array\) on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.property
count: 1
path: app/Models/LicenseSeat.php
-
message: '#^Property App\\Models\\LicenseSeat\:\:\$searchableRelations \(array\) on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.property
count: 1
path: app/Models/LicenseSeat.php
-
message: '#^Result of && is always false\.$#'
identifier: booleanAnd.alwaysFalse
count: 2
path: app/Models/LicenseSeat.php
-
message: '#^Result of && is always true\.$#'
identifier: booleanAnd.alwaysTrue
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: '#^Unreachable statement \- code above always terminates\.$#'
identifier: deadCode.unreachable
count: 1
path: app/Models/LicenseSeat.php
-
message: '#^Unsafe access to private property App\\Models\\LicenseSeat\:\:\$customFieldFilterMapCache through static\:\:\.$#'
identifier: staticClassAccess.privateProperty
count: 4
path: app/Models/LicenseSeat.php
-
message: '#^Using nullsafe method call on non\-nullable type Psr\\Http\\Message\\ResponseInterface\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 2
path: app/Models/LicenseSeat.php
-
message: '#^Using nullsafe property access "\?\-\>company_id" in isset\(\) is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: app/Models/LicenseSeat.php
-
message: '#^Variable \$filters in empty\(\) always exists and is always falsy\.$#'
identifier: empty.variable
count: 1
path: app/Models/LicenseSeat.php
-
message: '#^Access to an undefined property App\\Models\\Location\:\:\$license\.$#'
identifier: property.notFound
count: 1
path: app/Models/Location.php
-
message: '#^Access to an undefined property App\\Models\\Location\:\:\$license_id\.$#'
identifier: property.notFound
count: 5
path: app/Models/Location.php
-
message: '#^Access to an undefined property App\\Models\\Location\:\:\$model\.$#'
identifier: property.notFound
count: 1
path: app/Models/Location.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$company_id\.$#'
identifier: property.notFound
count: 2
path: app/Models/Location.php
-
message: '#^Call to function is_array\(\) with string will always evaluate to false\.$#'
identifier: function.impossibleType
count: 2
path: app/Models/Location.php
-
message: '#^Call to function is_scalar\(\) with \*NEVER\* will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Models/Location.php
-
message: '#^Call to function is_string\(\) with \*NEVER\* will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Models/Location.php
-
message: '#^Call to function method_exists\(\) with class\-string\<static\(App\\Models\\Location\)\> and ''filterableFields'' will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Models/Location.php
-
message: '#^Comparison operation "\>" between 0 and 0 is always false\.$#'
identifier: greater.alwaysFalse
count: 1
path: app/Models/Location.php
-
message: '#^Property App\\Models\\IdeHelperActionlog\:\:\$created_at \(Illuminate\\Support\\Carbon\|null\) does not accept string\.$#'
identifier: assign.propertyType
count: 1
path: app/Models/Location.php
-
message: '#^Property App\\Models\\Location\:\:\$searchableAttributes \(array\) on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.property
count: 1
path: app/Models/Location.php
-
message: '#^Property App\\Models\\Location\:\:\$searchableRelations \(array\) on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.property
count: 1
path: app/Models/Location.php
-
message: '#^Result of && is always false\.$#'
identifier: booleanAnd.alwaysFalse
count: 2
path: app/Models/Location.php
-
message: '#^Result of && is always true\.$#'
identifier: booleanAnd.alwaysTrue
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.alwaysFalse
count: 1
path: 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: '#^Unreachable statement \- code above always terminates\.$#'
identifier: deadCode.unreachable
count: 1
path: app/Models/Location.php
-
message: '#^Unsafe access to private property App\\Models\\Location\:\:\$customFieldFilterMapCache through static\:\:\.$#'
identifier: staticClassAccess.privateProperty
count: 4
path: app/Models/Location.php
-
message: '#^Using nullsafe method call on non\-nullable type Psr\\Http\\Message\\ResponseInterface\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 2
path: app/Models/Location.php
-
message: '#^Using nullsafe property access "\?\-\>company_id" in isset\(\) is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: app/Models/Location.php
-
message: '#^Variable \$filters in empty\(\) always exists and is always falsy\.$#'
identifier: empty.variable
count: 1
path: app/Models/Location.php
-
message: '#^Access to an undefined property App\\Models\\Maintenance\:\:\$license\.$#'
identifier: property.notFound
count: 1
path: app/Models/Maintenance.php
-
message: '#^Access to an undefined property App\\Models\\Maintenance\:\:\$license_id\.$#'
identifier: property.notFound
count: 5
path: app/Models/Maintenance.php
-
message: '#^Access to an undefined property App\\Models\\Maintenance\:\:\$model\.$#'
identifier: property.notFound
count: 1
path: app/Models/Maintenance.php
-
message: '#^Call to function is_array\(\) with string will always evaluate to false\.$#'
identifier: function.impossibleType
count: 2
path: app/Models/Maintenance.php
-
message: '#^Call to function is_scalar\(\) with \*NEVER\* will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Models/Maintenance.php
-
message: '#^Call to function is_string\(\) with \*NEVER\* will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Models/Maintenance.php
-
message: '#^Call to function method_exists\(\) with class\-string\<static\(App\\Models\\Maintenance\)\> and ''filterableFields'' will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Models/Maintenance.php
-
message: '#^Comparison operation "\>" between 0 and 0 is always false\.$#'
identifier: greater.alwaysFalse
count: 1
path: app/Models/Maintenance.php
-
message: '#^Property \$this\(App\\Models\\Maintenance\)\:\:\$company_id is not readable\.$#'
identifier: property.writeOnly
count: 2
path: app/Models/Maintenance.php
-
message: '#^Property App\\Models\\IdeHelperActionlog\:\:\$created_at \(Illuminate\\Support\\Carbon\|null\) does not accept string\.$#'
identifier: assign.propertyType
count: 1
path: app/Models/Maintenance.php
-
message: '#^Property App\\Models\\Maintenance\:\:\$searchableAttributes \(array\) on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.property
count: 1
path: app/Models/Maintenance.php
-
message: '#^Property App\\Models\\Maintenance\:\:\$searchableRelations \(array\) on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.property
count: 1
path: app/Models/Maintenance.php
-
message: '#^Result of && is always false\.$#'
identifier: booleanAnd.alwaysFalse
count: 2
path: app/Models/Maintenance.php
-
message: '#^Result of && is always true\.$#'
identifier: booleanAnd.alwaysTrue
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.alwaysFalse
count: 1
path: 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: '#^Unreachable statement \- code above always terminates\.$#'
identifier: deadCode.unreachable
count: 1
path: app/Models/Maintenance.php
-
message: '#^Unsafe access to private property App\\Models\\Maintenance\:\:\$customFieldFilterMapCache through static\:\:\.$#'
identifier: staticClassAccess.privateProperty
count: 4
path: app/Models/Maintenance.php
-
message: '#^Using nullsafe method call on non\-nullable type Psr\\Http\\Message\\ResponseInterface\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 2
path: app/Models/Maintenance.php
-
message: '#^Using nullsafe property access "\?\-\>company_id" in isset\(\) is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: app/Models/Maintenance.php
-
message: '#^Variable \$filters in empty\(\) always exists and is always falsy\.$#'
identifier: empty.variable
count: 1
path: app/Models/Maintenance.php
-
message: '#^Call to function is_array\(\) with string will always evaluate to false\.$#'
identifier: function.impossibleType
count: 2
path: app/Models/MaintenanceType.php
-
message: '#^Call to function is_scalar\(\) with \*NEVER\* will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Models/MaintenanceType.php
-
message: '#^Call to function is_string\(\) with \*NEVER\* will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Models/MaintenanceType.php
-
message: '#^Call to function method_exists\(\) with class\-string\<static\(App\\Models\\MaintenanceType\)\> and ''filterableFields'' will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Models/MaintenanceType.php
-
message: '#^Comparison operation "\>" between 0 and 0 is always false\.$#'
identifier: greater.alwaysFalse
count: 1
path: app/Models/MaintenanceType.php
-
message: '#^Result of && is always false\.$#'
identifier: booleanAnd.alwaysFalse
count: 2
path: app/Models/MaintenanceType.php
-
message: '#^Result of && is always true\.$#'
identifier: booleanAnd.alwaysTrue
count: 1
path: app/Models/MaintenanceType.php
-
message: '#^Strict comparison using \!\=\= between non\-falsy\-string and '''' will always evaluate to true\.$#'
identifier: notIdentical.alwaysTrue
count: 1
path: app/Models/MaintenanceType.php
-
message: '#^Strict comparison using \=\=\= between non\-falsy\-string and null will always evaluate to false\.$#'
identifier: identical.alwaysFalse
count: 1
path: app/Models/MaintenanceType.php
-
message: '#^Unreachable statement \- code above always terminates\.$#'
identifier: deadCode.unreachable
count: 1
path: app/Models/MaintenanceType.php
-
message: '#^Unsafe access to private property App\\Models\\MaintenanceType\:\:\$customFieldFilterMapCache through static\:\:\.$#'
identifier: staticClassAccess.privateProperty
count: 4
path: app/Models/MaintenanceType.php
-
message: '#^Variable \$filters in empty\(\) always exists and is always falsy\.$#'
identifier: empty.variable
count: 1
path: app/Models/MaintenanceType.php
-
message: '#^Call to function is_array\(\) with string will always evaluate to false\.$#'
identifier: function.impossibleType
count: 2
path: app/Models/Manufacturer.php
-
message: '#^Call to function is_scalar\(\) with \*NEVER\* will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Models/Manufacturer.php
-
message: '#^Call to function is_string\(\) with \*NEVER\* will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Models/Manufacturer.php
-
message: '#^Call to function method_exists\(\) with class\-string\<static\(App\\Models\\Manufacturer\)\> and ''filterableFields'' will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Models/Manufacturer.php
-
message: '#^Comparison operation "\>" between 0 and 0 is always false\.$#'
identifier: greater.alwaysFalse
count: 1
path: app/Models/Manufacturer.php
-
message: '#^Property App\\Models\\Manufacturer\:\:\$searchableAttributes \(array\) on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.property
count: 1
path: app/Models/Manufacturer.php
-
message: '#^Property App\\Models\\Manufacturer\:\:\$searchableRelations \(array\) on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.property
count: 1
path: app/Models/Manufacturer.php
-
message: '#^Result of && is always false\.$#'
identifier: booleanAnd.alwaysFalse
count: 2
path: app/Models/Manufacturer.php
-
message: '#^Result of && is always true\.$#'
identifier: booleanAnd.alwaysTrue
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: '#^Unreachable statement \- code above always terminates\.$#'
identifier: deadCode.unreachable
count: 1
path: app/Models/Manufacturer.php
-
message: '#^Unsafe access to private property App\\Models\\Manufacturer\:\:\$customFieldFilterMapCache through static\:\:\.$#'
identifier: staticClassAccess.privateProperty
count: 4
path: app/Models/Manufacturer.php
-
message: '#^Variable \$filters in empty\(\) always exists and is always falsy\.$#'
identifier: empty.variable
count: 1
path: app/Models/Manufacturer.php
-
message: '#^Call to function is_array\(\) with string will always evaluate to false\.$#'
identifier: function.impossibleType
count: 2
path: app/Models/PredefinedKit.php
-
message: '#^Call to function is_scalar\(\) with \*NEVER\* will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Models/PredefinedKit.php
-
message: '#^Call to function is_string\(\) with \*NEVER\* will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Models/PredefinedKit.php
-
message: '#^Comparison operation "\>" between 0 and 0 is always false\.$#'
identifier: greater.alwaysFalse
count: 1
path: app/Models/PredefinedKit.php
-
message: '#^Property App\\Models\\PredefinedKit\:\:\$searchableAttributes \(array\) on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.property
count: 1
path: app/Models/PredefinedKit.php
-
message: '#^Property App\\Models\\PredefinedKit\:\:\$searchableRelations \(array\) on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.property
count: 1
path: app/Models/PredefinedKit.php
-
message: '#^Result of && is always false\.$#'
identifier: booleanAnd.alwaysFalse
count: 2
path: app/Models/PredefinedKit.php
-
message: '#^Result of && is always true\.$#'
identifier: booleanAnd.alwaysTrue
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: '#^Unreachable statement \- code above always terminates\.$#'
identifier: deadCode.unreachable
count: 1
path: app/Models/PredefinedKit.php
-
message: '#^Unsafe access to private property App\\Models\\PredefinedKit\:\:\$customFieldFilterMapCache through static\:\:\.$#'
identifier: staticClassAccess.privateProperty
count: 4
path: app/Models/PredefinedKit.php
-
message: '#^Variable \$filters in empty\(\) always exists and is always falsy\.$#'
identifier: empty.variable
count: 1
path: app/Models/PredefinedKit.php
-
message: '#^Call to function is_null\(\) with int will always evaluate to false\.$#'
identifier: function.impossibleType
count: 2
path: app/Models/ReportTemplate.php
-
message: '#^Access to undefined constant Illuminate\\Contracts\\Foundation\\Application\:\:VERSION\.$#'
identifier: classConstant.notFound
count: 1
path: app/Models/Setting.php
-
message: '#^PHPDoc tag @var above a method has no effect\.$#'
identifier: varTag.misplaced
count: 2
path: app/Models/Setting.php
-
message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$category\.$#'
identifier: property.notFound
count: 2
path: app/Models/SnipeModel.php
-
message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$image\.$#'
identifier: property.notFound
count: 1
path: app/Models/SnipeModel.php
-
message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$model\.$#'
identifier: property.notFound
count: 1
path: app/Models/SnipeModel.php
-
message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$name\.$#'
identifier: property.notFound
count: 1
path: app/Models/SnipeModel.php
-
message: '#^Cannot call method availableForCheckIn\(\) on class\-string\|object\.$#'
identifier: method.nonObject
count: 1
path: app/Models/SnipeModel.php
-
message: '#^Strict comparison using \=\=\= between string and null will always evaluate to false\.$#'
identifier: identical.alwaysFalse
count: 1
path: app/Models/SnipeModel.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$email\.$#'
identifier: property.notFound
count: 3
path: app/Models/SnipeSCIMConfig.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$manager_id\.$#'
identifier: property.notFound
count: 1
path: app/Models/SnipeSCIMConfig.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$mobile\.$#'
identifier: property.notFound
count: 2
path: app/Models/SnipeSCIMConfig.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$phone\.$#'
identifier: property.notFound
count: 2
path: app/Models/SnipeSCIMConfig.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:companies\(\)\.$#'
identifier: method.notFound
count: 4
path: app/Models/SnipeSCIMConfig.php
-
message: '#^Using nullsafe property access on non\-nullable type ArieTimmerman\\Laravel\\SCIMServer\\Parser\\AttributePath\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: app/Models/SnipeSCIMConfig.php
-
message: '#^Call to function is_array\(\) with string will always evaluate to false\.$#'
identifier: function.impossibleType
count: 2
path: app/Models/Statuslabel.php
-
message: '#^Call to function is_scalar\(\) with \*NEVER\* will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Models/Statuslabel.php
-
message: '#^Call to function is_string\(\) with \*NEVER\* will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Models/Statuslabel.php
-
message: '#^Call to function method_exists\(\) with class\-string\<static\(App\\Models\\Statuslabel\)\> and ''filterableFields'' will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Models/Statuslabel.php
-
message: '#^Comparison operation "\>" between 0 and 0 is always false\.$#'
identifier: greater.alwaysFalse
count: 1
path: app/Models/Statuslabel.php
-
message: '#^Method App\\Models\\Statuslabel\:\:getStatuslabelTypesForDB\(\) should return string but returns array\<string, int\>\.$#'
identifier: return.type
count: 1
path: app/Models/Statuslabel.php
-
message: '#^Property App\\Models\\Statuslabel\:\:\$searchableAttributes \(array\) on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.property
count: 1
path: app/Models/Statuslabel.php
-
message: '#^Property App\\Models\\Statuslabel\:\:\$searchableRelations \(array\) on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.property
count: 1
path: app/Models/Statuslabel.php
-
message: '#^Result of && is always false\.$#'
identifier: booleanAnd.alwaysFalse
count: 2
path: app/Models/Statuslabel.php
-
message: '#^Result of && is always true\.$#'
identifier: booleanAnd.alwaysTrue
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: '#^Unreachable statement \- code above always terminates\.$#'
identifier: deadCode.unreachable
count: 1
path: app/Models/Statuslabel.php
-
message: '#^Unsafe access to private property App\\Models\\Statuslabel\:\:\$customFieldFilterMapCache through static\:\:\.$#'
identifier: staticClassAccess.privateProperty
count: 4
path: app/Models/Statuslabel.php
-
message: '#^Variable \$filters in empty\(\) always exists and is always falsy\.$#'
identifier: empty.variable
count: 1
path: app/Models/Statuslabel.php
-
message: '#^Access to an undefined property App\\Models\\Asset\:\:\$count\.$#'
identifier: property.notFound
count: 1
path: app/Models/Supplier.php
-
message: '#^Access to an undefined property App\\Models\\Supplier\:\:\$license\.$#'
identifier: property.notFound
count: 1
path: app/Models/Supplier.php
-
message: '#^Access to an undefined property App\\Models\\Supplier\:\:\$license_id\.$#'
identifier: property.notFound
count: 5
path: app/Models/Supplier.php
-
message: '#^Access to an undefined property App\\Models\\Supplier\:\:\$model\.$#'
identifier: property.notFound
count: 1
path: app/Models/Supplier.php
-
message: '#^Call to function is_array\(\) with string will always evaluate to false\.$#'
identifier: function.impossibleType
count: 2
path: app/Models/Supplier.php
-
message: '#^Call to function is_scalar\(\) with \*NEVER\* will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Models/Supplier.php
-
message: '#^Call to function is_string\(\) with \*NEVER\* will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Models/Supplier.php
-
message: '#^Call to function method_exists\(\) with class\-string\<static\(App\\Models\\Supplier\)\> and ''filterableFields'' will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Models/Supplier.php
-
message: '#^Comparison operation "\>" between 0 and 0 is always false\.$#'
identifier: greater.alwaysFalse
count: 1
path: app/Models/Supplier.php
-
message: '#^Property \$this\(App\\Models\\Supplier\)\:\:\$company_id is not readable\.$#'
identifier: property.writeOnly
count: 2
path: app/Models/Supplier.php
-
message: '#^Property App\\Models\\IdeHelperActionlog\:\:\$created_at \(Illuminate\\Support\\Carbon\|null\) does not accept string\.$#'
identifier: assign.propertyType
count: 1
path: app/Models/Supplier.php
-
message: '#^Property App\\Models\\Supplier\:\:\$searchableAttributes \(array\) on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.property
count: 1
path: app/Models/Supplier.php
-
message: '#^Property App\\Models\\Supplier\:\:\$searchableRelations \(array\) on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.property
count: 1
path: app/Models/Supplier.php
-
message: '#^Result of && is always false\.$#'
identifier: booleanAnd.alwaysFalse
count: 2
path: app/Models/Supplier.php
-
message: '#^Result of && is always true\.$#'
identifier: booleanAnd.alwaysTrue
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.alwaysFalse
count: 1
path: 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: '#^Unreachable statement \- code above always terminates\.$#'
identifier: deadCode.unreachable
count: 1
path: app/Models/Supplier.php
-
message: '#^Unsafe access to private property App\\Models\\Supplier\:\:\$customFieldFilterMapCache through static\:\:\.$#'
identifier: staticClassAccess.privateProperty
count: 4
path: app/Models/Supplier.php
-
message: '#^Using nullsafe method call on non\-nullable type Psr\\Http\\Message\\ResponseInterface\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 2
path: app/Models/Supplier.php
-
message: '#^Using nullsafe property access "\?\-\>company_id" in isset\(\) is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: app/Models/Supplier.php
-
message: '#^Variable \$filters in empty\(\) always exists and is always falsy\.$#'
identifier: empty.variable
count: 1
path: app/Models/Supplier.php
-
message: '#^Using nullsafe property access "\?\-\>config" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: app/Models/SyncAdapterConfig.php
-
message: '#^Access to an undefined property App\\Models\\User\:\:\$accessory_cost\.$#'
identifier: property.notFound
count: 1
path: app/Models/User.php
-
message: '#^Access to an undefined property App\\Models\\User\:\:\$asset_cost\.$#'
identifier: property.notFound
count: 1
path: app/Models/User.php
-
message: '#^Access to an undefined property App\\Models\\User\:\:\$consumable_cost\.$#'
identifier: property.notFound
count: 1
path: app/Models/User.php
-
message: '#^Access to an undefined property App\\Models\\User\:\:\$license\.$#'
identifier: property.notFound
count: 1
path: app/Models/User.php
-
message: '#^Access to an undefined property App\\Models\\User\:\:\$license_cost\.$#'
identifier: property.notFound
count: 1
path: app/Models/User.php
-
message: '#^Access to an undefined property App\\Models\\User\:\:\$license_id\.$#'
identifier: property.notFound
count: 5
path: app/Models/User.php
-
message: '#^Access to an undefined property App\\Models\\User\:\:\$maintenance_cost\.$#'
identifier: property.notFound
count: 1
path: app/Models/User.php
-
message: '#^Access to an undefined property App\\Models\\User\:\:\$model\.$#'
identifier: property.notFound
count: 1
path: app/Models/User.php
-
message: '#^Access to an undefined property App\\Models\\User\:\:\$total_user_cost\.$#'
identifier: property.notFound
count: 1
path: app/Models/User.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$company_id\.$#'
identifier: property.notFound
count: 2
path: app/Models/User.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#'
identifier: property.notFound
count: 2
path: app/Models/User.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$name\.$#'
identifier: property.notFound
count: 1
path: app/Models/User.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:detach\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Models/User.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:sync\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Models/User.php
-
message: '#^Call to function is_array\(\) with string will always evaluate to false\.$#'
identifier: function.impossibleType
count: 2
path: app/Models/User.php
-
message: '#^Call to function is_array\(\) with string\|null will always evaluate to false\.$#'
identifier: function.impossibleType
count: 1
path: app/Models/User.php
-
message: '#^Call to function is_object\(\) with string\|null will always evaluate to false\.$#'
identifier: function.impossibleType
count: 2
path: app/Models/User.php
-
message: '#^Call to function is_scalar\(\) with \*NEVER\* will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Models/User.php
-
message: '#^Call to function is_string\(\) with \*NEVER\* will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: 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: '#^Comparison operation "\>" between 0 and 0 is always false\.$#'
identifier: greater.alwaysFalse
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
count: 1
path: app/Models/User.php
-
message: '#^Property \$this\(App\\Models\\User\)\:\:\$company_id is not readable\.$#'
identifier: property.writeOnly
count: 7
path: app/Models/User.php
-
message: '#^Property App\\Models\\IdeHelperActionlog\:\:\$created_at \(Illuminate\\Support\\Carbon\|null\) does not accept string\.$#'
identifier: assign.propertyType
count: 3
path: app/Models/User.php
-
message: '#^Property App\\Models\\User\:\:\$searchableAttributes \(array\) on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.property
count: 1
path: app/Models/User.php
-
message: '#^Property App\\Models\\User\:\:\$searchableRelationAliases \(array\<string, string\>\) on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.property
count: 1
path: app/Models/User.php
-
message: '#^Property App\\Models\\User\:\:\$searchableRelationFilterColumns \(array\<string, list\<string\>\>\) on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.property
count: 1
path: app/Models/User.php
-
message: '#^Property App\\Models\\User\:\:\$searchableRelations \(array\) on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.property
count: 1
path: app/Models/User.php
-
message: '#^Property App\\Models\\User\:\:\$searchableVirtualColumns \(array\<string, list\<string\>\>\) on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.property
count: 1
path: app/Models/User.php
-
message: '#^Result of && is always false\.$#'
identifier: booleanAnd.alwaysFalse
count: 2
path: app/Models/User.php
-
message: '#^Result of && is always true\.$#'
identifier: booleanAnd.alwaysTrue
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
count: 1
path: app/Models/User.php
-
message: '#^Strict comparison using \=\=\= between mixed and \*NEVER\* will always evaluate to false\.$#'
identifier: identical.alwaysFalse
count: 1
path: 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: '#^Unreachable statement \- code above always terminates\.$#'
identifier: deadCode.unreachable
count: 1
path: app/Models/User.php
-
message: '#^Unsafe access to private property App\\Models\\User\:\:\$customFieldFilterMapCache through static\:\:\.$#'
identifier: staticClassAccess.privateProperty
count: 4
path: app/Models/User.php
-
message: '#^Using nullsafe method call on non\-nullable type Psr\\Http\\Message\\ResponseInterface\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 2
path: app/Models/User.php
-
message: '#^Using nullsafe property access "\?\-\>company_id" in isset\(\) is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: app/Models/User.php
-
message: '#^Variable \$filters in empty\(\) always exists and is always falsy\.$#'
identifier: empty.variable
count: 1
path: app/Models/User.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: '#^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: '#^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: '#^If condition is always true\.$#'
identifier: if.alwaysTrue
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: '#^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\\Models\\License\:\:\$location\.$#'
identifier: property.notFound
count: 1
path: app/Notifications/CheckinLicenseSeatNotification.php
-
message: '#^If condition is always true\.$#'
identifier: if.alwaysTrue
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: '#^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\\Models\\Accessory\:\:\$checkout_qty\.$#'
identifier: property.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: '#^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: '#^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: '#^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: '#^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\\ExpiringAssetsNotification\:\:\$assets\.$#'
identifier: property.notFound
count: 1
path: app/Notifications/ExpiringAssetsNotification.php
-
message: '#^Access to an undefined property App\\Notifications\\ExpiringLicenseNotification\:\:\$licenses\.$#'
identifier: property.notFound
count: 1
path: app/Notifications/ExpiringLicenseNotification.php
-
message: '#^Property App\\Models\\IdeHelperActionlog\:\:\$created_at \(Illuminate\\Support\\Carbon\|null\) does not accept string\.$#'
identifier: assign.propertyType
count: 2
path: app/Observers/AccessoryObserver.php
-
message: '#^Property App\\Models\\IdeHelperActionlog\:\:\$created_at \(Illuminate\\Support\\Carbon\|null\) does not accept string\.$#'
identifier: assign.propertyType
count: 4
path: app/Observers/AssetModelObserver.php
-
message: '#^Property App\\Models\\IdeHelperActionlog\:\:\$created_at \(Illuminate\\Support\\Carbon\|null\) does not accept string\.$#'
identifier: assign.propertyType
count: 4
path: app/Observers/AssetObserver.php
-
message: '#^Using nullsafe property access on non\-nullable type App\\Models\\AssetModel\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: app/Observers/AssetObserver.php
-
message: '#^Property App\\Models\\IdeHelperActionlog\:\:\$created_at \(Illuminate\\Support\\Carbon\|null\) does not accept string\.$#'
identifier: assign.propertyType
count: 2
path: app/Observers/ComponentObserver.php
-
message: '#^Property App\\Models\\IdeHelperActionlog\:\:\$created_at \(Illuminate\\Support\\Carbon\|null\) does not accept string\.$#'
identifier: assign.propertyType
count: 2
path: app/Observers/ConsumableObserver.php
-
message: '#^Property App\\Models\\IdeHelperActionlog\:\:\$created_at \(Illuminate\\Support\\Carbon\|null\) does not accept string\.$#'
identifier: assign.propertyType
count: 3
path: app/Observers/LicenseObserver.php
-
message: '#^Property App\\Models\\IdeHelperActionlog\:\:\$created_at \(Illuminate\\Support\\Carbon\|null\) does not accept string\.$#'
identifier: assign.propertyType
count: 4
path: app/Observers/LocationObserver.php
-
message: '#^Property App\\Models\\IdeHelperActionlog\:\:\$created_at \(Illuminate\\Support\\Carbon\|null\) does not accept string\.$#'
identifier: assign.propertyType
count: 3
path: app/Observers/MaintenanceObserver.php
-
message: '#^Property App\\Models\\IdeHelperActionlog\:\:\$created_at \(Illuminate\\Support\\Carbon\|null\) does not accept string\.$#'
identifier: assign.propertyType
count: 4
path: app/Observers/UserObserver.php
-
message: '#^Method App\\Policies\\AccessoryPolicy\:\:columnName\(\) should return bool but returns string\.$#'
identifier: return.type
count: 1
path: app/Policies/AccessoryPolicy.php
-
message: '#^Method App\\Policies\\AssetModelPolicy\:\:columnName\(\) should return bool but returns string\.$#'
identifier: return.type
count: 1
path: app/Policies/AssetModelPolicy.php
-
message: '#^Method App\\Policies\\AssetPolicy\:\:columnName\(\) should return bool but returns string\.$#'
identifier: return.type
count: 1
path: app/Policies/AssetPolicy.php
-
message: '#^Method App\\Policies\\CategoryPolicy\:\:columnName\(\) should return bool but returns string\.$#'
identifier: return.type
count: 1
path: app/Policies/CategoryPolicy.php
-
message: '#^Strict comparison using \=\=\= between Illuminate\\Database\\Eloquent\\Model and null will always evaluate to false\.$#'
identifier: identical.alwaysFalse
count: 1
path: app/Policies/CheckoutRequestPolicy.php
-
message: '#^Method App\\Policies\\CompanyPolicy\:\:columnName\(\) should return bool but returns string\.$#'
identifier: return.type
count: 1
path: app/Policies/CompanyPolicy.php
-
message: '#^Method App\\Policies\\ComponentPolicy\:\:columnName\(\) should return bool but returns string\.$#'
identifier: return.type
count: 1
path: app/Policies/ComponentPolicy.php
-
message: '#^Method App\\Policies\\ConsumablePolicy\:\:columnName\(\) should return bool but returns string\.$#'
identifier: return.type
count: 1
path: app/Policies/ConsumablePolicy.php
-
message: '#^Method App\\Policies\\CustomFieldPolicy\:\:columnName\(\) should return bool but returns string\.$#'
identifier: return.type
count: 1
path: app/Policies/CustomFieldPolicy.php
-
message: '#^Method App\\Policies\\CustomFieldsetPolicy\:\:columnName\(\) should return bool but returns string\.$#'
identifier: return.type
count: 1
path: app/Policies/CustomFieldsetPolicy.php
-
message: '#^Method App\\Policies\\DepartmentPolicy\:\:columnName\(\) should return bool but returns string\.$#'
identifier: return.type
count: 1
path: app/Policies/DepartmentPolicy.php
-
message: '#^Method App\\Policies\\DepreciationPolicy\:\:columnName\(\) should return bool but returns string\.$#'
identifier: return.type
count: 1
path: app/Policies/DepreciationPolicy.php
-
message: '#^Method App\\Policies\\LicensePolicy\:\:columnName\(\) should return bool but returns string\.$#'
identifier: return.type
count: 1
path: app/Policies/LicensePolicy.php
-
message: '#^Method App\\Policies\\LocationPolicy\:\:columnName\(\) should return bool but returns string\.$#'
identifier: return.type
count: 1
path: app/Policies/LocationPolicy.php
-
message: '#^Method App\\Policies\\MaintenanceTypePolicy\:\:columnName\(\) should return bool but returns string\.$#'
identifier: return.type
count: 1
path: app/Policies/MaintenanceTypePolicy.php
-
message: '#^Method App\\Policies\\ManufacturerPolicy\:\:columnName\(\) should return bool but returns string\.$#'
identifier: return.type
count: 1
path: app/Policies/ManufacturerPolicy.php
-
message: '#^Method App\\Policies\\PredefinedKitPolicy\:\:columnName\(\) should return bool but returns string\.$#'
identifier: return.type
count: 1
path: app/Policies/PredefinedKitPolicy.php
-
message: '#^Method App\\Policies\\StatuslabelPolicy\:\:columnName\(\) should return bool but returns string\.$#'
identifier: return.type
count: 1
path: app/Policies/StatuslabelPolicy.php
-
message: '#^Method App\\Policies\\SupplierPolicy\:\:columnName\(\) should return bool but returns string\.$#'
identifier: return.type
count: 1
path: app/Policies/SupplierPolicy.php
-
message: '#^Method App\\Policies\\UserPolicy\:\:columnName\(\) should return bool but returns string\.$#'
identifier: return.type
count: 1
path: app/Policies/UserPolicy.php
-
message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$name\.$#'
identifier: property.notFound
count: 1
path: app/Presenters/AccessoryPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\AccessoryPresenter\:\:\$display_name\.$#'
identifier: property.notFound
count: 2
path: app/Presenters/AccessoryPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\AccessoryPresenter\:\:\$id\.$#'
identifier: property.notFound
count: 2
path: app/Presenters/AccessoryPresenter.php
-
message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$item\.$#'
identifier: property.notFound
count: 3
path: app/Presenters/ActionlogPresenter.php
-
message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$target\.$#'
identifier: property.notFound
count: 1
path: app/Presenters/ActionlogPresenter.php
-
message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$user\.$#'
identifier: property.notFound
count: 2
path: app/Presenters/ActionlogPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\ActionlogPresenter\:\:\$action_type\.$#'
identifier: property.notFound
count: 26
path: app/Presenters/ActionlogPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\ActionlogPresenter\:\:\$quantity\.$#'
identifier: property.notFound
count: 2
path: app/Presenters/ActionlogPresenter.php
-
message: '#^Call to an undefined method App\\Presenters\\ActionlogPresenter\:\:itemType\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Presenters/ActionlogPresenter.php
-
message: '#^Access to an undefined property \$this\(App\\Presenters\\AssetModelPresenter\)\:\:\$name\.$#'
identifier: property.notFound
count: 1
path: app/Presenters/AssetModelPresenter.php
-
message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$manufacturer\.$#'
identifier: property.notFound
count: 1
path: app/Presenters/AssetModelPresenter.php
-
message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$note\.$#'
identifier: property.notFound
count: 1
path: app/Presenters/AssetModelPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\AssetModelPresenter\:\:\$deleted_at\.$#'
identifier: property.notFound
count: 2
path: app/Presenters/AssetModelPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\AssetModelPresenter\:\:\$display_name\.$#'
identifier: property.notFound
count: 2
path: app/Presenters/AssetModelPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\AssetModelPresenter\:\:\$eol\.$#'
identifier: property.notFound
count: 1
path: app/Presenters/AssetModelPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\AssetModelPresenter\:\:\$id\.$#'
identifier: property.notFound
count: 3
path: app/Presenters/AssetModelPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\AssetModelPresenter\:\:\$model_number\.$#'
identifier: property.notFound
count: 1
path: app/Presenters/AssetModelPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\AssetModelPresenter\:\:\$name\.$#'
identifier: property.notFound
count: 2
path: app/Presenters/AssetModelPresenter.php
-
message: '#^Method App\\Presenters\\AssetModelPresenter\:\:note\(\) should return string but return statement is missing\.$#'
identifier: return.missing
count: 1
path: app/Presenters/AssetModelPresenter.php
-
message: '#^Access to an undefined property \$this\(App\\Presenters\\AssetPresenter\)\:\:\$name\.$#'
identifier: property.notFound
count: 1
path: app/Presenters/AssetPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\AssetPresenter\:\:\$asset_tag\.$#'
identifier: property.notFound
count: 3
path: app/Presenters/AssetPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\AssetPresenter\:\:\$deleted_at\.$#'
identifier: property.notFound
count: 4
path: app/Presenters/AssetPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\AssetPresenter\:\:\$display_name\.$#'
identifier: property.notFound
count: 4
path: app/Presenters/AssetPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\AssetPresenter\:\:\$fullName\.$#'
identifier: property.notFound
count: 1
path: app/Presenters/AssetPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\AssetPresenter\:\:\$id\.$#'
identifier: property.notFound
count: 4
path: app/Presenters/AssetPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\AssetPresenter\:\:\$image\.$#'
identifier: property.notFound
count: 2
path: app/Presenters/AssetPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\AssetPresenter\:\:\$purchase_date\.$#'
identifier: property.notFound
count: 2
path: app/Presenters/AssetPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\AssetPresenter\:\:\$status\.$#'
identifier: property.notFound
count: 1
path: app/Presenters/AssetPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\AssetPresenter\:\:\$warranty_months\.$#'
identifier: property.notFound
count: 1
path: app/Presenters/AssetPresenter.php
-
message: '#^Method App\\Presenters\\AssetPresenter\:\:eol_date\(\) should return string\|false but return statement is missing\.$#'
identifier: return.missing
count: 1
path: app/Presenters/AssetPresenter.php
-
message: '#^Using nullsafe property access "\?\-\>tag_color" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: app/Presenters/AssetPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\CategoryPresenter\:\:\$deleted_at\.$#'
identifier: property.notFound
count: 2
path: app/Presenters/CategoryPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\CategoryPresenter\:\:\$display_name\.$#'
identifier: property.notFound
count: 3
path: app/Presenters/CategoryPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\CategoryPresenter\:\:\$id\.$#'
identifier: property.notFound
count: 3
path: app/Presenters/CategoryPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\CategoryPresenter\:\:\$name\.$#'
identifier: property.notFound
count: 1
path: app/Presenters/CategoryPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\CategoryPresenter\:\:\$tag_color\.$#'
identifier: property.notFound
count: 2
path: app/Presenters/CategoryPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\CompanyPresenter\:\:\$display_name\.$#'
identifier: property.notFound
count: 4
path: app/Presenters/CompanyPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\CompanyPresenter\:\:\$id\.$#'
identifier: property.notFound
count: 3
path: app/Presenters/CompanyPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\CompanyPresenter\:\:\$tag_color\.$#'
identifier: property.notFound
count: 2
path: app/Presenters/CompanyPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\ComponentPresenter\:\:\$display_name\.$#'
identifier: property.notFound
count: 2
path: app/Presenters/ComponentPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\ComponentPresenter\:\:\$id\.$#'
identifier: property.notFound
count: 2
path: app/Presenters/ComponentPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\ConsumablePresenter\:\:\$id\.$#'
identifier: property.notFound
count: 2
path: app/Presenters/ConsumablePresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\ConsumablePresenter\:\:\$name\.$#'
identifier: property.notFound
count: 1
path: app/Presenters/ConsumablePresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\CustomFieldsetPresenter\:\:\$display_name\.$#'
identifier: property.notFound
count: 2
path: app/Presenters/CustomFieldsetPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\CustomFieldsetPresenter\:\:\$id\.$#'
identifier: property.notFound
count: 1
path: app/Presenters/CustomFieldsetPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\DepartmentPresenter\:\:\$display_name\.$#'
identifier: property.notFound
count: 4
path: app/Presenters/DepartmentPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\DepartmentPresenter\:\:\$id\.$#'
identifier: property.notFound
count: 3
path: app/Presenters/DepartmentPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\DepartmentPresenter\:\:\$name\.$#'
identifier: property.notFound
count: 2
path: app/Presenters/DepartmentPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\DepartmentPresenter\:\:\$tag_color\.$#'
identifier: property.notFound
count: 2
path: app/Presenters/DepartmentPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\DepreciationPresenter\:\:\$display_name\.$#'
identifier: property.notFound
count: 3
path: app/Presenters/DepreciationPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\DepreciationPresenter\:\:\$id\.$#'
identifier: property.notFound
count: 1
path: app/Presenters/DepreciationPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\DepreciationPresenter\:\:\$tag_color\.$#'
identifier: property.notFound
count: 1
path: app/Presenters/DepreciationPresenter.php
-
message: '#^Access to an undefined property \$this\(App\\Presenters\\DepreciationReportPresenter\)\:\:\$name\.$#'
identifier: property.notFound
count: 1
path: app/Presenters/DepreciationReportPresenter.php
-
message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$asset_tag\.$#'
identifier: property.notFound
count: 1
path: app/Presenters/DepreciationReportPresenter.php
-
message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$assigned\.$#'
identifier: property.notFound
count: 3
path: app/Presenters/DepreciationReportPresenter.php
-
message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$model\.$#'
identifier: property.notFound
count: 3
path: app/Presenters/DepreciationReportPresenter.php
-
message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$name\.$#'
identifier: property.notFound
count: 2
path: app/Presenters/DepreciationReportPresenter.php
-
message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$status\.$#'
identifier: property.notFound
count: 4
path: app/Presenters/DepreciationReportPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\DepreciationReportPresenter\:\:\$asset_tag\.$#'
identifier: property.notFound
count: 1
path: app/Presenters/DepreciationReportPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\DepreciationReportPresenter\:\:\$display_name\.$#'
identifier: property.notFound
count: 2
path: app/Presenters/DepreciationReportPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\DepreciationReportPresenter\:\:\$fullName\.$#'
identifier: property.notFound
count: 1
path: app/Presenters/DepreciationReportPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\DepreciationReportPresenter\:\:\$id\.$#'
identifier: property.notFound
count: 2
path: app/Presenters/DepreciationReportPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\DepreciationReportPresenter\:\:\$image\.$#'
identifier: property.notFound
count: 2
path: app/Presenters/DepreciationReportPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\DepreciationReportPresenter\:\:\$purchase_date\.$#'
identifier: property.notFound
count: 2
path: app/Presenters/DepreciationReportPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\DepreciationReportPresenter\:\:\$status\.$#'
identifier: property.notFound
count: 1
path: app/Presenters/DepreciationReportPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\DepreciationReportPresenter\:\:\$warranty_months\.$#'
identifier: property.notFound
count: 1
path: app/Presenters/DepreciationReportPresenter.php
-
message: '#^Method App\\Presenters\\DepreciationReportPresenter\:\:eol_date\(\) should return string\|false but return statement is missing\.$#'
identifier: return.missing
count: 1
path: app/Presenters/DepreciationReportPresenter.php
-
message: '#^Variable \$imageAlt might not be defined\.$#'
identifier: variable.undefined
count: 1
path: app/Presenters/DepreciationReportPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\GroupPresenter\:\:\$display_name\.$#'
identifier: property.notFound
count: 2
path: app/Presenters/GroupPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\GroupPresenter\:\:\$id\.$#'
identifier: property.notFound
count: 1
path: app/Presenters/GroupPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\LicensePresenter\:\:\$display_name\.$#'
identifier: property.notFound
count: 2
path: app/Presenters/LicensePresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\LicensePresenter\:\:\$id\.$#'
identifier: property.notFound
count: 2
path: app/Presenters/LicensePresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\LicensePresenter\:\:\$name\.$#'
identifier: property.notFound
count: 1
path: app/Presenters/LicensePresenter.php
-
message: '#^Using nullsafe property access "\?\-\>tag_color" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 2
path: app/Presenters/LicensePresenter.php
-
message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$license\.$#'
identifier: property.notFound
count: 1
path: app/Presenters/LicenseSeatPresenter.php
-
message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$name\.$#'
identifier: property.notFound
count: 1
path: app/Presenters/LocationPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\LocationPresenter\:\:\$display_name\.$#'
identifier: property.notFound
count: 4
path: app/Presenters/LocationPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\LocationPresenter\:\:\$id\.$#'
identifier: property.notFound
count: 3
path: app/Presenters/LocationPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\LocationPresenter\:\:\$name\.$#'
identifier: property.notFound
count: 1
path: app/Presenters/LocationPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\LocationPresenter\:\:\$tag_color\.$#'
identifier: property.notFound
count: 2
path: app/Presenters/LocationPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\ManufacturerPresenter\:\:\$display_name\.$#'
identifier: property.notFound
count: 4
path: app/Presenters/ManufacturerPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\ManufacturerPresenter\:\:\$id\.$#'
identifier: property.notFound
count: 3
path: app/Presenters/ManufacturerPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\ManufacturerPresenter\:\:\$tag_color\.$#'
identifier: property.notFound
count: 2
path: app/Presenters/ManufacturerPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\PredefinedKitPresenter\:\:\$display_name\.$#'
identifier: property.notFound
count: 2
path: app/Presenters/PredefinedKitPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\PredefinedKitPresenter\:\:\$id\.$#'
identifier: property.notFound
count: 2
path: app/Presenters/PredefinedKitPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\PredefinedKitPresenter\:\:\$name\.$#'
identifier: property.notFound
count: 1
path: app/Presenters/PredefinedKitPresenter.php
-
message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$address\.$#'
identifier: property.notFound
count: 1
path: app/Presenters/Presenter.php
-
message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$address2\.$#'
identifier: property.notFound
count: 1
path: app/Presenters/Presenter.php
-
message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$city\.$#'
identifier: property.notFound
count: 1
path: app/Presenters/Presenter.php
-
message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$company\.$#'
identifier: property.notFound
count: 1
path: app/Presenters/Presenter.php
-
message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$country\.$#'
identifier: property.notFound
count: 1
path: app/Presenters/Presenter.php
-
message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$location\.$#'
identifier: property.notFound
count: 1
path: app/Presenters/Presenter.php
-
message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$model\.$#'
identifier: property.notFound
count: 4
path: app/Presenters/Presenter.php
-
message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$state\.$#'
identifier: property.notFound
count: 1
path: app/Presenters/Presenter.php
-
message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$zip\.$#'
identifier: property.notFound
count: 1
path: app/Presenters/Presenter.php
-
message: '#^Access to an undefined property App\\Presenters\\Presenter\:\:\$model_name\.$#'
identifier: property.notFound
count: 1
path: app/Presenters/Presenter.php
-
message: '#^Access to an undefined property App\\Presenters\\Presenter\:\:\$model_number\.$#'
identifier: property.notFound
count: 1
path: app/Presenters/Presenter.php
-
message: '#^Access to an undefined property App\\Presenters\\Presenter\:\:\$serial\.$#'
identifier: property.notFound
count: 1
path: app/Presenters/Presenter.php
-
message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$name\.$#'
identifier: property.notFound
count: 1
path: app/Presenters/SupplierPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\SupplierPresenter\:\:\$display_name\.$#'
identifier: property.notFound
count: 4
path: app/Presenters/SupplierPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\SupplierPresenter\:\:\$id\.$#'
identifier: property.notFound
count: 3
path: app/Presenters/SupplierPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\SupplierPresenter\:\:\$name\.$#'
identifier: property.notFound
count: 3
path: app/Presenters/SupplierPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\SupplierPresenter\:\:\$tag_color\.$#'
identifier: property.notFound
count: 2
path: app/Presenters/SupplierPresenter.php
-
message: '#^Access to an undefined property App\\Models\\Company\:\:\$color\.$#'
identifier: property.notFound
count: 1
path: app/Presenters/UserPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\UserPresenter\:\:\$avatar\.$#'
identifier: property.notFound
count: 3
path: app/Presenters/UserPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\UserPresenter\:\:\$deleted_at\.$#'
identifier: property.notFound
count: 2
path: app/Presenters/UserPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\UserPresenter\:\:\$display_name\.$#'
identifier: property.notFound
count: 5
path: app/Presenters/UserPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\UserPresenter\:\:\$email\.$#'
identifier: property.notFound
count: 2
path: app/Presenters/UserPresenter.php
-
message: '#^Access to an undefined property App\\Presenters\\UserPresenter\:\:\$id\.$#'
identifier: property.notFound
count: 3
path: app/Presenters/UserPresenter.php
-
message: '#^Call to an undefined method App\\Presenters\\UserPresenter\:\:isAvatarExternal\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Presenters/UserPresenter.php
-
message: '#^Loose comparison using \=\= between ''''\|null and '''' will always evaluate to true\.$#'
identifier: equal.alwaysTrue
count: 1
path: app/Presenters/UserPresenter.php
-
message: '#^Method App\\Presenters\\UserPresenter\:\:gravatar\(\) should return string but returns false\.$#'
identifier: return.type
count: 1
path: app/Presenters/UserPresenter.php
-
message: '#^Using nullsafe property access "\?\-\>tag_color" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: app/Presenters/UserPresenter.php
-
message: '#^Right side of \|\| is always false\.$#'
identifier: booleanOr.rightAlwaysFalse
count: 1
path: app/Providers/AuthServiceProvider.php
-
message: '#^Cannot access property \$component_id on array\<mixed\>\|object\.$#'
identifier: property.nonObject
count: 1
path: app/Providers/BreadcrumbsServiceProvider.php
-
message: '#^Call to function is_array\(\) with mixed will always evaluate to false\.$#'
identifier: function.impossibleType
count: 1
path: app/Providers/ValidationServiceProvider.php
-
message: '#^Using nullsafe property access "\?\-\>name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 5
path: app/Providers/ValidationServiceProvider.php
-
message: '#^Call to function is_null\(\) with App\\Models\\User will always evaluate to false\.$#'
identifier: function.impossibleType
count: 1
path: app/Services/PredefinedKitCheckoutService.php
-
message: '#^Using nullsafe property access "\?\-\>name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 4
path: app/Services/PredefinedKitCheckoutService.php
-
message: '#^Method App\\Services\\Saml\:\:saveDataToSession\(\) with return type void returns null but should not return anything\.$#'
identifier: return.void
count: 1
path: app/Services/Saml.php
-
message: '#^PHPDoc tag @throws with type App\\Services\\Error\|Exception is not subtype of Throwable$#'
identifier: throws.notThrowable
count: 1
path: app/Services/Saml.php
-
message: '#^Using nullsafe property access "\?\-\>name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: app/SyncAdapters/MappingTargets.php
-
message: '#^Strict comparison using \=\=\= between non\-empty\-string and null will always evaluate to false\.$#'
identifier: identical.alwaysFalse
count: 1
path: app/SyncAdapters/MerakiSystemsManager/MerakiClient.php
-
message: '#^Property App\\Models\\IdeHelperAsset\:\:\$byod \(int\|null\) does not accept bool\.$#'
identifier: assign.propertyType
count: 1
path: app/SyncAdapters/SyncAdapter.php
-
message: '#^Property App\\Models\\IdeHelperAsset\:\:\$purchase_date \(Illuminate\\Support\\Carbon\|null\) does not accept string\.$#'
identifier: assign.propertyType
count: 1
path: app/SyncAdapters/SyncAdapter.php
-
message: '#^Expression on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.expr
count: 2
path: app/View/Label.php
-
message: '#^Method App\\View\\Label\:\:getData\(\) should return array but returns Illuminate\\Support\\Collection\.$#'
identifier: return.type
count: 1
path: app/View/Label.php
-
message: '#^Method App\\View\\Label\:\:render\(\) should return string but return statement is missing\.$#'
identifier: return.missing
count: 1
path: app/View/Label.php
-
message: '#^Class App\\User not found\.$#'
identifier: class.notFound
count: 1
path: config/services.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$category\.$#'
identifier: property.notFound
count: 2
path: database/factories/AccessoryFactory.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#'
identifier: property.notFound
count: 3
path: database/factories/AccessoryFactory.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$order\.$#'
identifier: property.notFound
count: 1
path: database/factories/AccessoryFactory.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$price\.$#'
identifier: property.notFound
count: 1
path: database/factories/AccessoryFactory.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:checkouts\(\)\.$#'
identifier: method.notFound
count: 1
path: database/factories/AccessoryFactory.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#'
identifier: property.notFound
count: 2
path: database/factories/ActionlogFactory.php
-
message: '#^Using nullsafe property access "\?\-\>id" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: database/factories/ActionlogFactory.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#'
identifier: property.notFound
count: 2
path: database/factories/AssetFactory.php
-
message: '#^Using nullsafe property access "\?\-\>eol" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: database/factories/AssetFactory.php
-
message: '#^Call to an undefined method Faker\\Generator\:\:catchPhrase\(\)\.$#'
identifier: method.notFound
count: 1
path: database/factories/AssetModelFactory.php
-
message: '#^Call to an undefined method Faker\\Generator\:\:catchPhrase\(\)\.$#'
identifier: method.notFound
count: 1
path: database/factories/CategoryFactory.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:assetlog\(\)\.$#'
identifier: method.notFound
count: 1
path: database/factories/CheckoutAcceptanceFactory.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#'
identifier: property.notFound
count: 5
path: database/factories/ComponentFactory.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$order\.$#'
identifier: property.notFound
count: 1
path: database/factories/ComponentFactory.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$price\.$#'
identifier: property.notFound
count: 1
path: database/factories/ComponentFactory.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$order\.$#'
identifier: property.notFound
count: 1
path: database/factories/ConsumableFactory.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$price\.$#'
identifier: property.notFound
count: 1
path: database/factories/ConsumableFactory.php
-
message: '#^Call to an undefined method Faker\\Generator\:\:catchPhrase\(\)\.$#'
identifier: method.notFound
count: 1
path: database/factories/CustomFieldFactory.php
-
message: '#^Call to an undefined method Faker\\Generator\:\:catchPhrase\(\)\.$#'
identifier: method.notFound
count: 1
path: database/factories/CustomFieldsetFactory.php
-
message: '#^Call to an undefined method Faker\\Generator\:\:catchPhrase\(\)\.$#'
identifier: method.notFound
count: 1
path: database/factories/DepreciationFactory.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$license\.$#'
identifier: property.notFound
count: 1
path: database/factories/LicenseSeatFactory.php
-
message: '#^Call to an undefined method Faker\\Generator\:\:secondaryAddress\(\)\.$#'
identifier: method.notFound
count: 1
path: database/factories/LocationFactory.php
-
message: '#^Call to an undefined method Faker\\Generator\:\:stateAbbr\(\)\.$#'
identifier: method.notFound
count: 1
path: database/factories/LocationFactory.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#'
identifier: property.notFound
count: 1
path: database/factories/MaintenanceFactory.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$name\.$#'
identifier: property.notFound
count: 1
path: database/factories/MaintenanceFactory.php
-
message: '#^Call to an undefined method Faker\\Generator\:\:postCode\(\)\.$#'
identifier: method.notFound
count: 1
path: database/factories/SupplierFactory.php
-
message: '#^Call to an undefined method Faker\\Generator\:\:secondaryAddress\(\)\.$#'
identifier: method.notFound
count: 1
path: database/factories/SupplierFactory.php
-
message: '#^Call to an undefined method Faker\\Generator\:\:stateAbbr\(\)\.$#'
identifier: method.notFound
count: 1
path: database/factories/SupplierFactory.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#'
identifier: property.notFound
count: 1
path: database/factories/UserFactory.php
-
message: '#^Call to an undefined method Faker\\Generator\:\:stateAbbr\(\)\.$#'
identifier: method.notFound
count: 1
path: database/factories/UserFactory.php
-
message: '#^Call to an undefined method Faker\\Generator\:\:username\(\)\.$#'
identifier: method.notFound
count: 1
path: database/factories/UserFactory.php
-
message: '#^Variable \$pending_id might not be defined\.$#'
identifier: variable.undefined
count: 1
path: database/migrations/2015_02_10_053310_migrate_data_to_new_statuses.php
-
message: '#^Variable \$rtd_id might not be defined\.$#'
identifier: variable.undefined
count: 1
path: database/migrations/2015_02_10_053310_migrate_data_to_new_statuses.php
-
message: '#^Property AddThreadIdToAssetLogsTable\:\:\$actionlog has unknown class Actionlog as its type\.$#'
identifier: class.notFound
count: 1
path: database/migrations/2015_07_29_230054_add_thread_id_to_asset_logs_table.php
-
message: '#^Property AddThreadIdToAssetLogsTable\:\:\$actionlog is unused\.$#'
identifier: property.unused
count: 1
path: database/migrations/2015_07_29_230054_add_thread_id_to_asset_logs_table.php
-
message: '#^Property AddThreadIdToAssetLogsTable\:\:\$currentAssetId \(int\) does not accept null\.$#'
identifier: assign.propertyType
count: 1
path: database/migrations/2015_07_29_230054_add_thread_id_to_asset_logs_table.php
-
message: '#^Property AddThreadIdToAssetLogsTable\:\:\$currentAssetLogId \(int\) does not accept null\.$#'
identifier: assign.propertyType
count: 1
path: database/migrations/2015_07_29_230054_add_thread_id_to_asset_logs_table.php
-
message: '#^Property App\\Models\\IdeHelperSetting\:\:\$ldap_enabled \(string\|null\) does not accept int\.$#'
identifier: assign.propertyType
count: 1
path: database/migrations/2015_11_26_195528_import_ldap_settings.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$company_id\.$#'
identifier: property.notFound
count: 1
path: database/migrations/2016_09_28_231359_add_company_to_logs.php
-
message: '#^If condition is always true\.$#'
identifier: if.alwaysTrue
count: 1
path: database/migrations/2016_09_28_231359_add_company_to_logs.php
-
message: '#^Method MakeAssetAssignedToPolymorphic\:\:down\(\) has invalid return type voidatom\.$#'
identifier: class.notFound
count: 1
path: database/migrations/2016_12_27_212631_make_asset_assigned_to_polymorphic.php
-
message: '#^Method MakeAssetAssignedToPolymorphic\:\:down\(\) should return voidatom but return statement is missing\.$#'
identifier: return.missing
count: 1
path: database/migrations/2016_12_27_212631_make_asset_assigned_to_polymorphic.php
-
message: '#^Function updateLegacyColumnName\(\) should return array but return statement is missing\.$#'
identifier: return.missing
count: 1
path: database/migrations/2017_01_25_063357_fix_utf8_custom_field_column_names.php
-
message: '#^Function updateLegacyColumnName\(\) should return array but returns null\.$#'
identifier: return.type
count: 1
path: database/migrations/2017_01_25_063357_fix_utf8_custom_field_column_names.php
-
message: '#^Result of static method Illuminate\\Support\\Facades\\Schema\:\:table\(\) \(void\) is used\.$#'
identifier: staticMethod.void
count: 1
path: database/migrations/2017_01_25_063357_fix_utf8_custom_field_column_names.php
-
message: '#^If condition is always true\.$#'
identifier: if.alwaysTrue
count: 1
path: database/migrations/2017_12_26_170856_re_normalize_last_audit.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Schema\\IndexDefinition\:\:unique\(\)\.$#'
identifier: method.notFound
count: 1
path: database/migrations/2018_03_29_070121_add_drop_unique_requests.php
-
message: '#^Method Illuminate\\Database\\Schema\\Blueprint\:\:text\(\) invoked with 2 parameters, 1 required\.$#'
identifier: arguments.count
count: 2
path: database/migrations/2021_12_27_151849_change_supplier_address_length.php
-
message: '#^Access to an undefined property App\\Models\\Actionlog\:\:\$stored_eula_file\.$#'
identifier: property.notFound
count: 1
path: database/migrations/2022_05_16_235350_remove_stored_eula_field.php
-
message: '#^Method DenormalizedEolAndAddColumnForExplicitDateToAssets\:\:eolUpdateExpression\(\) should return Illuminate\\Database\\Query\\Expression but returns Illuminate\\Contracts\\Database\\Query\\Expression\.$#'
identifier: return.type
count: 3
path: database/migrations/2023_07_13_052204_denormalized_eol_and_add_column_for_explicit_date_to_assets.php
-
message: '#^Variable \$months might not be defined\.$#'
identifier: variable.undefined
count: 1
path: database/migrations/2023_07_13_052204_denormalized_eol_and_add_column_for_explicit_date_to_assets.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Schema\\ColumnDefinition\:\:before\(\)\.$#'
identifier: method.notFound
count: 1
path: database/migrations/2024_09_17_204302_change_user_id_to_created_by.php
-
message: '#^Using nullsafe method call on non\-nullable type Illuminate\\Console\\Command\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: database/seeders/ActionlogSeeder.php
-
message: '#^Access to an undefined property Database\\Seeders\\AssetSeeder\:\:\$adminuser\.$#'
identifier: property.notFound
count: 2
path: database/seeders/AssetSeeder.php
-
message: '#^Property Database\\Seeders\\AssetSeeder\:\:\$admin is unused\.$#'
identifier: property.unused
count: 1
path: database/seeders/AssetSeeder.php
-
message: '#^Using nullsafe method call on non\-nullable type Illuminate\\Console\\Command\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: database/seeders/AssetSeeder.php
-
message: '#^Using nullsafe method call on non\-nullable type Illuminate\\Console\\Command\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: database/seeders/DatabaseSeeder.php
-
message: '#^Using nullsafe method call on non\-nullable type Illuminate\\Console\\Command\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 2
path: database/seeders/ImportSeeder.php
-
message: '#^Property App\\Models\\IdeHelperSetting\:\:\$is_ad \(int\) does not accept false\.$#'
identifier: assign.propertyType
count: 1
path: database/seeders/SettingsSeeder.php
-
message: '#^Property App\\Models\\IdeHelperSetting\:\:\$ldap_server_cert_ignore \(int\) does not accept false\.$#'
identifier: assign.propertyType
count: 1
path: database/seeders/SettingsSeeder.php
-
message: '#^Property App\\Models\\IdeHelperSetting\:\:\$ldap_tls \(int\) does not accept false\.$#'
identifier: assign.propertyType
count: 1
path: database/seeders/SettingsSeeder.php
-
message: '#^Property App\\Models\\IdeHelperSetting\:\:\$pwd_secure_min \(int\) does not accept string\.$#'
identifier: assign.propertyType
count: 1
path: database/seeders/SettingsSeeder.php
-
message: '#^Property App\\Models\\IdeHelperSetting\:\:\$thumbnail_max_h \(int\|null\) does not accept string\.$#'
identifier: assign.propertyType
count: 1
path: database/seeders/SettingsSeeder.php
-
message: '#^Using nullsafe method call on non\-nullable type Illuminate\\Console\\Command\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: database/seeders/UserSeeder.php