A free open source IT asset/license management system
Updated baseline
snipe30561cbd7904
diff --git a/app/SyncAdapters/SyncAdapter.php b/app/SyncAdapters/SyncAdapter.phpindex 1abfde4074..dfa22a4486 100644--- a/app/SyncAdapters/SyncAdapter.php+++ b/app/SyncAdapters/SyncAdapter.php@@ -952,7 +952,7 @@ abstract class SyncAdapter* shape) branch into nested payload structures rather than* writing a literal key with a dot in it.*- * @param array<string, mixed> $payload+ * @param array<mixed> $payload* @param array<int, string> $touched*/public function applyComposedNotesToPayload(Asset $asset, array &$payload, array &$touched = []): booldiff --git a/phpstan-baseline.neon b/phpstan-baseline.neonindex 0912de2e20..a66b6d1133 100644--- a/phpstan-baseline.neon+++ b/phpstan-baseline.neon@@ -8154,6 +8154,12 @@ parameters:count: 1path: 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\\Actionlog\:\:\$created_by\.$#'identifier: property.notFound@@ -9744,35 +9750,35 @@ parameters:count: 1path: app/SyncAdapters/MerakiSystemsManager/MerakiClient.php+ -+ message: '#^Access to an undefined property App\\Models\\Actionlog\:\:\$created_by\.$#'+ identifier: property.notFound+ count: 3+ path: app/SyncAdapters/SyncAdapter.php+-message: '#^Using nullsafe property access "\?\-\>email" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'identifier: nullsafe.neverNullcount: 1- path: app/SyncAdapters/NotesComposer.php+ path: app/SyncAdapters/SyncAdapter.php-message: '#^Using nullsafe property access "\?\-\>model_number" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'identifier: nullsafe.neverNullcount: 1- path: app/SyncAdapters/NotesComposer.php+ path: app/SyncAdapters/SyncAdapter.php-message: '#^Using nullsafe property access "\?\-\>name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'identifier: nullsafe.neverNullcount: 7- path: app/SyncAdapters/NotesComposer.php+ path: app/SyncAdapters/SyncAdapter.php-message: '#^Using nullsafe property access "\?\-\>username" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'identifier: nullsafe.neverNullcount: 1- path: app/SyncAdapters/NotesComposer.php-- -- message: '#^Access to an undefined property App\\Models\\Actionlog\:\:\$created_by\.$#'- identifier: property.notFound- count: 3- path: app/SyncAdapters/SyncHostFromAdapter.php+ path: app/SyncAdapters/SyncAdapter.php-message: '#^Expression on left side of \?\? is not nullable\.$#'