Skip to content

A free open source IT asset/license management system

Updated baseline

snipe83fd28fbd828
diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon
index 04f64537da..c562d15c5a 100644
--- a/phpstan-baseline.neon
+++ b/phpstan-baseline.neon
@@ -3696,6 +3696,12 @@ parameters:
count: 1
path: app/Http/Transformers/AssetsTransformer.php
+ -
+ message: '#^Access to an undefined property App\\Models\\Asset\:\:\$externalSource\.$#'
+ identifier: property.notFound
+ count: 5
+ path: app/Http/Transformers/AssetsTransformer.php
+
-
message: '#^Access to an undefined property App\\Models\\Setting\:\:\$alt_barcode\.$#'
identifier: property.notFound
@@ -9720,6 +9726,24 @@ parameters:
count: 1
path: app/Services/Saml.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: '#^Using nullsafe property access "\?\-\>name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
+ identifier: nullsafe.neverNull
+ count: 1
+ path: app/SyncAdapters/Support/MappingTargets.php
+
+ -
+ message: '#^Access to an undefined property App\\Models\\Actionlog\:\:\$created_by\.$#'
+ identifier: property.notFound
+ count: 3
+ path: app/SyncAdapters/SyncHostFromAdapter.php
+
-
message: '#^Expression on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.expr