Skip to content

A free open source IT asset/license management system

Updated baseline

snipe7c2087abe702
diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon
index 0028aca939..1af97761f0 100644
--- a/phpstan-baseline.neon
+++ b/phpstan-baseline.neon
@@ -4386,12 +4386,6 @@ parameters:
count: 1
path: app/Importer/AccessoryImporter.php
- -
- message: '#^PHPDoc tag @SuppressWarnings has invalid value \(\(PHPMD\.UnusedFormalParameter\)\)\: Unexpected token "\.UnusedFormalParameter\)", expected ''\)'' at offset 166 on line 5$#'
- identifier: phpDoc.parseError
- count: 1
- path: app/Importer/AccessoryImporter.php
-
-
message: '#^Using nullsafe property access "\?\-\>name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
@@ -4428,12 +4422,6 @@ parameters:
count: 1
path: app/Importer/AssetImporter.php
- -
- message: '#^PHPDoc tag @SuppressWarnings has invalid value \(\(PHPMD\.UnusedFormalParameter\)\)\: Unexpected token "\.UnusedFormalParameter\)", expected ''\)'' at offset 353 on line 7$#'
- identifier: phpDoc.parseError
- count: 1
- path: app/Importer/AssetImporter.php
-
-
message: '#^Strict comparison using \!\=\= between int and null will always evaluate to true\.$#'
identifier: notIdentical.alwaysTrue
@@ -4458,12 +4446,6 @@ parameters:
count: 1
path: app/Importer/AssetModelImporter.php
- -
- message: '#^PHPDoc tag @SuppressWarnings has invalid value \(\(PHPMD\.UnusedFormalParameter\)\)\: Unexpected token "\.UnusedFormalParameter\)", expected ''\)'' at offset 166 on line 5$#'
- identifier: phpDoc.parseError
- count: 1
- path: app/Importer/AssetModelImporter.php
-
-
message: '#^Access to an undefined property App\\Models\\Category\:\:\$created_by\.$#'
identifier: property.notFound
@@ -4476,12 +4458,6 @@ parameters:
count: 1
path: app/Importer/CategoryImporter.php
- -
- message: '#^PHPDoc tag @SuppressWarnings has invalid value \(\(PHPMD\.UnusedFormalParameter\)\)\: Unexpected token "\.UnusedFormalParameter\)", expected ''\)'' at offset 166 on line 5$#'
- identifier: phpDoc.parseError
- count: 1
- path: app/Importer/CategoryImporter.php
-
-
message: '#^Access to an undefined property App\\Models\\Component\:\:\$created_by\.$#'
identifier: property.notFound
@@ -4494,12 +4470,6 @@ parameters:
count: 1
path: app/Importer/ComponentImporter.php
- -
- message: '#^PHPDoc tag @SuppressWarnings has invalid value \(\(PHPMD\.UnusedFormalParameter\)\)\: Unexpected token "\.UnusedFormalParameter\)", expected ''\)'' at offset 166 on line 5$#'
- identifier: phpDoc.parseError
- count: 1
- path: app/Importer/ComponentImporter.php
-
-
message: '#^Using nullsafe property access "\?\-\>name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
@@ -4518,12 +4488,6 @@ parameters:
count: 1
path: app/Importer/ConsumableImporter.php
- -
- message: '#^PHPDoc tag @SuppressWarnings has invalid value \(\(PHPMD\.UnusedFormalParameter\)\)\: Unexpected token "\.UnusedFormalParameter\)", expected ''\)'' at offset 166 on line 5$#'
- identifier: phpDoc.parseError
- count: 1
- path: app/Importer/ConsumableImporter.php
-
-
message: '#^Using nullsafe property access "\?\-\>name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
@@ -4788,12 +4752,6 @@ parameters:
count: 1
path: app/Importer/LicenseImporter.php
- -
- message: '#^PHPDoc tag @SuppressWarnings has invalid value \(\(PHPMD\.UnusedFormalParameter\)\)\: Unexpected token "\.UnusedFormalParameter\)", expected ''\)'' at offset 355 on line 7$#'
- identifier: phpDoc.parseError
- count: 1
- path: app/Importer/LicenseImporter.php
-
-
message: '#^Using nullsafe property access "\?\-\>name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
@@ -4818,12 +4776,6 @@ parameters:
count: 1
path: app/Importer/LocationImporter.php
- -
- message: '#^PHPDoc tag @SuppressWarnings has invalid value \(\(PHPMD\.UnusedFormalParameter\)\)\: Unexpected token "\.UnusedFormalParameter\)", expected ''\)'' at offset 166 on line 5$#'
- identifier: phpDoc.parseError
- count: 1
- path: app/Importer/LocationImporter.php
-
-
message: '#^Access to an undefined property App\\Models\\Manufacturer\:\:\$created_by\.$#'
identifier: property.notFound
@@ -4836,12 +4788,6 @@ parameters:
count: 1
path: app/Importer/ManufacturerImporter.php
- -
- message: '#^PHPDoc tag @SuppressWarnings has invalid value \(\(PHPMD\.UnusedFormalParameter\)\)\: Unexpected token "\.UnusedFormalParameter\)", expected ''\)'' at offset 166 on line 5$#'
- identifier: phpDoc.parseError
- count: 1
- path: app/Importer/ManufacturerImporter.php
-
-
message: '#^Access to an undefined property App\\Models\\Supplier\:\:\$created_by\.$#'
identifier: property.notFound
@@ -4854,24 +4800,12 @@ parameters:
count: 1
path: app/Importer/SupplierImporter.php
- -
- message: '#^PHPDoc tag @SuppressWarnings has invalid value \(\(PHPMD\.UnusedFormalParameter\)\)\: Unexpected token "\.UnusedFormalParameter\)", expected ''\)'' at offset 166 on line 5$#'
- identifier: phpDoc.parseError
- count: 1
- path: app/Importer/SupplierImporter.php
-
-
message: '#^Expression on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.expr
count: 4
path: app/Importer/UserImporter.php
- -
- message: '#^PHPDoc tag @SuppressWarnings has invalid value \(\(PHPMD\.UnusedFormalParameter\)\)\: Unexpected token "\.UnusedFormalParameter\)", expected ''\)'' at offset 166 on line 5$#'
- identifier: phpDoc.parseError
- count: 1
- path: app/Importer/UserImporter.php
-
-
message: '#^Using nullsafe property access "\?\-\>name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull