Skip to content

A free open source IT asset/license management system

Updated baseline

snipe83ab985b0ad5
diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon
index 7f01a318fa..9b9e7678fe 100644
--- a/phpstan-baseline.neon
+++ b/phpstan-baseline.neon
@@ -1,5 +1,11 @@
parameters:
ignoreErrors:
+ -
+ message: '#^Access to an undefined property App\\Models\\Actionlog\:\:\$created_by\.$#'
+ identifier: property.notFound
+ count: 1
+ path: app/Actions/CheckoutRequests/CreateCheckoutRequestAction.php
+
-
message: '#^Access to an undefined property App\\Models\\Company\:\:\$accessories_count\.$#'
identifier: property.notFound
@@ -3864,6 +3870,12 @@ parameters:
count: 1
path: app/Http/Controllers/Users/UsersController.php
+ -
+ message: '#^Access to an undefined property App\\Models\\Actionlog\:\:\$created_by\.$#'
+ identifier: property.notFound
+ count: 1
+ path: app/Http/Controllers/ViewAssetsController.php
+
-
message: '#^PHPDoc tag @param references unknown parameter\: \$assetId$#'
identifier: parameter.notFound
@@ -4176,36 +4188,12 @@ parameters:
count: 2
path: app/Http/Transformers/LocationsTransformer.php
- -
- message: '#^Access to an undefined property App\\Models\\Asset\:\:\$assigned\.$#'
- identifier: property.notFound
- count: 1
- path: app/Http/Transformers/MaintenancesTransformer.php
-
-
message: '#^Access to an undefined property App\\Models\\Maintenance\:\:\$checkedOutTo\.$#'
identifier: property.notFound
count: 1
path: app/Http/Transformers/MaintenancesTransformer.php
- -
- message: '#^Using nullsafe property access on non\-nullable type App\\Models\\Asset\. Use \-\> instead\.$#'
- identifier: nullsafe.neverNull
- count: 4
- path: app/Http/Transformers/MaintenancesTransformer.php
-
- -
- message: '#^Using nullsafe property access on non\-nullable type App\\Models\\Supplier\. Use \-\> instead\.$#'
- identifier: nullsafe.neverNull
- count: 1
- path: app/Http/Transformers/MaintenancesTransformer.php
-
- -
- message: '#^Using nullsafe property access on non\-nullable type mixed\. Use \-\> instead\.$#'
- identifier: nullsafe.neverNull
- count: 3
- path: app/Http/Transformers/MaintenancesTransformer.php
-
-
message: '#^Access to an undefined property App\\Models\\Manufacturer\:\:\$accessories_count\.$#'
identifier: property.notFound