Skip to content

A free open source IT asset/license management system

Updated baseline

snipe5b1900875973
diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon
index ec8a54208f..deb8957662 100644
--- a/phpstan-baseline.neon
+++ b/phpstan-baseline.neon
@@ -1482,6 +1482,12 @@ parameters:
count: 2
path: app/Http/Controllers/Api/ImportController.php
+ -
+ message: '#^Instanceof between Illuminate\\Http\\UploadedFile and Illuminate\\Http\\UploadedFile will always evaluate to true\.$#'
+ identifier: instanceof.alwaysTrue
+ count: 1
+ path: app/Http/Controllers/Api/ImportController.php
+
-
message: '#^PHPDoc tag @param references unknown parameter\: \$request$#'
identifier: parameter.notFound
@@ -7374,24 +7380,12 @@ parameters:
count: 1
path: app/Models/Ldap.php
- -
- message: '#^Method App\\Models\\Ldap\:\:bindAdminToLdap\(\) should return bool but return statement is missing\.$#'
- identifier: return.missing
- count: 3
- path: app/Models/Ldap.php
-
-
message: '#^Method App\\Models\\Ldap\:\:findLdapUsers\(\) should return array\|bool but returns Illuminate\\Http\\RedirectResponse\.$#'
identifier: return.type
count: 2
path: app/Models/Ldap.php
- -
- message: '#^PHPDoc tag @param references unknown parameter\: \$user$#'
- identifier: parameter.notFound
- count: 1
- path: app/Models/Ldap.php
-
-
message: '#^Property App\\Models\\User\:\:\$activated \(bool\) does not accept int\.$#'
identifier: assign.propertyType