Skip to content

A free open source IT asset/license management system

Updated baseline

snipec12b695f1b70
diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon
index 1d73da8459..85e74f864a 100644
--- a/phpstan-baseline.neon
+++ b/phpstan-baseline.neon
@@ -306,24 +306,12 @@ parameters:
count: 1
path: app/Console/Commands/LdapSync.php
- -
- message: '#^Access to an undefined property App\\Models\\User\:\:\$display_name\.$#'
- 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 array_key_exists\(\) with ''id'' and \*NEVER\* will always evaluate to true\.$#'
- identifier: function.alreadyNarrowedType
- 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
@@ -351,7 +339,7 @@ parameters:
-
message: '#^Result of && is always false\.$#'
identifier: booleanAnd.alwaysFalse
- count: 2
+ count: 1
path: app/Console/Commands/LdapSync.php
-
@@ -360,12 +348,6 @@ parameters:
count: 2
path: app/Console/Commands/LdapSync.php
- -
- message: '#^Variable \$location in empty\(\) always exists and is not falsy\.$#'
- identifier: empty.variable
- count: 1
- path: app/Console/Commands/LdapSync.php
-
-
message: '#^Access to an undefined property App\\Console\\Commands\\LdapTroubleshooter\:\:\$settings\.$#'
identifier: property.notFound