Skip to content

A free open source IT asset/license management system

Updated phpstan baseline

snipedb2cfe6cfd9d
diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon
index 6ca560d5a3..1d73da8459 100644
--- a/phpstan-baseline.neon
+++ b/phpstan-baseline.neon
@@ -8041,11 +8041,17 @@ parameters:
path: app/Models/Labels/Tapes/Generic/Tape_53mm.php
-
- message: '#^Access to an undefined property App\\Models\\Setting\:\:\$ldap_phone\.$#'
+ message: '#^Access to an undefined property App\\Models\\User\:\:\$display_name\.$#'
identifier: property.notFound
count: 1
path: app/Models/Ldap.php
+ -
+ message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:attach\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: app/Models/Ldap.php
+
-
message: '#^Called ''env'' outside of the config directory which returns null when the config is cached, use ''config''\.$#'
identifier: larastan.noEnvCallsOutsideOfConfig