From 70ffe8941cd166e7b2ddd819048ecb2798d7540b Mon Sep 17 00:00:00 2001 From: snipe Date: Thu, 6 Aug 2026 14:54:00 +0100 Subject: [PATCH] Added phpstan ruleset and baseline, added phpmd back --- .github/workflows/static-analysis.yml | 55 + .gitignore | 3 +- composer.json | 11 +- composer.lock | 311 +- phpmd-ruleset.xml | 47 + phpmd.baseline.xml | 115 + phpstan-baseline.neon | 12205 ++++++++++++++++++++++++ phpstan.neon.dist | 40 +- 8 files changed, 12780 insertions(+), 7 deletions(-) create mode 100644 .github/workflows/static-analysis.yml create mode 100644 phpmd-ruleset.xml create mode 100644 phpmd.baseline.xml create mode 100644 phpstan-baseline.neon diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml new file mode 100644 index 0000000000..8ca624c93d --- /dev/null +++ b/.github/workflows/static-analysis.yml @@ -0,0 +1,55 @@ +name: Static Analysis + +on: + push: + branches: + - master + - develop + pull_request: + +jobs: + analyse: + runs-on: ubuntu-latest + + strategy: + fail-fast: false + matrix: + php-version: + - "8.5" + + name: PHP ${{ matrix.php-version }} + + steps: + - uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # v2.37.2 + with: + php-version: "${{ matrix.php-version }}" + coverage: none + + - uses: actions/checkout@v7 + with: + persist-credentials: false + + - name: Get Composer Cache Directory + id: composer-cache + run: | + echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT + + - uses: actions/cache@v6 + with: + path: ${{ steps.composer-cache.outputs.dir }} + key: ${{ runner.os }}-${{ matrix.php-version }}-composer-${{ hashFiles('**/composer.lock') }} + restore-keys: | + ${{ runner.os }}-${{ matrix.php-version }}-composer- + + - name: Install Dependencies + run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist + + # PHPStan analyses types / dead code / undefined properties, PHPMD covers + # the classes PHPStan doesn't (unused parameters, unused locals). Both + # honor their baselines so this job only fails on NEW findings, not the + # 3400+ pre-existing ones inherited from before analyzer adoption. + - name: PHPStan + run: composer analyse:phpstan + + - name: PHPMD + run: composer analyse:phpmd diff --git a/.gitignore b/.gitignore index b6c7a85b65..4a1e904612 100755 --- a/.gitignore +++ b/.gitignore @@ -75,4 +75,5 @@ storage/ldap_client_tls.cert storage/ldap_client_tls.key /storage/framework/testing -/.phpunit.cache \ No newline at end of file +/.phpunit.cache +/.claude/ \ No newline at end of file diff --git a/composer.json b/composer.json index f923387606..a4f842e45c 100644 --- a/composer.json +++ b/composer.json @@ -85,6 +85,7 @@ "mockery/mockery": "^1.4", "nunomaduro/phpinsights": "^2.11", "php-mock/php-mock-phpunit": "^2.10", + "phpmd/phpmd": "^2.15", "phpunit/phpunit": "^11.0", "squizlabs/php_codesniffer": "^3.5" }, @@ -125,7 +126,15 @@ "php artisan key:generate" ], "coverage:herd:clover": "herd coverage vendor/bin/phpunit --coverage-clover tests/coverage/clover.xml", - "coverage:herd:html": "herd coverage vendor/bin/phpunit --coverage-html tests/coverage/html" + "coverage:herd:html": "herd coverage vendor/bin/phpunit --coverage-html tests/coverage/html", + "analyse": [ + "@analyse:phpstan", + "@analyse:phpmd" + ], + "analyse:phpstan": "phpstan analyse --memory-limit=2G", + "analyse:phpstan:baseline": "phpstan analyse --memory-limit=2G --generate-baseline=phpstan-baseline.neon", + "analyse:phpmd": "phpmd app text phpmd-ruleset.xml --baseline-file phpmd.baseline.xml", + "analyse:phpmd:baseline": "phpmd app xml phpmd-ruleset.xml --generate-baseline" }, "config": { "preferred-install": "dist", diff --git a/composer.lock b/composer.lock index f631724a4d..0bc59cc9bb 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "b07733bef3a84d79cc91c9bad1892299", + "content-hash": "3c0126d219147bf831e2c034cee67319", "packages": [ { "name": "alek13/slack", @@ -13663,6 +13663,69 @@ ], "time": "2025-10-16T20:10:07+00:00" }, + { + "name": "pdepend/pdepend", + "version": "2.16.2", + "source": { + "type": "git", + "url": "https://github.com/pdepend/pdepend.git", + "reference": "f942b208dc2a0868454d01b29f0c75bbcfc6ed58" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/pdepend/pdepend/zipball/f942b208dc2a0868454d01b29f0c75bbcfc6ed58", + "reference": "f942b208dc2a0868454d01b29f0c75bbcfc6ed58", + "shasum": "" + }, + "require": { + "php": ">=5.3.7", + "symfony/config": "^2.3.0|^3|^4|^5|^6.0|^7.0", + "symfony/dependency-injection": "^2.3.0|^3|^4|^5|^6.0|^7.0", + "symfony/filesystem": "^2.3.0|^3|^4|^5|^6.0|^7.0", + "symfony/polyfill-mbstring": "^1.19" + }, + "require-dev": { + "easy-doc/easy-doc": "0.0.0|^1.2.3", + "gregwar/rst": "^1.0", + "squizlabs/php_codesniffer": "^2.0.0" + }, + "bin": [ + "src/bin/pdepend" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.x-dev" + } + }, + "autoload": { + "psr-4": { + "PDepend\\": "src/main/php/PDepend" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "description": "Official version of pdepend to be handled with Composer", + "keywords": [ + "PHP Depend", + "PHP_Depend", + "dev", + "pdepend" + ], + "support": { + "issues": "https://github.com/pdepend/pdepend/issues", + "source": "https://github.com/pdepend/pdepend/tree/2.16.2" + }, + "funding": [ + { + "url": "https://tidelift.com/funding/github/packagist/pdepend/pdepend", + "type": "tidelift" + } + ], + "time": "2023-12-17T18:09:59+00:00" + }, { "name": "phar-io/manifest", "version": "2.0.4", @@ -14217,6 +14280,89 @@ }, "time": "2024-03-27T12:14:49+00:00" }, + { + "name": "phpmd/phpmd", + "version": "2.15.0", + "source": { + "type": "git", + "url": "https://github.com/phpmd/phpmd.git", + "reference": "74a1f56e33afad4128b886e334093e98e1b5e7c0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpmd/phpmd/zipball/74a1f56e33afad4128b886e334093e98e1b5e7c0", + "reference": "74a1f56e33afad4128b886e334093e98e1b5e7c0", + "shasum": "" + }, + "require": { + "composer/xdebug-handler": "^1.0 || ^2.0 || ^3.0", + "ext-xml": "*", + "pdepend/pdepend": "^2.16.1", + "php": ">=5.3.9" + }, + "require-dev": { + "easy-doc/easy-doc": "0.0.0 || ^1.3.2", + "ext-json": "*", + "ext-simplexml": "*", + "gregwar/rst": "^1.0", + "mikey179/vfsstream": "^1.6.8", + "squizlabs/php_codesniffer": "^2.9.2 || ^3.7.2" + }, + "bin": [ + "src/bin/phpmd" + ], + "type": "library", + "autoload": { + "psr-0": { + "PHPMD\\": "src/main/php" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Manuel Pichler", + "email": "github@manuel-pichler.de", + "homepage": "https://github.com/manuelpichler", + "role": "Project Founder" + }, + { + "name": "Marc Würth", + "email": "ravage@bluewin.ch", + "homepage": "https://github.com/ravage84", + "role": "Project Maintainer" + }, + { + "name": "Other contributors", + "homepage": "https://github.com/phpmd/phpmd/graphs/contributors", + "role": "Contributors" + } + ], + "description": "PHPMD is a spin-off project of PHP Depend and aims to be a PHP equivalent of the well known Java tool PMD.", + "homepage": "https://phpmd.org/", + "keywords": [ + "dev", + "mess detection", + "mess detector", + "pdepend", + "phpmd", + "pmd" + ], + "support": { + "irc": "irc://irc.freenode.org/phpmd", + "issues": "https://github.com/phpmd/phpmd/issues", + "source": "https://github.com/phpmd/phpmd/tree/2.15.0" + }, + "funding": [ + { + "url": "https://tidelift.com/funding/github/packagist/phpmd/phpmd", + "type": "tidelift" + } + ], + "time": "2023-12-11T08:22:20+00:00" + }, { "name": "phpstan/phpstan", "version": "2.1.55", @@ -16294,6 +16440,169 @@ ], "time": "2026-05-05T15:33:14+00:00" }, + { + "name": "symfony/config", + "version": "v7.4.15", + "source": { + "type": "git", + "url": "https://github.com/symfony/config.git", + "reference": "b18e33881ef402ad940f36e85935420624009bf4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/config/zipball/b18e33881ef402ad940f36e85935420624009bf4", + "reference": "b18e33881ef402ad940f36e85935420624009bf4", + "shasum": "" + }, + "require": { + "php": ">=8.2", + "symfony/deprecation-contracts": "^2.5|^3", + "symfony/filesystem": "^7.1|^8.0", + "symfony/polyfill-ctype": "~1.8" + }, + "conflict": { + "symfony/finder": "<6.4", + "symfony/service-contracts": "<2.5" + }, + "require-dev": { + "symfony/event-dispatcher": "^6.4|^7.0|^8.0", + "symfony/finder": "^6.4|^7.0|^8.0", + "symfony/messenger": "^6.4|^7.0|^8.0", + "symfony/service-contracts": "^2.5|^3", + "symfony/yaml": "^6.4|^7.0|^8.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Config\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Helps you find, load, combine, autofill and validate configuration values of any kind", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/config/tree/v7.4.15" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2026-07-22T12:54:40+00:00" + }, + { + "name": "symfony/dependency-injection", + "version": "v7.4.15", + "source": { + "type": "git", + "url": "https://github.com/symfony/dependency-injection.git", + "reference": "b7825671c553af46a98c744e23f37f972aee6427" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/b7825671c553af46a98c744e23f37f972aee6427", + "reference": "b7825671c553af46a98c744e23f37f972aee6427", + "shasum": "" + }, + "require": { + "php": ">=8.2", + "psr/container": "^1.1|^2.0", + "symfony/deprecation-contracts": "^2.5|^3", + "symfony/service-contracts": "^3.6", + "symfony/var-exporter": "^6.4.20|^7.2.5|^8.0" + }, + "conflict": { + "ext-psr": "<1.1|>=2", + "symfony/config": "<6.4", + "symfony/finder": "<6.4", + "symfony/yaml": "<6.4" + }, + "provide": { + "psr/container-implementation": "1.1|2.0", + "symfony/service-implementation": "1.1|2.0|3.0" + }, + "require-dev": { + "symfony/config": "^6.4|^7.0|^8.0", + "symfony/expression-language": "^6.4|^7.0|^8.0", + "symfony/yaml": "^6.4|^7.0|^8.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\DependencyInjection\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Allows you to standardize and centralize the way objects are constructed in your application", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/dependency-injection/tree/v7.4.15" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2026-07-22T08:40:50+00:00" + }, { "name": "symfony/http-client", "version": "v7.4.9", diff --git a/phpmd-ruleset.xml b/phpmd-ruleset.xml new file mode 100644 index 0000000000..c038e35155 --- /dev/null +++ b/phpmd-ruleset.xml @@ -0,0 +1,47 @@ + + + + Targeted PHPMD rules for the classes of finding PHPStan doesn't cover. + Scoped narrowly on purpose: broad PHPMD rulesets create thousands of + style-level warnings on a large Laravel codebase. This one focuses on + the concrete gap (unused code) so signal stays useful and CI stays fast. + + + + + + + + + + + + + + + + database/migrations/* + tests/* + diff --git a/phpmd.baseline.xml b/phpmd.baseline.xml new file mode 100644 index 0000000000..180af88460 --- /dev/null +++ b/phpmd.baseline.xml @@ -0,0 +1,115 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon new file mode 100644 index 0000000000..42509b35bb --- /dev/null +++ b/phpstan-baseline.neon @@ -0,0 +1,12205 @@ +parameters: + ignoreErrors: + - + message: '#^Access to an undefined property App\\Models\\User\:\:\$display_name\.$#' + identifier: property.notFound + count: 1 + path: app/Actions/Breadcrumbs/BuildAcceptanceBreadcrumbs.php + + - + message: '#^Method App\\Actions\\CheckoutRequests\\CreateCheckoutRequestAction\:\:run\(\) should return string but returns true\.$#' + identifier: return.type + count: 1 + path: app/Actions/CheckoutRequests/CreateCheckoutRequestAction.php + + - + message: '#^Access to an undefined property App\\Models\\Company\:\:\$accessories_count\.$#' + identifier: property.notFound + count: 1 + path: app/Actions/Companies/DestroyCompanyAction.php + + - + message: '#^Access to an undefined property App\\Models\\Company\:\:\$assets_count\.$#' + identifier: property.notFound + count: 1 + path: app/Actions/Companies/DestroyCompanyAction.php + + - + message: '#^Access to an undefined property App\\Models\\Company\:\:\$children_count\.$#' + identifier: property.notFound + count: 1 + path: app/Actions/Companies/DestroyCompanyAction.php + + - + message: '#^Access to an undefined property App\\Models\\Company\:\:\$components_count\.$#' + identifier: property.notFound + count: 1 + path: app/Actions/Companies/DestroyCompanyAction.php + + - + message: '#^Access to an undefined property App\\Models\\Company\:\:\$consumables_count\.$#' + identifier: property.notFound + count: 1 + path: app/Actions/Companies/DestroyCompanyAction.php + + - + message: '#^Access to an undefined property App\\Models\\Company\:\:\$licenses_count\.$#' + identifier: property.notFound + count: 1 + path: app/Actions/Companies/DestroyCompanyAction.php + + - + message: '#^Access to an undefined property App\\Models\\Company\:\:\$users_count\.$#' + identifier: property.notFound + count: 1 + path: app/Actions/Companies/DestroyCompanyAction.php + + - + message: '#^Access to an undefined property App\\Models\\Manufacturer\:\:\$accessories_count\.$#' + identifier: property.notFound + count: 1 + path: app/Actions/Manufacturers/DestroyManufacturerAction.php + + - + message: '#^Access to an undefined property App\\Models\\Manufacturer\:\:\$assets_count\.$#' + identifier: property.notFound + count: 1 + path: app/Actions/Manufacturers/DestroyManufacturerAction.php + + - + message: '#^Access to an undefined property App\\Models\\Manufacturer\:\:\$components_count\.$#' + identifier: property.notFound + count: 1 + path: app/Actions/Manufacturers/DestroyManufacturerAction.php + + - + message: '#^Access to an undefined property App\\Models\\Manufacturer\:\:\$consumables_count\.$#' + identifier: property.notFound + count: 1 + path: app/Actions/Manufacturers/DestroyManufacturerAction.php + + - + message: '#^Access to an undefined property App\\Models\\Manufacturer\:\:\$licenses_count\.$#' + identifier: property.notFound + count: 1 + path: app/Actions/Manufacturers/DestroyManufacturerAction.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$asset_tag\.$#' + identifier: property.notFound + count: 7 + path: app/Console/Commands/BulkDelete.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$assignedTo\.$#' + identifier: property.notFound + count: 1 + path: app/Console/Commands/BulkDelete.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$avatar\.$#' + identifier: property.notFound + count: 1 + path: app/Console/Commands/BulkDelete.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#' + identifier: property.notFound + count: 21 + path: app/Console/Commands/BulkDelete.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$image\.$#' + identifier: property.notFound + count: 4 + path: app/Console/Commands/BulkDelete.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$name\.$#' + identifier: property.notFound + count: 26 + path: app/Console/Commands/BulkDelete.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$username\.$#' + identifier: property.notFound + count: 8 + path: app/Console/Commands/BulkDelete.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:assetlog\(\)\.$#' + identifier: method.notFound + count: 10 + path: app/Console/Commands/BulkDelete.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:companies\(\)\.$#' + identifier: method.notFound + count: 2 + path: app/Console/Commands/BulkDelete.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:licenseseats\(\)\.$#' + identifier: method.notFound + count: 4 + path: app/Console/Commands/BulkDelete.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:logCheckin\(\)\.$#' + identifier: method.notFound + count: 3 + path: app/Console/Commands/BulkDelete.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:maintenances\(\)\.$#' + identifier: method.notFound + count: 2 + path: app/Console/Commands/BulkDelete.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:syncLegacyCompanyIdMirror\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Console/Commands/BulkDelete.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:userlog\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Console/Commands/BulkDelete.php + + - + message: '#^Using nullsafe property access "\?\-\>asset_tag" on left side of \?\? is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 6 + path: app/Console/Commands/BulkDelete.php + + - + message: '#^Using nullsafe property access "\?\-\>name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 6 + path: app/Console/Commands/BulkDelete.php + + - + message: '#^Using nullsafe property access "\?\-\>asset_tag" on left side of \?\? is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 3 + path: app/Console/Commands/CheckinAndDeleteItems.php + + - + message: '#^Using nullsafe property access "\?\-\>name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 2 + path: app/Console/Commands/CheckinAndDeleteItems.php + + - + message: '#^Access to an undefined property App\\Models\\CheckoutRequest\:\:\$requestable\.$#' + identifier: property.notFound + count: 2 + path: app/Console/Commands/CleanOldCheckoutRequests.php + + - + message: '#^Access to an undefined property App\\Models\\CheckoutRequest\:\:\$user\.$#' + identifier: property.notFound + count: 2 + path: app/Console/Commands/CleanOldCheckoutRequests.php + + - + message: '#^Relation ''requestedItem'' is not found in App\\Models\\CheckoutRequest model\.$#' + identifier: larastan.relationExistence + count: 1 + path: app/Console/Commands/CleanOldCheckoutRequests.php + + - + message: '#^Relation ''user'' is not found in App\\Models\\CheckoutRequest model\.$#' + identifier: larastan.relationExistence + count: 1 + path: app/Console/Commands/CleanOldCheckoutRequests.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:attach\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Console/Commands/CreateAdmin.php + + - + message: '#^Property App\\Models\\User\:\:\$activated \(bool\) does not accept int\.$#' + identifier: assign.propertyType + count: 1 + path: app/Console/Commands/CreateAdmin.php + + - + message: '#^Property App\\Models\\User\:\:\$autoassign_licenses \(bool\) does not accept int\.$#' + identifier: assign.propertyType + count: 1 + path: app/Console/Commands/CreateAdmin.php + + - + message: '#^Property App\\Models\\User\:\:\$show_in_list \(bool\) does not accept int\.$#' + identifier: assign.propertyType + count: 1 + path: app/Console/Commands/CreateAdmin.php + + - + message: '#^Access to an undefined property App\\Models\\Actionlog\:\:\$created_by\.$#' + identifier: property.notFound + count: 3 + path: app/Console/Commands/FixBulkAccessoryCheckinActionLogEntries.php + + - + message: '#^Access to an undefined property App\\Models\\Accessory\:\:\$first_name\.$#' + identifier: property.notFound + count: 2 + path: app/Console/Commands/FixDoubleEscape.php + + - + message: '#^Access to an undefined property App\\Models\\Accessory\:\:\$last_name\.$#' + identifier: property.notFound + count: 2 + path: app/Console/Commands/FixDoubleEscape.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$action_type\.$#' + identifier: property.notFound + count: 2 + path: app/Console/Commands/FixupAssignedToWithoutAssignedType.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$target_id\.$#' + identifier: property.notFound + count: 2 + path: app/Console/Commands/FixupAssignedToWithoutAssignedType.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$target_type\.$#' + identifier: property.notFound + count: 2 + path: app/Console/Commands/FixupAssignedToWithoutAssignedType.php + + - + message: '#^Method App\\Console\\Commands\\GeneratePersonalAccessToken\:\:handle\(\) should return int but return statement is missing\.$#' + identifier: return.missing + count: 1 + path: app/Console/Commands/GeneratePersonalAccessToken.php + + - + message: '#^Method App\\Console\\Commands\\GeneratePersonalAccessToken\:\:handle\(\) should return int but returns null\.$#' + identifier: return.type + count: 2 + path: app/Console/Commands/GeneratePersonalAccessToken.php + + - + message: '#^Result of method Illuminate\\Console\\Command\:\:error\(\) \(void\) is used\.$#' + identifier: method.void + count: 2 + path: app/Console/Commands/GeneratePersonalAccessToken.php + + - + message: '#^Result of method Illuminate\\Console\\Command\:\:error\(\) \(void\) is used\.$#' + identifier: method.void + count: 1 + path: app/Console/Commands/KillAllSessions.php + + - + message: '#^Access to an undefined property App\\Models\\Setting\:\:\$ldap_base_dn\.$#' + identifier: property.notFound + 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 + count: 1 + path: app/Console/Commands/LdapSync.php + + - + message: '#^Called ''env'' outside of the config directory which returns null when the config is cached, use ''config''\.$#' + identifier: larastan.noEnvCallsOutsideOfConfig + count: 2 + path: app/Console/Commands/LdapSync.php + + - + message: '#^Property App\\Models\\User\:\:\$activated \(bool\) does not accept int\.$#' + identifier: assign.propertyType + count: 2 + path: app/Console/Commands/LdapSync.php + + - + message: '#^Property App\\Models\\User\:\:\$ldap_import \(bool\) does not accept int\.$#' + identifier: assign.propertyType + count: 1 + path: app/Console/Commands/LdapSync.php + + - + message: '#^Result of && is always false\.$#' + identifier: booleanAnd.alwaysFalse + count: 2 + path: app/Console/Commands/LdapSync.php + + - + message: '#^Strict comparison using \=\=\= between bool and 1 will always evaluate to false\.$#' + identifier: identical.alwaysFalse + 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 + count: 3 + path: app/Console/Commands/LdapTroubleshooter.php + + - + message: '#^Binary operation "\-" between 32 and string results in an error\.$#' + identifier: binaryOp.invalid + count: 1 + path: app/Console/Commands/LdapTroubleshooter.php + + - + message: '#^Loose comparison using \=\= between int\<1, max\> and 0 will always evaluate to false\.$#' + identifier: equal.alwaysFalse + count: 1 + path: app/Console/Commands/LdapTroubleshooter.php + + - + message: '#^Undefined variable\: \$ldap_constants$#' + identifier: variable.undefined + count: 1 + path: app/Console/Commands/LdapTroubleshooter.php + + - + message: '#^Unreachable statement \- code above always terminates\.$#' + identifier: deadCode.unreachable + count: 3 + path: app/Console/Commands/LdapTroubleshooter.php + + - + message: '#^Variable \$conn might not be defined\.$#' + identifier: variable.undefined + count: 1 + path: app/Console/Commands/LdapTroubleshooter.php + + - + message: '#^Variable \$ldap_constants in isset\(\) is never defined\.$#' + identifier: isset.variable + count: 1 + path: app/Console/Commands/LdapTroubleshooter.php + + - + message: '#^Access to an undefined property App\\Models\\User\:\:\$uploads\.$#' + identifier: property.notFound + count: 1 + path: app/Console/Commands/MergeUsersByUsername.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:updateExistingPivot\(\)\.$#' + identifier: method.notFound + count: 3 + path: app/Console/Commands/MergeUsersByUsername.php + + - + message: '#^Called ''env'' outside of the config directory which returns null when the config is cached, use ''config''\.$#' + identifier: larastan.noEnvCallsOutsideOfConfig + count: 1 + path: app/Console/Commands/MoveUploadsToNewDisk.php + + - + message: '#^Method Illuminate\\Filesystem\\FilesystemAdapter\:\:url\(\) invoked with 2 parameters, 1 required\.$#' + identifier: arguments.count + count: 1 + path: app/Console/Commands/MoveUploadsToNewDisk.php + + - + message: '#^Static method Illuminate\\Filesystem\\FilesystemAdapter\:\:url\(\) invoked with 2 parameters, 1 required\.$#' + identifier: arguments.count + count: 1 + path: app/Console/Commands/MoveUploadsToNewDisk.php + + - + message: '#^Method App\\Console\\Commands\\NormalizeUserNames\:\:handle\(\) should return int but return statement is missing\.$#' + identifier: return.missing + count: 1 + path: app/Console/Commands/NormalizeUserNames.php + + - + message: '#^Called ''env'' outside of the config directory which returns null when the config is cached, use ''config''\.$#' + identifier: larastan.noEnvCallsOutsideOfConfig + count: 2 + path: app/Console/Commands/ObjectImportCommand.php + + - + message: '#^Access to an undefined property App\\Models\\CheckoutAcceptance\:\:\$checkoutable_category_name\.$#' + identifier: property.notFound + count: 1 + path: app/Console/Commands/PurgeEulaPDFs.php + + - + message: '#^Access to an undefined property App\\Models\\CheckoutAcceptance\:\:\$display_checkoutable_type\.$#' + identifier: property.notFound + count: 1 + path: app/Console/Commands/PurgeEulaPDFs.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$display_name\.$#' + identifier: property.notFound + count: 1 + path: app/Console/Commands/PurgeEulaPDFs.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Builder\\:\:withTrashed\(\)\.$#' + identifier: method.notFound + count: 2 + path: app/Console/Commands/PurgeEulaPDFs.php + + - + message: '#^Result of method Illuminate\\Console\\Command\:\:error\(\) \(void\) is used\.$#' + identifier: method.void + count: 1 + path: app/Console/Commands/PurgeEulaPDFs.php + + - + message: '#^Result of method Illuminate\\Console\\Command\:\:warn\(\) \(void\) is used\.$#' + identifier: method.void + count: 1 + path: app/Console/Commands/PurgeEulaPDFs.php + + - + message: '#^Offset int does not exist on array\\.$#' + identifier: offsetAccess.notFound + count: 1 + path: app/Console/Commands/ReEncodeCustomFieldNames.php + + - + message: '#^Empty array passed to foreach\.$#' + identifier: foreach.emptyArray + count: 1 + path: app/Console/Commands/RegenerateAssetTags.php + + - + message: '#^If condition is always true\.$#' + identifier: if.alwaysTrue + count: 1 + path: app/Console/Commands/RegenerateAssetTags.php + + - + message: '#^Access to an undefined property App\\Models\\Setting\:\:\$header_color\.$#' + identifier: property.notFound + count: 1 + path: app/Console/Commands/ResetDemoSettings.php + + - + message: '#^Access to an undefined property App\\Models\\Setting\:\:\$link_dark_color\.$#' + identifier: property.notFound + count: 1 + path: app/Console/Commands/ResetDemoSettings.php + + - + message: '#^Access to an undefined property App\\Models\\Setting\:\:\$link_light_color\.$#' + identifier: property.notFound + count: 1 + path: app/Console/Commands/ResetDemoSettings.php + + - + message: '#^Access to an undefined property App\\Models\\Setting\:\:\$nav_link_color\.$#' + identifier: property.notFound + count: 1 + path: app/Console/Commands/ResetDemoSettings.php + + - + message: '#^Property App\\Models\\User\:\:\$enable_confetti \(bool\) does not accept int\.$#' + identifier: assign.propertyType + count: 1 + path: app/Console/Commands/ResetDemoSettings.php + + - + message: '#^Property App\\Models\\User\:\:\$enable_sounds \(bool\) does not accept int\.$#' + identifier: assign.propertyType + count: 1 + path: app/Console/Commands/ResetDemoSettings.php + + - + message: '#^Instantiated class App\\Console\\Commands\\Exception not found\.$#' + identifier: class.notFound + count: 1 + path: app/Console/Commands/RestoreFromBackup.php + + - + message: '#^Result of method Illuminate\\Console\\Command\:\:error\(\) \(void\) is used\.$#' + identifier: method.void + count: 8 + path: app/Console/Commands/RestoreFromBackup.php + + - + message: '#^Result of method Illuminate\\Console\\Command\:\:info\(\) \(void\) is used\.$#' + identifier: method.void + count: 1 + path: app/Console/Commands/RestoreFromBackup.php + + - + message: '#^Result of method Illuminate\\Console\\Command\:\:warn\(\) \(void\) is used\.$#' + identifier: method.void + count: 1 + path: app/Console/Commands/RestoreFromBackup.php + + - + message: '#^Throwing object of an unknown class App\\Console\\Commands\\Exception\.$#' + identifier: class.notFound + count: 1 + path: app/Console/Commands/RestoreFromBackup.php + + - + message: '#^Variable \$cipher might not be defined\.$#' + identifier: variable.undefined + count: 3 + path: app/Console/Commands/RotateAppKey.php + + - + message: '#^Variable \$new_app_key might not be defined\.$#' + identifier: variable.undefined + count: 2 + path: app/Console/Commands/RotateAppKey.php + + - + message: '#^Variable \$old_app_key might not be defined\.$#' + identifier: variable.undefined + count: 2 + path: app/Console/Commands/RotateAppKey.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$expected_checkin_diff_for_humans\.$#' + identifier: property.notFound + count: 1 + path: app/Console/Commands/SendExpectedCheckinAlerts.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$expected_checkin_formattedDate\.$#' + identifier: property.notFound + count: 1 + path: app/Console/Commands/SendExpectedCheckinAlerts.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$purchase_date_formatted\.$#' + identifier: property.notFound + count: 1 + path: app/Console/Commands/SendExpectedCheckinAlerts.php + + - + message: '#^Left side of && is always true\.$#' + identifier: booleanAnd.leftAlwaysTrue + count: 2 + path: app/Console/Commands/SendExpectedCheckinAlerts.php + + - + message: '#^Access to an undefined property App\\Models\\License\:\:\$expires_diff_for_humans\.$#' + identifier: property.notFound + count: 1 + path: app/Console/Commands/SendExpirationAlerts.php + + - + message: '#^Access to an undefined property App\\Models\\License\:\:\$expires_formatted_date\.$#' + identifier: property.notFound + count: 2 + path: app/Console/Commands/SendExpirationAlerts.php + + - + message: '#^Access to an undefined property App\\Models\\License\:\:\$purchase_date_formatted\.$#' + identifier: property.notFound + count: 1 + path: app/Console/Commands/SendExpirationAlerts.php + + - + message: '#^Access to an undefined property App\\Models\\License\:\:\$terminates_diff_for_humans\.$#' + identifier: property.notFound + count: 1 + path: app/Console/Commands/SendExpirationAlerts.php + + - + message: '#^Access to an undefined property App\\Models\\License\:\:\$terminates_formatted_date\.$#' + identifier: property.notFound + count: 1 + path: app/Console/Commands/SendExpirationAlerts.php + + - + message: '#^Comparison operation "\>" between int\<1, max\> and 0 is always true\.$#' + identifier: greater.alwaysTrue + count: 1 + path: app/Console/Commands/SendInventoryAlerts.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$display_name\.$#' + identifier: property.notFound + count: 1 + path: app/Console/Commands/SendUpcomingAuditReport.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$last_audit_formatted_date\.$#' + identifier: property.notFound + count: 1 + path: app/Console/Commands/SendUpcomingAuditReport.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$next_audit_diff_in_days\.$#' + identifier: property.notFound + count: 1 + path: app/Console/Commands/SendUpcomingAuditReport.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$next_audit_formatted_date\.$#' + identifier: property.notFound + count: 1 + path: app/Console/Commands/SendUpcomingAuditReport.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$location_id\.$#' + identifier: property.notFound + count: 4 + path: app/Console/Commands/SyncAssetLocations.php + + - + message: '#^Access to an undefined property ArrayObject\:\:\$id\.$#' + identifier: property.notFound + count: 4 + path: app/Console/Commands/SyncAssetLocations.php + + - + message: '#^Empty array passed to foreach\.$#' + identifier: foreach.emptyArray + count: 1 + path: app/Console/Commands/SyncAssetLocations.php + + - + message: '#^If condition is always true\.$#' + identifier: if.alwaysTrue + count: 1 + path: app/Console/Commands/SyncAssetLocations.php + + - + message: '#^Called ''env'' outside of the config directory which returns null when the config is cached, use ''config''\.$#' + identifier: larastan.noEnvCallsOutsideOfConfig + count: 1 + path: app/Console/Commands/SystemBackup.php + + - + message: '#^Method App\\Console\\Commands\\ToggleCustomfieldEncryption\:\:handle\(\) should return int but return statement is missing\.$#' + identifier: return.missing + count: 2 + path: app/Console/Commands/ToggleCustomfieldEncryption.php + + - + message: '#^Property App\\Models\\CustomField\:\:\$field_encrypted \(bool\) does not accept int\.$#' + identifier: assign.propertyType + count: 1 + path: app/Console/Commands/ToggleCustomfieldEncryption.php + + - + message: '#^Call to function is_array\(\) with \*NEVER\* will always evaluate to true\.$#' + identifier: function.alreadyNarrowedType + count: 1 + path: app/Console/Commands/ValidateAssets.php + + - + message: '#^Instanceof between Illuminate\\Support\\MessageBag and Illuminate\\Support\\MessageBag will always evaluate to true\.$#' + identifier: instanceof.alwaysTrue + count: 1 + path: app/Console/Commands/ValidateAssets.php + + - + message: '#^Using nullsafe property access "\?\-\>model_number" on left side of \?\? is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: app/Console/Commands/ValidateAssets.php + + - + message: '#^Using nullsafe property access "\?\-\>name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: app/Console/Commands/ValidateAssets.php + + - + message: '#^Binary operation "\+" between string and 1 results in an error\.$#' + identifier: binaryOp.invalid + count: 6 + path: app/Console/Commands/Version.php + + - + message: '#^Strict comparison using \=\=\= between bool\|null and 1 will always evaluate to false\.$#' + identifier: identical.alwaysFalse + count: 1 + path: app/Console/Kernel.php + + - + message: '#^Access to an undefined property App\\Events\\CheckoutAccepted\:\:\$acceptance\.$#' + identifier: property.notFound + count: 1 + path: app/Events/CheckoutAccepted.php + + - + message: '#^Access to an undefined property App\\Events\\CheckoutDeclined\:\:\$acceptance\.$#' + identifier: property.notFound + count: 1 + path: app/Events/CheckoutDeclined.php + + - + message: '#^Access to an undefined property App\\Events\\UserMerged\:\:\$admin\.$#' + identifier: property.notFound + count: 1 + path: app/Events/UserMerged.php + + - + message: '#^Access to an undefined property App\\Events\\UserMerged\:\:\$merged_from\.$#' + identifier: property.notFound + count: 1 + path: app/Events/UserMerged.php + + - + message: '#^Access to an undefined property App\\Events\\UserMerged\:\:\$merged_to\.$#' + identifier: property.notFound + count: 1 + path: app/Events/UserMerged.php + + - + message: '#^Call to an undefined method Exception\:\:getStatusCode\(\)\.$#' + identifier: method.notFound + count: 2 + path: app/Exceptions/Handler.php + + - + message: '#^Call to function method_exists\(\) with Illuminate\\Database\\Eloquent\\ModelNotFoundException and ''getIds'' will always evaluate to true\.$#' + identifier: function.alreadyNarrowedType + count: 1 + path: app/Exceptions/Handler.php + + - + message: '#^Instanceof between Exception and Carbon\\Exceptions\\InvalidFormatException will always evaluate to false\.$#' + identifier: instanceof.alwaysFalse + count: 1 + path: app/Exceptions/Handler.php + + - + message: '#^Method App\\Exceptions\\Handler\:\:render\(\) should return Illuminate\\Http\\JsonResponse\|Illuminate\\Http\\RedirectResponse\|Illuminate\\Http\\Response but returns Symfony\\Component\\HttpFoundation\\Response\.$#' + identifier: return.type + count: 1 + path: app/Exceptions/Handler.php + + - + message: '#^Method App\\Exceptions\\Handler\:\:report\(\) with return type void returns null but should not return anything\.$#' + identifier: return.void + count: 1 + path: app/Exceptions/Handler.php + + - + message: '#^PHPDoc type array of property App\\Exceptions\\Handler\:\:\$dontFlash is not covariant with PHPDoc type array\ of overridden property Illuminate\\Foundation\\Exceptions\\Handler\:\:\$dontFlash\.$#' + identifier: property.phpDocType + count: 1 + path: app/Exceptions/Handler.php + + - + message: '#^PHPDoc type array of property App\\Exceptions\\Handler\:\:\$dontReport is not covariant with PHPDoc type array\\> of overridden property Illuminate\\Foundation\\Exceptions\\Handler\:\:\$dontReport\.$#' + identifier: property.phpDocType + count: 1 + path: app/Exceptions/Handler.php + + - + message: '#^Result of && is always false\.$#' + identifier: booleanAnd.alwaysFalse + count: 2 + path: app/Exceptions/Handler.php + + - + message: '#^Result of method Illuminate\\Foundation\\Exceptions\\Handler\:\:report\(\) \(void\) is used\.$#' + identifier: staticMethod.void + count: 1 + path: app/Exceptions/Handler.php + + - + message: '#^Undefined variable\: \$statusCode$#' + identifier: variable.undefined + count: 1 + path: app/Exceptions/Handler.php + + - + message: '#^Variable \$statusCode in isset\(\) is never defined\.$#' + identifier: isset.variable + count: 1 + path: app/Exceptions/Handler.php + + - + message: '#^Access to an undefined property App\\Models\\AssetModel\:\:\$available_assets_count\.$#' + identifier: property.notFound + count: 1 + path: app/Helpers/Helper.php + + - + message: '#^Access to an undefined property App\\Models\\Component\:\:\$sum_unconstrained_assets\.$#' + identifier: property.notFound + count: 1 + path: app/Helpers/Helper.php + + - + message: '#^Access to an undefined property App\\Models\\Consumable\:\:\$consumables_users_count\.$#' + identifier: property.notFound + count: 1 + path: app/Helpers/Helper.php + + - + message: '#^Access to an undefined property App\\Models\\License\:\:\$licenses_available\.$#' + identifier: property.notFound + count: 1 + path: app/Helpers/Helper.php + + - + message: '#^Call to function array_change_key_case\(\) on a separate line has no effect\.$#' + identifier: function.resultUnused + count: 1 + path: app/Helpers/Helper.php + + - + message: '#^Call to function is_array\(\) with array will always evaluate to true\.$#' + identifier: function.alreadyNarrowedType + count: 2 + path: app/Helpers/Helper.php + + - + message: '#^Comparison operation "\>" between int\<1, max\> and 0 is always true\.$#' + identifier: greater.alwaysTrue + count: 2 + path: app/Helpers/Helper.php + + - + message: '#^Default value of the parameter \#4 \$round \(false\) of method App\\Helpers\\Helper\:\:convertUnit\(\) is incompatible with type int\.$#' + identifier: parameter.defaultValue + count: 1 + path: app/Helpers/Helper.php + + - + message: '#^Match expression does not handle remaining value\: mixed$#' + identifier: match.unhandled + count: 4 + path: app/Helpers/Helper.php + + - + message: '#^Method App\\Helpers\\Helper\:\:ParseFloat\(\) should return string but returns float\.$#' + identifier: return.type + count: 1 + path: app/Helpers/Helper.php + + - + message: '#^Method App\\Helpers\\Helper\:\:formatFilesizeUnits\(\) should return array\ but returns string\.$#' + identifier: return.type + count: 1 + path: app/Helpers/Helper.php + + - + message: '#^Method App\\Helpers\\Helper\:\:generateRandomString\(\) should return array but returns string\.$#' + identifier: return.type + count: 1 + path: app/Helpers/Helper.php + + - + message: '#^Method App\\Helpers\\Helper\:\:mapLegacyLocale\(\) should return array\ but returns string\.$#' + identifier: return.type + count: 1 + path: app/Helpers/Helper.php + + - + message: '#^Method App\\Helpers\\Helper\:\:parseEscapedMarkedown\(\) should return string but return statement is missing\.$#' + identifier: return.missing + count: 1 + path: app/Helpers/Helper.php + + - + message: '#^Method App\\Helpers\\Helper\:\:processUploadedImage\(\) should return string but returns false\.$#' + identifier: return.type + count: 2 + path: app/Helpers/Helper.php + + - + message: '#^Method App\\Helpers\\Helper\:\:test_locations_fmcs\(\) should return array\ but returns list\\>\.$#' + identifier: return.type + count: 2 + path: app/Helpers/Helper.php + + - + message: '#^Offset ''ANY'' on array\{ANY\: ''ANY'', ''CUSTOM REGEX''\: ''CUSTOM REGEX'', ALPHA\: ''ALPHA'', ALPHA\-DASH\: ''ALPHA\-DASH'', NUMERIC\: ''NUMERIC'', ALPHA\-NUMERIC\: ''ALPHA\-NUMERIC'', EMAIL\: ''EMAIL'', DATE\: ''DATE'', \.\.\.\} in isset\(\) always exists and is not nullable\.$#' + identifier: isset.offset + count: 1 + path: app/Helpers/Helper.php + + - + message: '#^Parameter \$file of method App\\Helpers\\Helper\:\:checkUploadIsAudio\(\) has invalid type App\\Helpers\\File\.$#' + identifier: class.notFound + count: 1 + path: app/Helpers/Helper.php + + - + message: '#^Parameter \$file of method App\\Helpers\\Helper\:\:checkUploadIsImage\(\) has invalid type App\\Helpers\\File\.$#' + identifier: class.notFound + count: 1 + path: app/Helpers/Helper.php + + - + message: '#^Parameter \$file of method App\\Helpers\\Helper\:\:checkUploadIsVideo\(\) has invalid type App\\Helpers\\File\.$#' + identifier: class.notFound + count: 1 + path: app/Helpers/Helper.php + + - + message: '#^Strict comparison using \!\=\= between int and false will always evaluate to true\.$#' + identifier: notIdentical.alwaysTrue + count: 1 + path: app/Helpers/Helper.php + + - + message: '#^Unreachable statement \- code above always terminates\.$#' + identifier: deadCode.unreachable + count: 2 + path: app/Helpers/Helper.php + + - + message: '#^Variable \$permissions on left side of \?\? always exists and is not nullable\.$#' + identifier: nullCoalesce.variable + count: 1 + path: app/Helpers/Helper.php + + - + message: '#^Access to an undefined property App\\Models\\Accessory\:\:\$created_by\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Accessories/AccessoriesController.php + + - + message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:getErrors\(\)\.$#' + identifier: method.notFound + count: 2 + path: app/Http/Controllers/Accessories/AccessoriesController.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$accessoryID$#' + identifier: parameter.notFound + count: 1 + path: app/Http/Controllers/Accessories/AccessoriesController.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$accessoryId$#' + identifier: parameter.notFound + count: 4 + path: app/Http/Controllers/Accessories/AccessoriesController.php + + - + message: '#^Property App\\Models\\Accessory\:\:\$id \(int\) does not accept null\.$#' + identifier: assign.propertyType + count: 1 + path: app/Http/Controllers/Accessories/AccessoriesController.php + + - + message: '#^Cannot access property \$accessory_id on array\\|object\.$#' + identifier: property.nonObject + count: 1 + path: app/Http/Controllers/Accessories/AccessoryCheckinController.php + + - + message: '#^Cannot access property \$assigned_type on array\\|object\.$#' + identifier: property.nonObject + count: 1 + path: app/Http/Controllers/Accessories/AccessoryCheckinController.php + + - + message: '#^Match expression does not handle remaining values\: string\|null$#' + identifier: match.unhandled + count: 1 + path: app/Http/Controllers/Accessories/AccessoryCheckinController.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$request$#' + identifier: parameter.notFound + count: 1 + path: app/Http/Controllers/Accessories/AccessoryCheckinController.php + + - + message: '#^Access to an undefined property App\\Models\\Accessory\:\:\$checkout_qty\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Accessories/AccessoryCheckoutController.php + + - + message: '#^Access to an undefined property App\\Models\\AccessoryCheckout\:\:\$created_by\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Accessories/AccessoryCheckoutController.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$location_id\.$#' + identifier: property.notFound + count: 3 + path: app/Http/Controllers/Accessories/AccessoryCheckoutController.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$location_id\.$#' + identifier: property.notFound + count: 2 + path: app/Http/Controllers/Accessories/AccessoryCheckoutController.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$rtd_location_id\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Accessories/AccessoryCheckoutController.php + + - + message: '#^PHPDoc tag @param for parameter \$request with type Illuminate\\Http\\Request is not subtype of native type App\\Http\\Requests\\AccessoryCheckoutRequest\.$#' + identifier: parameter.phpDocType + count: 1 + path: app/Http/Controllers/Accessories/AccessoryCheckoutController.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$id$#' + identifier: parameter.notFound + count: 1 + path: app/Http/Controllers/Accessories/AccessoryCheckoutController.php + + - + message: '#^Unreachable statement \- code above always terminates\.$#' + identifier: deadCode.unreachable + count: 1 + path: app/Http/Controllers/Accessories/AccessoryCheckoutController.php + + - + message: '#^Using nullsafe property access "\?\-\>name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: app/Http/Controllers/Accessories/AccessoryCheckoutController.php + + - + message: '#^Access to an undefined property App\\Models\\User\:\:\$display_name\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Account/AcceptanceController.php + + - + message: '#^Static method Illuminate\\Contracts\\Filesystem\\Filesystem\:\:makeDirectory\(\) invoked with 2 parameters, 1 required\.$#' + identifier: arguments.count + count: 2 + path: app/Http/Controllers/Account/AcceptanceController.php + + - + message: '#^Using nullsafe property access "\?\-\>name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: app/Http/Controllers/Account/AcceptanceController.php + + - + message: '#^If condition is always true\.$#' + identifier: if.alwaysTrue + count: 1 + path: app/Http/Controllers/ActionlogController.php + + - + message: '#^Unreachable statement \- code above always terminates\.$#' + identifier: deadCode.unreachable + count: 1 + path: app/Http/Controllers/ActionlogController.php + + - + message: '#^Access to an undefined property App\\Models\\Accessory\:\:\$checkout_qty\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Api/AccessoriesController.php + + - + message: '#^Access to an undefined property App\\Models\\AccessoryCheckout\:\:\$created_by\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Api/AccessoriesController.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$location_id\.$#' + identifier: property.notFound + count: 3 + path: app/Http/Controllers/Api/AccessoriesController.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$location_id\.$#' + identifier: property.notFound + count: 2 + path: app/Http/Controllers/Api/AccessoriesController.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$rtd_location_id\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Api/AccessoriesController.php + + - + message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:companies\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Http/Controllers/Api/AccessoriesController.php + + - + message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:getErrors\(\)\.$#' + identifier: method.notFound + count: 2 + path: app/Http/Controllers/Api/AccessoriesController.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:TextSearch\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Http/Controllers/Api/AccessoriesController.php + + - + message: '#^PHPDoc tag @param for parameter \$request with type App\\Http\\Requests\\ImageUploadRequest is not subtype of native type App\\Http\\Requests\\StoreAccessoryRequest\.$#' + identifier: parameter.phpDocType + count: 1 + path: app/Http/Controllers/Api/AccessoriesController.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$accessoryId$#' + identifier: parameter.notFound + count: 1 + path: app/Http/Controllers/Api/AccessoriesController.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$backto$#' + identifier: parameter.notFound + count: 1 + path: app/Http/Controllers/Api/AccessoriesController.php + + - + message: '#^PHPDoc tag @return has invalid value \(\| array\)\: Unexpected token "\|", expected type at offset 192 on line 9$#' + identifier: phpDoc.parseError + count: 1 + path: app/Http/Controllers/Api/AccessoriesController.php + + - + message: '#^Relation ''lastCheckout'' is not found in App\\Models\\Accessory model\.$#' + identifier: larastan.relationExistence + count: 1 + path: app/Http/Controllers/Api/AccessoriesController.php + + - + message: '#^Unreachable statement \- code above always terminates\.$#' + identifier: deadCode.unreachable + count: 1 + path: app/Http/Controllers/Api/AccessoriesController.php + + - + message: '#^Access to an undefined property App\\Models\\AssetModel\:\:\$use_image\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Api/AssetModelsController.php + + - + message: '#^Access to an undefined property App\\Models\\AssetModel\:\:\$use_text\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Api/AssetModelsController.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$fieldset_id\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Api/AssetModelsController.php + + - + message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:getErrors\(\)\.$#' + identifier: method.notFound + count: 2 + path: app/Http/Controllers/Api/AssetModelsController.php + + - + message: '#^PHPDoc tag @param for parameter \$request with type App\\Http\\Requests\\ImageUploadRequest is not subtype of native type App\\Http\\Requests\\StoreAssetModelRequest\.$#' + identifier: parameter.phpDocType + count: 1 + path: app/Http/Controllers/Api/AssetModelsController.php + + - + message: '#^PHPDoc tag @return with type Illuminate\\Http\\Response is incompatible with native type Illuminate\\Http\\JsonResponse\.$#' + identifier: return.phpDocType + count: 1 + path: app/Http/Controllers/Api/AssetModelsController.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$company_id\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Api/AssetsController.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$created_by\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Api/AssetsController.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$last_audit_date\.$#' + identifier: property.notFound + count: 2 + path: app/Http/Controllers/Api/AssetsController.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$location_id\.$#' + identifier: property.notFound + count: 3 + path: app/Http/Controllers/Api/AssetsController.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$next_audit_date\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Api/AssetsController.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\|Illuminate\\Database\\Eloquent\\Collection\\:\:\$last_checkin\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Api/AssetsController.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\|Illuminate\\Database\\Eloquent\\Collection\\:\:\$location_id\.$#' + identifier: property.notFound + count: 5 + path: app/Http/Controllers/Api/AssetsController.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\|Illuminate\\Database\\Eloquent\\Collection\\:\:\$requestable\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Api/AssetsController.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$image\.$#' + identifier: property.notFound + count: 2 + path: app/Http/Controllers/Api/AssetsController.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$model\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Api/AssetsController.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$name\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Api/AssetsController.php + + - + message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:availableForCheckout\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Http/Controllers/Api/AssetsController.php + + - + message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:canCheckoutTo\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Http/Controllers/Api/AssetsController.php + + - + message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:checkOut\(\)\.$#' + identifier: method.notFound + count: 2 + path: app/Http/Controllers/Api/AssetsController.php + + - + message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:getErrors\(\)\.$#' + identifier: method.notFound + count: 2 + path: app/Http/Controllers/Api/AssetsController.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:associate\(\)\.$#' + identifier: method.notFound + count: 2 + path: app/Http/Controllers/Api/AssetsController.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:disassociate\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Http/Controllers/Api/AssetsController.php + + - + message: '#^Left side of && is always true\.$#' + identifier: booleanAnd.leftAlwaysTrue + count: 2 + path: app/Http/Controllers/Api/AssetsController.php + + - + message: '#^Method App\\Http\\Controllers\\Api\\AssetsController\:\:applyAssetUpdate\(\) should return array\{success\: bool, asset\: App\\Models\\Asset\|null, message\: string\|null, errors\: mixed, encrypted_field_warning\: bool, error_response_key\: string\|null\} but returns array\{success\: true, asset\: App\\Models\\SnipeModel, message\: ''admin/hardware…'', errors\: null, encrypted_field_warning\: bool, error_response_key\: null\}\.$#' + identifier: return.type + count: 1 + path: app/Http/Controllers/Api/AssetsController.php + + - + message: '#^Method App\\Http\\Transformers\\AssetsTransformer\:\:transformAsset\(\) invoked with 2 parameters, 1 required\.$#' + identifier: arguments.count + count: 1 + path: app/Http/Controllers/Api/AssetsController.php + + - + message: '#^Method App\\Http\\Transformers\\AssetsTransformer\:\:transformAssets\(\) invoked with 3 parameters, 2 required\.$#' + identifier: arguments.count + count: 1 + path: app/Http/Controllers/Api/AssetsController.php + + - + message: '#^Negated boolean expression is always false\.$#' + identifier: booleanNot.alwaysFalse + count: 1 + path: app/Http/Controllers/Api/AssetsController.php + + - + message: '#^PHPDoc tag @param for parameter \$request with type App\\Http\\Requests\\ImageUploadRequest is not subtype of native type App\\Http\\Requests\\StoreAssetRequest\.$#' + identifier: parameter.phpDocType + count: 1 + path: app/Http/Controllers/Api/AssetsController.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$assetId$#' + identifier: parameter.notFound + count: 5 + path: app/Http/Controllers/Api/AssetsController.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$id$#' + identifier: parameter.notFound + count: 1 + path: app/Http/Controllers/Api/AssetsController.php + + - + message: '#^Property App\\Models\\Asset\:\:\$rtd_location_id \(int\|null\) does not accept string\.$#' + identifier: assign.propertyType + count: 1 + path: app/Http/Controllers/Api/AssetsController.php + + - + message: '#^Relation ''accessories'' is not found in App\\Models\\AccessoryCheckout model\.$#' + identifier: larastan.relationExistence + count: 1 + path: app/Http/Controllers/Api/AssetsController.php + + - + message: '#^Access to an undefined property App\\Models\\Category\:\:\$created_by\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Api/CategoriesController.php + + - + message: '#^Access to an undefined property App\\Models\\Category\:\:\$use_image\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Api/CategoriesController.php + + - + message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:getErrors\(\)\.$#' + identifier: method.notFound + count: 2 + path: app/Http/Controllers/Api/CategoriesController.php + + - + message: '#^Dead catch \- Exception is never thrown in the try block\.$#' + identifier: catch.neverThrown + count: 1 + path: app/Http/Controllers/Api/CategoriesController.php + + - + message: '#^Method Illuminate\\Filesystem\\FilesystemAdapter\:\:url\(\) invoked with 2 parameters, 1 required\.$#' + identifier: arguments.count + count: 1 + path: app/Http/Controllers/Api/CategoriesController.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$id$#' + identifier: parameter.notFound + count: 1 + path: app/Http/Controllers/Api/CategoriesController.php + + - + message: '#^PHPDoc tag @return with type Illuminate\\Http\\Response is incompatible with native type Illuminate\\Http\\JsonResponse\.$#' + identifier: return.phpDocType + count: 3 + path: app/Http/Controllers/Api/CategoriesController.php + + - + message: '#^PHPDoc tag @return with type Illuminate\\Http\\Response is incompatible with native type array\.$#' + identifier: return.phpDocType + count: 1 + path: app/Http/Controllers/Api/CategoriesController.php + + - + message: '#^Static method App\\Helpers\\Helper\:\:formatStandardApiResponse\(\) invoked with 4 parameters, 1\-3 required\.$#' + identifier: arguments.count + count: 1 + path: app/Http/Controllers/Api/CategoriesController.php + + - + message: '#^Access to an undefined property App\\Models\\Company\:\:\$created_by\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Api/CompaniesController.php + + - + message: '#^Access to an undefined property App\\Models\\Company\:\:\$use_disabled\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Api/CompaniesController.php + + - + message: '#^Access to an undefined property App\\Models\\Company\:\:\$use_image\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Api/CompaniesController.php + + - + message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:getErrors\(\)\.$#' + identifier: method.notFound + count: 2 + path: app/Http/Controllers/Api/CompaniesController.php + + - + message: '#^Relation ''parent'' is not found in App\\Models\\Company model\.$#' + identifier: larastan.relationExistence + count: 1 + path: app/Http/Controllers/Api/CompaniesController.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\|Illuminate\\Database\\Eloquent\\Collection\\:\:\$company_id\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Api/ComponentsController.php + + - + message: '#^Access to an undefined property App\\Models\\Component\:\:\$assigned_to\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Api/ComponentsController.php + + - + message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:getErrors\(\)\.$#' + identifier: method.notFound + count: 2 + path: app/Http/Controllers/Api/ComponentsController.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:attach\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Http/Controllers/Api/ComponentsController.php + + - + message: '#^Cannot access property \$asset_id on array\\|object\.$#' + identifier: property.nonObject + count: 1 + path: app/Http/Controllers/Api/ComponentsController.php + + - + message: '#^Cannot access property \$assigned_qty on array\\|object\.$#' + identifier: property.nonObject + count: 3 + path: app/Http/Controllers/Api/ComponentsController.php + + - + message: '#^Cannot access property \$component_id on array\\|object\.$#' + identifier: property.nonObject + count: 1 + path: app/Http/Controllers/Api/ComponentsController.php + + - + message: '#^Cannot access property \$id on array\\|object\.$#' + identifier: property.nonObject + count: 1 + path: app/Http/Controllers/Api/ComponentsController.php + + - + message: '#^If condition is always true\.$#' + identifier: if.alwaysTrue + count: 1 + path: app/Http/Controllers/Api/ComponentsController.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$id$#' + identifier: parameter.notFound + count: 1 + path: app/Http/Controllers/Api/ComponentsController.php + + - + message: '#^Access to an undefined property App\\Models\\Consumable\:\:\$assigned_to\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Api/ConsumablesController.php + + - + message: '#^Access to an undefined property App\\Models\\Consumable\:\:\$checkout_qty\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Api/ConsumablesController.php + + - + message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:getErrors\(\)\.$#' + identifier: method.notFound + count: 2 + path: app/Http/Controllers/Api/ConsumablesController.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:attach\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Http/Controllers/Api/ConsumablesController.php + + - + message: '#^Comparison operation "\<\=" between int\<1, max\> and 0 is always false\.$#' + identifier: smallerOrEqual.alwaysFalse + count: 1 + path: app/Http/Controllers/Api/ConsumablesController.php + + - + message: '#^PHPDoc tag @param for parameter \$request with type App\\Http\\Requests\\ImageUploadRequest is not subtype of native type App\\Http\\Requests\\StoreConsumableRequest\.$#' + identifier: parameter.phpDocType + count: 2 + path: app/Http/Controllers/Api/ConsumablesController.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:attach\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Http/Controllers/Api/CustomFieldsController.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:sync\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Http/Controllers/Api/CustomFieldsController.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$id$#' + identifier: parameter.notFound + count: 1 + path: app/Http/Controllers/Api/CustomFieldsController.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:sync\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Http/Controllers/Api/CustomFieldsetsController.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$id$#' + identifier: parameter.notFound + count: 1 + path: app/Http/Controllers/Api/CustomFieldsetsController.php + + - + message: '#^PHPDoc tag @return with type string is incompatible with native type array\.$#' + identifier: return.phpDocType + count: 2 + path: app/Http/Controllers/Api/CustomFieldsetsController.php + + - + message: '#^Variable \$field_ids might not be defined\.$#' + identifier: variable.undefined + count: 1 + path: app/Http/Controllers/Api/CustomFieldsetsController.php + + - + message: '#^Access to an undefined property App\\Models\\Department\:\:\$use_image\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Api/DepartmentsController.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$created_by\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Api/DepartmentsController.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$manager_id\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Api/DepartmentsController.php + + - + message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:getErrors\(\)\.$#' + identifier: method.notFound + count: 2 + path: app/Http/Controllers/Api/DepartmentsController.php + + - + message: '#^Method Illuminate\\Filesystem\\FilesystemAdapter\:\:url\(\) invoked with 2 parameters, 1 required\.$#' + identifier: arguments.count + count: 1 + path: app/Http/Controllers/Api/DepartmentsController.php + + - + message: '#^PHPDoc tag @param for parameter \$request with type App\\Http\\Requests\\ImageUploadRequest is not subtype of native type App\\Http\\Requests\\StoreDepartmentRequest\.$#' + identifier: parameter.phpDocType + count: 1 + path: app/Http/Controllers/Api/DepartmentsController.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$locationId$#' + identifier: parameter.notFound + count: 1 + path: app/Http/Controllers/Api/DepartmentsController.php + + - + message: '#^Access to an undefined property App\\Models\\Import\:\:\$created_by\.$#' + identifier: property.notFound + count: 3 + path: app/Http/Controllers/Api/ImportController.php + + - + message: '#^Dead catch \- Illuminate\\Database\\Eloquent\\JsonEncodingException is never thrown in the try block\.$#' + identifier: catch.neverThrown + count: 2 + path: app/Http/Controllers/Api/ImportController.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$request$#' + identifier: parameter.notFound + count: 1 + path: app/Http/Controllers/Api/ImportController.php + + - + message: '#^Property App\\Models\\Import\:\:\$filesize \(int\) does not accept null\.$#' + identifier: assign.propertyType + count: 1 + path: app/Http/Controllers/Api/ImportController.php + + - + message: '#^Variable \$model_perms might not be defined\.$#' + identifier: variable.undefined + count: 1 + path: app/Http/Controllers/Api/ImportController.php + + - + message: '#^Method App\\Http\\Transformers\\LabelsTransformer\:\:transformLabels\(\) invoked with 3 parameters, 2 required\.$#' + identifier: arguments.count + count: 1 + path: app/Http/Controllers/Api/LabelsController.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\|Illuminate\\Database\\Eloquent\\Collection\\:\:\$company_id\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Api/LicenseSeatsController.php + + - + message: '#^Call to an undefined method App\\Models\\LicenseSeat\:\:getErrors\(\)\.$#' + identifier: method.notFound + count: 2 + path: app/Http/Controllers/Api/LicenseSeatsController.php + + - + message: '#^If condition is always true\.$#' + identifier: if.alwaysTrue + count: 1 + path: app/Http/Controllers/Api/LicenseSeatsController.php + + - + message: '#^Negated boolean expression is always false\.$#' + identifier: booleanNot.alwaysFalse + count: 1 + path: app/Http/Controllers/Api/LicenseSeatsController.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\|Illuminate\\Database\\Eloquent\\Collection\\:\:\$company_id\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Api/LicensesController.php + + - + message: '#^Access to an undefined property App\\Models\\License\:\:\$created_by\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Api/LicensesController.php + + - + message: '#^Call to an undefined method App\\Models\\LicenseSeat\:\:getErrors\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Http/Controllers/Api/LicensesController.php + + - + message: '#^Access to an undefined property App\\Models\\Location\:\:\$use_text\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Api/LocationsController.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$company_id\.$#' + identifier: property.notFound + count: 5 + path: app/Http/Controllers/Api/LocationsController.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$parent_id\.$#' + identifier: property.notFound + count: 2 + path: app/Http/Controllers/Api/LocationsController.php + + - + message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:getErrors\(\)\.$#' + identifier: method.notFound + count: 2 + path: app/Http/Controllers/Api/LocationsController.php + + - + message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:isValid\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Http/Controllers/Api/LocationsController.php + + - + message: '#^Method App\\Http\\Transformers\\AssetsTransformer\:\:transformAssets\(\) invoked with 3 parameters, 2 required\.$#' + identifier: arguments.count + count: 2 + path: app/Http/Controllers/Api/LocationsController.php + + - + message: '#^PHPDoc tag @return with type Illuminate\\Http\\Response is incompatible with native type array\|Illuminate\\Http\\JsonResponse\.$#' + identifier: return.phpDocType + count: 1 + path: app/Http/Controllers/Api/LocationsController.php + + - + message: '#^Relation ''accessories'' is not found in App\\Models\\AccessoryCheckout model\.$#' + identifier: larastan.relationExistence + count: 1 + path: app/Http/Controllers/Api/LocationsController.php + + - + message: '#^Using nullsafe property access "\?\-\>name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 4 + path: app/Http/Controllers/Api/LocationsController.php + + - + message: '#^Access to an undefined property App\\Models\\Actionlog\:\:\$created_by\.$#' + identifier: property.notFound + count: 3 + path: app/Http/Controllers/Api/MaintenancesController.php + + - + message: '#^Access to an undefined property App\\Models\\Maintenance\:\:\$asset\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Api/MaintenancesController.php + + - + message: '#^Access to an undefined property App\\Models\\Maintenance\:\:\$created_by\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Api/MaintenancesController.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$asset\.$#' + identifier: property.notFound + count: 2 + path: app/Http/Controllers/Api/MaintenancesController.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$asset_id\.$#' + identifier: property.notFound + count: 2 + path: app/Http/Controllers/Api/MaintenancesController.php + + - + message: '#^Call to an undefined method App\\Models\\Builders\\MaintenanceQueryBuilder\:\:TextSearch\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Http/Controllers/Api/MaintenancesController.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:getErrors\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Http/Controllers/Api/MaintenancesController.php + + - + message: '#^Call to method Illuminate\\Support\\Collection\<\*NEVER\*,\*NEVER\*\>\:\:isEmpty\(\) will always evaluate to true\.$#' + identifier: method.alreadyNarrowedType + count: 1 + path: app/Http/Controllers/Api/MaintenancesController.php + + - + message: '#^Call to method Illuminate\\Support\\Collection\<\*NEVER\*,\*NEVER\*\>\:\:isNotEmpty\(\) will always evaluate to false\.$#' + identifier: method.impossibleType + count: 1 + path: app/Http/Controllers/Api/MaintenancesController.php + + - + message: '#^PHPDoc tag @param for parameter \$request with type int is incompatible with native type Illuminate\\Http\\Request\.$#' + identifier: parameter.phpDocType + count: 1 + path: app/Http/Controllers/Api/MaintenancesController.php + + - + message: '#^Relation ''asset'' is not found in App\\Models\\Maintenance model\.$#' + identifier: larastan.relationExistence + count: 1 + path: app/Http/Controllers/Api/MaintenancesController.php + + - + message: '#^Access to an undefined property App\\Models\\Actionlog\:\:\$created_by\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Api/ManufacturersController.php + + - + message: '#^Access to an undefined property App\\Models\\Manufacturer\:\:\$use_image\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Api/ManufacturersController.php + + - + message: '#^Access to an undefined property App\\Models\\Manufacturer\:\:\$use_text\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Api/ManufacturersController.php + + - + message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:getErrors\(\)\.$#' + identifier: method.notFound + count: 2 + path: app/Http/Controllers/Api/ManufacturersController.php + + - + message: '#^Dead catch \- Exception is never thrown in the try block\.$#' + identifier: catch.neverThrown + count: 1 + path: app/Http/Controllers/Api/ManufacturersController.php + + - + message: '#^Method Illuminate\\Filesystem\\FilesystemAdapter\:\:url\(\) invoked with 2 parameters, 1 required\.$#' + identifier: arguments.count + count: 1 + path: app/Http/Controllers/Api/ManufacturersController.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$id$#' + identifier: parameter.notFound + count: 1 + path: app/Http/Controllers/Api/ManufacturersController.php + + - + message: '#^PHPDoc tag @return with type Illuminate\\Http\\Response is incompatible with native type array\|Illuminate\\Http\\JsonResponse\.$#' + identifier: return.phpDocType + count: 1 + path: app/Http/Controllers/Api/ManufacturersController.php + + - + message: '#^Access to an undefined property App\\Models\\Actionlog\:\:\$created_by\.$#' + identifier: property.notFound + count: 2 + path: app/Http/Controllers/Api/NotesController.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$request$#' + identifier: parameter.notFound + count: 1 + path: app/Http/Controllers/Api/NotesController.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:attach\(\)\.$#' + identifier: method.notFound + count: 4 + path: app/Http/Controllers/Api/PredefinedKitsController.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:detach\(\)\.$#' + identifier: method.notFound + count: 8 + path: app/Http/Controllers/Api/PredefinedKitsController.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:syncWithoutDetaching\(\)\.$#' + identifier: method.notFound + count: 4 + path: app/Http/Controllers/Api/PredefinedKitsController.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$id$#' + identifier: parameter.notFound + count: 4 + path: app/Http/Controllers/Api/PredefinedKitsController.php + + - + message: '#^PHPDoc tag @return with type Illuminate\\Http\\Response is incompatible with native type Illuminate\\Http\\JsonResponse\.$#' + identifier: return.phpDocType + count: 1 + path: app/Http/Controllers/Api/PredefinedKitsController.php + + - + message: '#^PHPDoc tag @return with type Illuminate\\Http\\Response is incompatible with native type array\.$#' + identifier: return.phpDocType + count: 1 + path: app/Http/Controllers/Api/PredefinedKitsController.php + + - + message: '#^PHPDoc tag @return with type Illuminate\\Http\\Response is incompatible with native type array\|Illuminate\\Http\\JsonResponse\.$#' + identifier: return.phpDocType + count: 1 + path: app/Http/Controllers/Api/PredefinedKitsController.php + + - + message: '#^Access to an undefined property App\\Http\\Controllers\\Api\\ProfileController\:\:\$validation\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Api/ProfileController.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$client\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Api/ProfileController.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$revoked\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Api/ProfileController.php + + - + message: '#^Left side of && is always true\.$#' + identifier: booleanAnd.leftAlwaysTrue + count: 1 + path: app/Http/Controllers/Api/ProfileController.php + + - + message: '#^PHPDoc tag @param for parameter \$transformer with type App\\Http\\Transformers\\ActionlogsTransformer is incompatible with native type App\\Http\\Transformers\\ProfileTransformer\.$#' + identifier: parameter.phpDocType + count: 1 + path: app/Http/Controllers/Api/ProfileController.php + + - + message: '#^Relation ''asset'' is not found in App\\Models\\Maintenance model\.$#' + identifier: larastan.relationExistence + count: 1 + path: app/Http/Controllers/Api/ReportsController.php + + - + message: '#^Access to an undefined property Illuminate\\Pagination\\LengthAwarePaginator\\:\:\$use_text\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Api/StatuslabelsController.php + + - + message: '#^Offset ''archived'' does not exist on string\.$#' + identifier: offsetAccess.notFound + count: 2 + path: app/Http/Controllers/Api/StatuslabelsController.php + + - + message: '#^Offset ''deployable'' does not exist on string\.$#' + identifier: offsetAccess.notFound + count: 2 + path: app/Http/Controllers/Api/StatuslabelsController.php + + - + message: '#^Offset ''pending'' does not exist on string\.$#' + identifier: offsetAccess.notFound + count: 2 + path: app/Http/Controllers/Api/StatuslabelsController.php + + - + message: '#^Access to an undefined property App\\Models\\Supplier\:\:\$asset_maintenances_count\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Api/SuppliersController.php + + - + message: '#^Access to an undefined property App\\Models\\Supplier\:\:\$use_image\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Api/SuppliersController.php + + - + message: '#^Access to an undefined property App\\Models\\Supplier\:\:\$use_text\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Api/SuppliersController.php + + - + message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:getErrors\(\)\.$#' + identifier: method.notFound + count: 2 + path: app/Http/Controllers/Api/SuppliersController.php + + - + message: '#^Dead catch \- Exception is never thrown in the try block\.$#' + identifier: catch.neverThrown + count: 1 + path: app/Http/Controllers/Api/SuppliersController.php + + - + message: '#^Method Illuminate\\Filesystem\\FilesystemAdapter\:\:url\(\) invoked with 2 parameters, 1 required\.$#' + identifier: arguments.count + count: 1 + path: app/Http/Controllers/Api/SuppliersController.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$id$#' + identifier: parameter.notFound + count: 1 + path: app/Http/Controllers/Api/SuppliersController.php + + - + message: '#^PHPDoc tag @return with type Illuminate\\Http\\Response is incompatible with native type array\.$#' + identifier: return.phpDocType + count: 1 + path: app/Http/Controllers/Api/SuppliersController.php + + - + message: '#^If condition is always true\.$#' + identifier: if.alwaysTrue + count: 1 + path: app/Http/Controllers/Api/UploadedFilesController.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$request$#' + identifier: parameter.notFound + count: 2 + path: app/Http/Controllers/Api/UploadedFilesController.php + + - + message: '#^Static method App\\Helpers\\Helper\:\:formatStandardApiResponse\(\) invoked with 4 parameters, 1\-3 required\.$#' + identifier: arguments.count + count: 1 + path: app/Http/Controllers/Api/UploadedFilesController.php + + - + message: '#^Static method Illuminate\\Contracts\\Filesystem\\Filesystem\:\:makeDirectory\(\) invoked with 2 parameters, 1 required\.$#' + identifier: arguments.count + count: 1 + path: app/Http/Controllers/Api/UploadedFilesController.php + + - + message: '#^Access to an undefined property App\\Models\\Actionlog\:\:\$created_by\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Api/UsersController.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Builder\:\:withoutTrashed\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Http/Controllers/Api/UsersController.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:sync\(\)\.$#' + identifier: method.notFound + count: 2 + path: app/Http/Controllers/Api/UsersController.php + + - + message: '#^Method App\\Http\\Transformers\\AssetsTransformer\:\:transformAssets\(\) invoked with 3 parameters, 2 required\.$#' + identifier: arguments.count + count: 1 + path: app/Http/Controllers/Api/UsersController.php + + - + message: '#^Method App\\Http\\Transformers\\ConsumablesTransformer\:\:transformConsumables\(\) invoked with 3 parameters, 2 required\.$#' + identifier: arguments.count + count: 1 + path: app/Http/Controllers/Api/UsersController.php + + - + message: '#^PHPDoc tag @param for parameter \$request with type Illuminate\\Http\\Request is not subtype of native type App\\Http\\Requests\\SaveUserRequest\.$#' + identifier: parameter.phpDocType + count: 2 + path: app/Http/Controllers/Api/UsersController.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$id$#' + identifier: parameter.notFound + count: 1 + path: app/Http/Controllers/Api/UsersController.php + + - + message: '#^Relation ''assignedMaintenances'' is not found in App\\Models\\User model\.$#' + identifier: larastan.relationExistence + count: 1 + path: app/Http/Controllers/Api/UsersController.php + + - + message: '#^Access to an undefined property App\\Models\\Actionlog\:\:\$created_by\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/AssetModelsController.php + + - + message: '#^Access to an undefined property App\\Models\\AssetModel\:\:\$created_by\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/AssetModelsController.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$category_id\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/AssetModelsController.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$depreciation_id\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/AssetModelsController.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$eol\.$#' + identifier: property.notFound + count: 2 + path: app/Http/Controllers/AssetModelsController.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$fieldset_id\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/AssetModelsController.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$manufacturer_id\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/AssetModelsController.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$min_amt\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/AssetModelsController.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$model_number\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/AssetModelsController.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$name\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/AssetModelsController.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$notes\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/AssetModelsController.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$requestable\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/AssetModelsController.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$require_serial\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/AssetModelsController.php + + - + message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:assets\(\)\.$#' + identifier: method.notFound + count: 2 + path: app/Http/Controllers/AssetModelsController.php + + - + message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:defaultValues\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Http/Controllers/AssetModelsController.php + + - + message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:getErrors\(\)\.$#' + identifier: method.notFound + count: 2 + path: app/Http/Controllers/AssetModelsController.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:attach\(\)\.$#' + identifier: method.notFound + count: 2 + path: app/Http/Controllers/AssetModelsController.php + + - + message: '#^PHPDoc tag @param for parameter \$request with type App\\Http\\Requests\\ImageUploadRequest is not subtype of native type App\\Http\\Requests\\StoreAssetModelRequest\.$#' + identifier: parameter.phpDocType + count: 2 + path: app/Http/Controllers/AssetModelsController.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$modelId$#' + identifier: parameter.notFound + count: 6 + path: app/Http/Controllers/AssetModelsController.php + + - + message: '#^Property App\\Models\\AssetModel\:\:\$id \(int\) does not accept null\.$#' + identifier: assign.propertyType + count: 1 + path: app/Http/Controllers/AssetModelsController.php + + - + message: '#^Property App\\Models\\AssetModel\:\:\$requestable \(int\) does not accept bool\.$#' + identifier: assign.propertyType + count: 1 + path: app/Http/Controllers/AssetModelsController.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$last_checkin\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Assets/AssetCheckinController.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$location_id\.$#' + identifier: property.notFound + count: 5 + path: app/Http/Controllers/Assets/AssetCheckinController.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$requestable\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Assets/AssetCheckinController.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:disassociate\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Http/Controllers/Assets/AssetCheckinController.php + + - + message: '#^Match expression does not handle remaining values\: string\|null$#' + identifier: match.unhandled + count: 1 + path: app/Http/Controllers/Assets/AssetCheckinController.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$assetId$#' + identifier: parameter.notFound + count: 1 + path: app/Http/Controllers/Assets/AssetCheckinController.php + + - + message: '#^Property App\\Models\\Asset\:\:\$rtd_location_id \(int\|null\) does not accept string\.$#' + identifier: assign.propertyType + count: 1 + path: app/Http/Controllers/Assets/AssetCheckinController.php + + - + message: '#^Property App\\Models\\Asset\:\:\$status_id \(int\|null\) does not accept string\.$#' + identifier: assign.propertyType + count: 1 + path: app/Http/Controllers/Assets/AssetCheckinController.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$display_name\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Assets/AssetCheckoutController.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$location_id\.$#' + identifier: property.notFound + count: 3 + path: app/Http/Controllers/Assets/AssetCheckoutController.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$requestable\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Assets/AssetCheckoutController.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$location_id\.$#' + identifier: property.notFound + count: 2 + path: app/Http/Controllers/Assets/AssetCheckoutController.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$rtd_location_id\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Assets/AssetCheckoutController.php + + - + message: '#^Method App\\Http\\Controllers\\Assets\\AssetCheckoutController\:\:create\(\) should return Illuminate\\Contracts\\View\\View but returns Illuminate\\Http\\RedirectResponse\.$#' + identifier: return.type + count: 3 + path: app/Http/Controllers/Assets/AssetCheckoutController.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$assetId$#' + identifier: parameter.notFound + count: 1 + path: app/Http/Controllers/Assets/AssetCheckoutController.php + + - + message: '#^Unreachable statement \- code above always terminates\.$#' + identifier: deadCode.unreachable + count: 1 + path: app/Http/Controllers/Assets/AssetCheckoutController.php + + - + message: '#^Using nullsafe property access "\?\-\>name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: app/Http/Controllers/Assets/AssetCheckoutController.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$accessories\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Assets/AssetsController.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$asset_eol_date\.$#' + identifier: property.notFound + count: 4 + path: app/Http/Controllers/Assets/AssetsController.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$company_id\.$#' + identifier: property.notFound + count: 2 + path: app/Http/Controllers/Assets/AssetsController.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$created_by\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Assets/AssetsController.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$last_audit_date\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Assets/AssetsController.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$last_checkin\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Assets/AssetsController.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$location_id\.$#' + identifier: property.notFound + count: 3 + path: app/Http/Controllers/Assets/AssetsController.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$next_audit_date\.$#' + identifier: property.notFound + count: 3 + path: app/Http/Controllers/Assets/AssetsController.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$requestable\.$#' + identifier: property.notFound + count: 2 + path: app/Http/Controllers/Assets/AssetsController.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\|Illuminate\\Database\\Eloquent\\Collection\\:\:\$location_id\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Assets/AssetsController.php + + - + message: '#^Access to an undefined property App\\Models\\CheckoutRequest\:\:\$requestable\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Assets/AssetsController.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$asset_tag\.$#' + identifier: property.notFound + count: 2 + path: app/Http/Controllers/Assets/AssetsController.php + + - + message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:checkOut\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Http/Controllers/Assets/AssetsController.php + + - + message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:getErrors\(\)\.$#' + identifier: method.notFound + count: 3 + path: app/Http/Controllers/Assets/AssetsController.php + + - + message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:isValid\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Http/Controllers/Assets/AssetsController.php + + - + message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:throwValidationException\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Http/Controllers/Assets/AssetsController.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:AssetsForShow\(\)\.$#' + identifier: method.notFound + count: 2 + path: app/Http/Controllers/Assets/AssetsController.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:associate\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Http/Controllers/Assets/AssetsController.php + + - + message: '#^If condition is always true\.$#' + identifier: if.alwaysTrue + count: 1 + path: app/Http/Controllers/Assets/AssetsController.php + + - + message: '#^Method App\\Http\\Controllers\\Assets\\AssetsController\:\:getBarCode\(\) should return Illuminate\\Http\\Response but returns Symfony\\Component\\HttpFoundation\\BinaryFileResponse\.$#' + identifier: return.type + count: 1 + path: app/Http/Controllers/Assets/AssetsController.php + + - + message: '#^Method App\\Http\\Controllers\\Assets\\AssetsController\:\:getBarCode\(\) should return Illuminate\\Http\\Response but returns null\.$#' + identifier: return.type + count: 1 + path: app/Http/Controllers/Assets/AssetsController.php + + - + message: '#^Method App\\Http\\Controllers\\Assets\\AssetsController\:\:getLabel\(\) should return Illuminate\\Contracts\\View\\View but return statement is missing\.$#' + identifier: return.missing + count: 1 + path: app/Http/Controllers/Assets/AssetsController.php + + - + message: '#^Method App\\Http\\Controllers\\Assets\\AssetsController\:\:getRestore\(\) should return Illuminate\\Contracts\\View\\View but returns Illuminate\\Http\\RedirectResponse\.$#' + identifier: return.type + count: 5 + path: app/Http/Controllers/Assets/AssetsController.php + + - + message: '#^Negated boolean expression is always true\.$#' + identifier: booleanNot.alwaysTrue + count: 1 + path: app/Http/Controllers/Assets/AssetsController.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$assetId$#' + identifier: parameter.notFound + count: 5 + path: app/Http/Controllers/Assets/AssetsController.php + + - + message: '#^Property App\\Models\\Asset\:\:\$assigned_to \(int\|null\) does not accept string\.$#' + identifier: assign.propertyType + count: 1 + path: app/Http/Controllers/Assets/AssetsController.php + + - + message: '#^Property App\\Models\\Asset\:\:\$id \(int\) does not accept null\.$#' + identifier: assign.propertyType + count: 1 + path: app/Http/Controllers/Assets/AssetsController.php + + - + message: '#^Relation ''user'' is not found in App\\Models\\CheckoutRequest model\.$#' + identifier: larastan.relationExistence + count: 1 + path: app/Http/Controllers/Assets/AssetsController.php + + - + message: '#^Result of && is always false\.$#' + identifier: booleanAnd.alwaysFalse + count: 4 + path: app/Http/Controllers/Assets/AssetsController.php + + - + message: '#^Strict comparison using \=\=\= between bool and 1 will always evaluate to false\.$#' + identifier: identical.alwaysFalse + count: 2 + path: app/Http/Controllers/Assets/AssetsController.php + + - + message: '#^Unreachable statement \- code above always terminates\.$#' + identifier: deadCode.unreachable + count: 1 + path: app/Http/Controllers/Assets/AssetsController.php + + - + message: '#^Using nullsafe method call on non\-nullable type Illuminate\\Database\\Eloquent\\Relations\\Relation\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 2 + path: app/Http/Controllers/Assets/AssetsController.php + + - + message: '#^Variable \$asset in isset\(\) always exists and is not nullable\.$#' + identifier: isset.variable + count: 1 + path: app/Http/Controllers/Assets/AssetsController.php + + - + message: '#^Variable \$serial_errors in empty\(\) always exists and is always falsy\.$#' + identifier: empty.variable + count: 1 + path: app/Http/Controllers/Assets/AssetsController.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$asset_eol_date\.$#' + identifier: property.notFound + count: 2 + path: app/Http/Controllers/Assets/BulkAssetsController.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$company_id\.$#' + identifier: property.notFound + count: 2 + path: app/Http/Controllers/Assets/BulkAssetsController.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$last_audit_date\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Assets/BulkAssetsController.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$last_checkin\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Assets/BulkAssetsController.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$location_id\.$#' + identifier: property.notFound + count: 9 + path: app/Http/Controllers/Assets/BulkAssetsController.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$next_audit_date\.$#' + identifier: property.notFound + count: 3 + path: app/Http/Controllers/Assets/BulkAssetsController.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$requestable\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Assets/BulkAssetsController.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$location_id\.$#' + identifier: property.notFound + count: 3 + path: app/Http/Controllers/Assets/BulkAssetsController.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$rtd_location_id\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Assets/BulkAssetsController.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:disassociate\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Http/Controllers/Assets/BulkAssetsController.php + + - + message: '#^Called ''pluck'' on Laravel collection, but could have been retrieved as a query\.$#' + identifier: larastan.noUnnecessaryCollectionCall + count: 1 + path: app/Http/Controllers/Assets/BulkAssetsController.php + + - + message: '#^Property App\\Models\\Asset\:\:\$rtd_location_id \(int\|null\) does not accept string\.$#' + identifier: assign.propertyType + count: 1 + path: app/Http/Controllers/Assets/BulkAssetsController.php + + - + message: '#^Right side of \|\| is always false\.$#' + identifier: booleanOr.rightAlwaysFalse + count: 1 + path: app/Http/Controllers/Assets/BulkAssetsController.php + + - + message: '#^Strict comparison using \=\=\= between bool and 1 will always evaluate to false\.$#' + identifier: identical.alwaysFalse + count: 1 + path: app/Http/Controllers/Assets/BulkAssetsController.php + + - + message: '#^Unreachable statement \- code above always terminates\.$#' + identifier: deadCode.unreachable + count: 1 + path: app/Http/Controllers/Assets/BulkAssetsController.php + + - + message: '#^Access to an undefined property App\\Http\\Controllers\\Auth\\LoginController\:\:\$decayMinutes\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Auth/LoginController.php + + - + message: '#^Access to an undefined property App\\Http\\Controllers\\Auth\\LoginController\:\:\$maxAttempts\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Auth/LoginController.php + + - + message: '#^Call to function is_null\(\) with App\\Models\\User will always evaluate to false\.$#' + identifier: function.impossibleType + count: 1 + path: app/Http/Controllers/Auth/LoginController.php + + - + message: '#^Call to method getMessage\(\) on an unknown class App\\Http\\Controllers\\Auth\\Exception\.$#' + identifier: class.notFound + count: 1 + path: app/Http/Controllers/Auth/LoginController.php + + - + message: '#^Call to method getSLOurl\(\) on an unknown class App\\Services\\OneLogin\\Saml2\\Auth\.$#' + identifier: class.notFound + count: 1 + path: app/Http/Controllers/Auth/LoginController.php + + - + message: '#^Call to method logout\(\) on an unknown class App\\Services\\OneLogin\\Saml2\\Auth\.$#' + identifier: class.notFound + count: 1 + path: app/Http/Controllers/Auth/LoginController.php + + - + message: '#^Caught class App\\Http\\Controllers\\Auth\\Exception not found\.$#' + identifier: class.notFound + count: 1 + path: app/Http/Controllers/Auth/LoginController.php + + - + message: '#^Method App\\Http\\Controllers\\Auth\\LoginController\:\:getTwoFactorAuth\(\) should return Illuminate\\Http\\RedirectResponse but returns Illuminate\\View\\View\.$#' + identifier: return.type + count: 1 + path: app/Http/Controllers/Auth/LoginController.php + + - + message: '#^Method App\\Http\\Controllers\\Auth\\LoginController\:\:getTwoFactorEnroll\(\) should return Illuminate\\Http\\RedirectResponse but returns Illuminate\\View\\View\.$#' + identifier: return.type + count: 1 + path: app/Http/Controllers/Auth/LoginController.php + + - + message: '#^Method App\\Http\\Controllers\\Auth\\LoginController\:\:login\(\) should return Illuminate\\Http\\RedirectResponse but returns Illuminate\\View\\View\.$#' + identifier: return.type + count: 2 + path: app/Http/Controllers/Auth/LoginController.php + + - + message: '#^Method App\\Http\\Controllers\\Auth\\LoginController\:\:login\(\) should return Illuminate\\Http\\RedirectResponse but returns Symfony\\Component\\HttpFoundation\\Response\.$#' + identifier: return.type + count: 1 + path: app/Http/Controllers/Auth/LoginController.php + + - + message: '#^Method App\\Http\\Controllers\\Auth\\LoginController\:\:loginViaSaml\(\) should return App\\Models\\User but return statement is missing\.$#' + identifier: return.missing + count: 2 + path: app/Http/Controllers/Auth/LoginController.php + + - + message: '#^Method App\\Http\\Controllers\\Auth\\LoginController\:\:logout\(\) has invalid return type App\\Http\\Controllers\\Auth\\Illuminate\\Http\\RedirectResponse\.$#' + identifier: class.notFound + count: 1 + path: app/Http/Controllers/Auth/LoginController.php + + - + message: '#^Method App\\Http\\Controllers\\Auth\\LoginController\:\:logout\(\) should return App\\Http\\Controllers\\Auth\\Illuminate\\Http\\RedirectResponse but returns Illuminate\\Http\\RedirectResponse\.$#' + identifier: return.type + count: 4 + path: app/Http/Controllers/Auth/LoginController.php + + - + message: '#^Negated boolean expression is always true\.$#' + identifier: booleanNot.alwaysTrue + count: 1 + path: app/Http/Controllers/Auth/LoginController.php + + - + message: '#^Property App\\Models\\User\:\:\$activated \(bool\) does not accept int\.$#' + identifier: assign.propertyType + count: 1 + path: app/Http/Controllers/Auth/LoginController.php + + - + message: '#^Call to method getErrors\(\) on an unknown class App\\Services\\OneLogin\\Saml2\\Auth\.$#' + identifier: class.notFound + count: 2 + path: app/Http/Controllers/Auth/SamlController.php + + - + message: '#^Call to method getLastErrorReason\(\) on an unknown class App\\Services\\OneLogin\\Saml2\\Auth\.$#' + identifier: class.notFound + count: 2 + path: app/Http/Controllers/Auth/SamlController.php + + - + message: '#^Call to method login\(\) on an unknown class App\\Services\\OneLogin\\Saml2\\Auth\.$#' + identifier: class.notFound + count: 1 + path: app/Http/Controllers/Auth/SamlController.php + + - + message: '#^Call to method processResponse\(\) on an unknown class App\\Services\\OneLogin\\Saml2\\Auth\.$#' + identifier: class.notFound + count: 1 + path: app/Http/Controllers/Auth/SamlController.php + + - + message: '#^Call to method processSLO\(\) on an unknown class App\\Services\\OneLogin\\Saml2\\Auth\.$#' + identifier: class.notFound + count: 1 + path: app/Http/Controllers/Auth/SamlController.php + + - + message: '#^Method App\\Http\\Controllers\\Auth\\SamlController\:\:metadata\(\) has invalid return type App\\Http\\Controllers\\Auth\\Response\.$#' + identifier: class.notFound + count: 1 + path: app/Http/Controllers/Auth/SamlController.php + + - + message: '#^Method App\\Http\\Controllers\\Auth\\SamlController\:\:metadata\(\) should return App\\Http\\Controllers\\Auth\\Response but returns Illuminate\\Http\\Response\.$#' + identifier: return.type + count: 1 + path: app/Http/Controllers/Auth/SamlController.php + + - + message: '#^Method App\\Http\\Controllers\\Auth\\SamlController\:\:metadata\(\) should return App\\Http\\Controllers\\Auth\\Response but returns Symfony\\Component\\HttpFoundation\\StreamedResponse\.$#' + identifier: return.type + count: 1 + path: app/Http/Controllers/Auth/SamlController.php + + - + message: '#^Method App\\Http\\Controllers\\Auth\\SamlController\:\:sls\(\) should return Illuminate\\Http\\RedirectResponse but returns Illuminate\\View\\View\.$#' + identifier: return.type + count: 1 + path: app/Http/Controllers/Auth/SamlController.php + + - + message: '#^Dead catch \- Exception is never thrown in the try block\.$#' + identifier: catch.neverThrown + count: 1 + path: app/Http/Controllers/BulkCategoriesController.php + + - + message: '#^Dead catch \- Exception is never thrown in the try block\.$#' + identifier: catch.neverThrown + count: 1 + path: app/Http/Controllers/BulkCompaniesController.php + + - + message: '#^Dead catch \- Exception is never thrown in the try block\.$#' + identifier: catch.neverThrown + count: 1 + path: app/Http/Controllers/BulkDepartmentsController.php + + - + message: '#^Dead catch \- Exception is never thrown in the try block\.$#' + identifier: catch.neverThrown + count: 1 + path: app/Http/Controllers/BulkDepreciationsController.php + + - + message: '#^Access to an undefined property App\\Models\\Actionlog\:\:\$created_by\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/BulkMaintenancesController.php + + - + message: '#^Dead catch \- Exception is never thrown in the try block\.$#' + identifier: catch.neverThrown + count: 1 + path: app/Http/Controllers/BulkManufacturersController.php + + - + message: '#^Dead catch \- Exception is never thrown in the try block\.$#' + identifier: catch.neverThrown + count: 1 + path: app/Http/Controllers/BulkStatuslabelsController.php + + - + message: '#^Access to an undefined property App\\Models\\Supplier\|Illuminate\\Database\\Eloquent\\Collection\\:\:\$asset_maintenances_count\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/BulkSuppliersController.php + + - + message: '#^Dead catch \- Exception is never thrown in the try block\.$#' + identifier: catch.neverThrown + count: 1 + path: app/Http/Controllers/BulkSuppliersController.php + + - + message: '#^Access to an undefined property App\\Models\\Category\:\:\$created_by\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/CategoriesController.php + + - + message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:getErrors\(\)\.$#' + identifier: method.notFound + count: 2 + path: app/Http/Controllers/CategoriesController.php + + - + message: '#^Dead catch \- Exception is never thrown in the try block\.$#' + identifier: catch.neverThrown + count: 1 + path: app/Http/Controllers/CategoriesController.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$categoryId$#' + identifier: parameter.notFound + count: 3 + path: app/Http/Controllers/CategoriesController.php + + - + message: '#^Access to an undefined property App\\Models\\Company\:\:\$created_by\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/CompaniesController.php + + - + message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:getErrors\(\)\.$#' + identifier: method.notFound + count: 2 + path: app/Http/Controllers/CompaniesController.php + + - + message: '#^PHPDoc tag @param for parameter \$request with type Illuminate\\Http\\Request is not subtype of native type App\\Http\\Requests\\ImageUploadRequest\.$#' + identifier: parameter.phpDocType + count: 1 + path: app/Http/Controllers/CompaniesController.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$companyId$#' + identifier: parameter.notFound + count: 2 + path: app/Http/Controllers/CompaniesController.php + + - + message: '#^Cannot access property \$asset_id on array\\|object\.$#' + identifier: property.nonObject + count: 2 + path: app/Http/Controllers/Components/ComponentCheckinController.php + + - + message: '#^Cannot access property \$assigned_qty on array\\|object\.$#' + identifier: property.nonObject + count: 3 + path: app/Http/Controllers/Components/ComponentCheckinController.php + + - + message: '#^Cannot access property \$component_id on array\\|object\.$#' + identifier: property.nonObject + count: 2 + path: app/Http/Controllers/Components/ComponentCheckinController.php + + - + message: '#^Method App\\Http\\Controllers\\Components\\ComponentCheckinController\:\:create\(\) should return Illuminate\\Contracts\\View\\View but returns Illuminate\\Http\\RedirectResponse\.$#' + identifier: return.type + count: 3 + path: app/Http/Controllers/Components/ComponentCheckinController.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\|Illuminate\\Database\\Eloquent\\Collection\\:\:\$display_name\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Components/ComponentCheckoutController.php + + - + message: '#^Access to an undefined property App\\Models\\Component\:\:\$asset_id\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Components/ComponentCheckoutController.php + + - + message: '#^Access to an undefined property App\\Models\\Component\:\:\$checkout_qty\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Components/ComponentCheckoutController.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:attach\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Http/Controllers/Components/ComponentCheckoutController.php + + - + message: '#^Method App\\Http\\Controllers\\Components\\ComponentCheckoutController\:\:create\(\) should return Illuminate\\Contracts\\View\\View but returns Illuminate\\Http\\RedirectResponse\.$#' + identifier: return.type + count: 3 + path: app/Http/Controllers/Components/ComponentCheckoutController.php + + - + message: '#^Using nullsafe property access "\?\-\>name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: app/Http/Controllers/Components/ComponentCheckoutController.php + + - + message: '#^Access to an undefined property App\\Models\\Component\:\:\$created_by\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Components/ComponentsController.php + + - + message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:getErrors\(\)\.$#' + identifier: method.notFound + count: 2 + path: app/Http/Controllers/Components/ComponentsController.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$componentId$#' + identifier: parameter.notFound + count: 3 + path: app/Http/Controllers/Components/ComponentsController.php + + - + message: '#^Property App\\Models\\Component\:\:\$id \(int\) does not accept null\.$#' + identifier: assign.propertyType + count: 1 + path: app/Http/Controllers/Components/ComponentsController.php + + - + message: '#^Access to an undefined property App\\Models\\Consumable\:\:\$assigned_to\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Consumables/ConsumableCheckoutController.php + + - + message: '#^Access to an undefined property App\\Models\\Consumable\:\:\$checkout_qty\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Consumables/ConsumableCheckoutController.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:attach\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Http/Controllers/Consumables/ConsumableCheckoutController.php + + - + message: '#^Using nullsafe property access "\?\-\>name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: app/Http/Controllers/Consumables/ConsumableCheckoutController.php + + - + message: '#^Access to an undefined property App\\Models\\Consumable\:\:\$created_by\.$#' + identifier: property.notFound + count: 2 + path: app/Http/Controllers/Consumables/ConsumablesController.php + + - + message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:getErrors\(\)\.$#' + identifier: method.notFound + count: 2 + path: app/Http/Controllers/Consumables/ConsumablesController.php + + - + message: '#^PHPDoc tag @param for parameter \$request with type App\\Http\\Requests\\ImageUploadRequest is not subtype of native type App\\Http\\Requests\\StoreConsumableRequest\.$#' + identifier: parameter.phpDocType + count: 2 + path: app/Http/Controllers/Consumables/ConsumablesController.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$consumableId$#' + identifier: parameter.notFound + count: 3 + path: app/Http/Controllers/Consumables/ConsumablesController.php + + - + message: '#^Property App\\Models\\Consumable\:\:\$id \(int\) does not accept null\.$#' + identifier: assign.propertyType + count: 1 + path: app/Http/Controllers/Consumables/ConsumablesController.php + + - + message: '#^Property App\\Models\\Consumable\:\:\$qty \(int\) does not accept string\.$#' + identifier: assign.propertyType + count: 1 + path: app/Http/Controllers/Consumables/ConsumablesController.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:detach\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Http/Controllers/CustomFieldsController.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:attach\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Http/Controllers/CustomFieldsetsController.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:sync\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Http/Controllers/CustomFieldsetsController.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:syncWithoutDetaching\(\)\.$#' + identifier: method.notFound + count: 2 + path: app/Http/Controllers/CustomFieldsetsController.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$id$#' + identifier: parameter.notFound + count: 3 + path: app/Http/Controllers/CustomFieldsetsController.php + + - + message: '#^Variable \$field_ids might not be defined\.$#' + identifier: variable.undefined + count: 1 + path: app/Http/Controllers/CustomFieldsetsController.php + + - + message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:getErrors\(\)\.$#' + identifier: method.notFound + count: 2 + path: app/Http/Controllers/DepartmentsController.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$departmentId$#' + identifier: parameter.notFound + count: 2 + path: app/Http/Controllers/DepartmentsController.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$id$#' + identifier: parameter.notFound + count: 1 + path: app/Http/Controllers/DepartmentsController.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$locationId$#' + identifier: parameter.notFound + count: 1 + path: app/Http/Controllers/DepartmentsController.php + + - + message: '#^Access to an undefined property App\\Models\\Depreciation\:\:\$created_by\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/DepreciationsController.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$depreciationId$#' + identifier: parameter.notFound + count: 3 + path: app/Http/Controllers/DepreciationsController.php + + - + message: '#^Access to an undefined property Laravel\\Socialite\\Contracts\\User\:\:\$avatar\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/GoogleAuthController.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:sync\(\)\.$#' + identifier: method.notFound + count: 2 + path: app/Http/Controllers/GroupsController.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$id$#' + identifier: parameter.notFound + count: 2 + path: app/Http/Controllers/GroupsController.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$location_id\.$#' + identifier: property.notFound + count: 3 + path: app/Http/Controllers/Kits/CheckoutKitController.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$location_id\.$#' + identifier: property.notFound + count: 2 + path: app/Http/Controllers/Kits/CheckoutKitController.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$rtd_location_id\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Kits/CheckoutKitController.php + + - + message: '#^Unreachable statement \- code above always terminates\.$#' + identifier: deadCode.unreachable + count: 1 + path: app/Http/Controllers/Kits/CheckoutKitController.php + + - + message: '#^Access to an undefined property App\\Models\\PredefinedKit\:\:\$created_by\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Kits/PredefinedKitsController.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Collection\\|Illuminate\\Database\\Eloquent\\Model\:\:\$pivot\.$#' + identifier: property.notFound + count: 2 + path: app/Http/Controllers/Kits/PredefinedKitsController.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$pivot\.$#' + identifier: property.notFound + count: 6 + path: app/Http/Controllers/Kits/PredefinedKitsController.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:detach\(\)\.$#' + identifier: method.notFound + count: 8 + path: app/Http/Controllers/Kits/PredefinedKitsController.php + + - + message: '#^Method App\\Http\\Controllers\\Kits\\PredefinedKitsController\:\:detachAccessory\(\) should return Illuminate\\Contracts\\View\\View but returns Illuminate\\Http\\RedirectResponse\.$#' + identifier: return.type + count: 2 + path: app/Http/Controllers/Kits/PredefinedKitsController.php + + - + message: '#^Method App\\Http\\Controllers\\Kits\\PredefinedKitsController\:\:detachConsumable\(\) should return Illuminate\\Contracts\\View\\View but returns Illuminate\\Http\\RedirectResponse\.$#' + identifier: return.type + count: 2 + path: app/Http/Controllers/Kits/PredefinedKitsController.php + + - + message: '#^Method App\\Http\\Controllers\\Kits\\PredefinedKitsController\:\:detachLicense\(\) should return Illuminate\\Contracts\\View\\View but returns Illuminate\\Http\\RedirectResponse\.$#' + identifier: return.type + count: 2 + path: app/Http/Controllers/Kits/PredefinedKitsController.php + + - + message: '#^Method App\\Http\\Controllers\\Kits\\PredefinedKitsController\:\:detachModel\(\) should return Illuminate\\Contracts\\View\\View but returns Illuminate\\Http\\RedirectResponse\.$#' + identifier: return.type + count: 2 + path: app/Http/Controllers/Kits/PredefinedKitsController.php + + - + message: '#^Method App\\Http\\Controllers\\Kits\\PredefinedKitsController\:\:editAccessory\(\) should return Illuminate\\Contracts\\View\\View but returns Illuminate\\Http\\RedirectResponse\.$#' + identifier: return.type + count: 2 + path: app/Http/Controllers/Kits/PredefinedKitsController.php + + - + message: '#^Method App\\Http\\Controllers\\Kits\\PredefinedKitsController\:\:editConsumable\(\) should return Illuminate\\Contracts\\View\\View but returns Illuminate\\Http\\RedirectResponse\.$#' + identifier: return.type + count: 2 + path: app/Http/Controllers/Kits/PredefinedKitsController.php + + - + message: '#^Method App\\Http\\Controllers\\Kits\\PredefinedKitsController\:\:editLicense\(\) should return Illuminate\\Contracts\\View\\View but returns Illuminate\\Http\\RedirectResponse\.$#' + identifier: return.type + count: 2 + path: app/Http/Controllers/Kits/PredefinedKitsController.php + + - + message: '#^Method App\\Http\\Controllers\\Kits\\PredefinedKitsController\:\:editModel\(\) should return Illuminate\\Contracts\\View\\View but returns Illuminate\\Http\\RedirectResponse\.$#' + identifier: return.type + count: 1 + path: app/Http/Controllers/Kits/PredefinedKitsController.php + + - + message: '#^Method App\\Http\\Controllers\\Kits\\PredefinedKitsController\:\:updateAccessory\(\) should return Illuminate\\Contracts\\View\\View but returns Illuminate\\Http\\RedirectResponse\.$#' + identifier: return.type + count: 3 + path: app/Http/Controllers/Kits/PredefinedKitsController.php + + - + message: '#^Method App\\Http\\Controllers\\Kits\\PredefinedKitsController\:\:updateConsumable\(\) should return Illuminate\\Contracts\\View\\View but returns Illuminate\\Http\\RedirectResponse\.$#' + identifier: return.type + count: 3 + path: app/Http/Controllers/Kits/PredefinedKitsController.php + + - + message: '#^Method App\\Http\\Controllers\\Kits\\PredefinedKitsController\:\:updateLicense\(\) should return Illuminate\\Contracts\\View\\View but returns Illuminate\\Http\\RedirectResponse\.$#' + identifier: return.type + count: 3 + path: app/Http/Controllers/Kits/PredefinedKitsController.php + + - + message: '#^Method App\\Http\\Controllers\\Kits\\PredefinedKitsController\:\:updateModel\(\) should return Illuminate\\Contracts\\View\\View but returns Illuminate\\Http\\RedirectResponse\.$#' + identifier: return.type + count: 3 + path: app/Http/Controllers/Kits/PredefinedKitsController.php + + - + message: '#^Negated boolean expression is always false\.$#' + identifier: booleanNot.alwaysFalse + count: 1 + path: app/Http/Controllers/Kits/PredefinedKitsController.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$accessoryId$#' + identifier: parameter.notFound + count: 1 + path: app/Http/Controllers/Kits/PredefinedKitsController.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$consumableId$#' + identifier: parameter.notFound + count: 1 + path: app/Http/Controllers/Kits/PredefinedKitsController.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$kit_id$#' + identifier: parameter.notFound + count: 2 + path: app/Http/Controllers/Kits/PredefinedKitsController.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$modelId$#' + identifier: parameter.notFound + count: 3 + path: app/Http/Controllers/Kits/PredefinedKitsController.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$asset_eol_date\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/LabelsController.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$is_label_preview\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/LabelsController.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$location_id\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/LabelsController.php + + - + message: '#^Property App\\Models\\Asset\:\:\$company is not writable\.$#' + identifier: assign.propertyReadOnly + count: 1 + path: app/Http/Controllers/LabelsController.php + + - + message: '#^Property App\\Models\\Asset\:\:\$defaultLoc is not writable\.$#' + identifier: assign.propertyReadOnly + count: 1 + path: app/Http/Controllers/LabelsController.php + + - + message: '#^Property App\\Models\\Asset\:\:\$location is not writable\.$#' + identifier: assign.propertyReadOnly + count: 1 + path: app/Http/Controllers/LabelsController.php + + - + message: '#^Property App\\Models\\Asset\:\:\$model is not writable\.$#' + identifier: assign.propertyReadOnly + count: 1 + path: app/Http/Controllers/LabelsController.php + + - + message: '#^Property App\\Models\\Asset\:\:\$purchase_date \(Carbon\\Carbon\|null\) does not accept string\.$#' + identifier: assign.propertyType + count: 1 + path: app/Http/Controllers/LabelsController.php + + - + message: '#^Property App\\Models\\Asset\:\:\$supplier is not writable\.$#' + identifier: assign.propertyReadOnly + count: 1 + path: app/Http/Controllers/LabelsController.php + + - + message: '#^Property App\\Models\\Asset\:\:\$warranty_months \(int\|null\) does not accept string\.$#' + identifier: assign.propertyType + count: 1 + path: app/Http/Controllers/LabelsController.php + + - + message: '#^Access to an undefined property App\\Models\\LicenseSeat\:\:\$asset_tag\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Licenses/LicenseCheckinController.php + + - + message: '#^Access to an undefined property App\\Models\\LicenseSeat\:\:\$username\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Licenses/LicenseCheckinController.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$seatId$#' + identifier: parameter.notFound + count: 1 + path: app/Http/Controllers/Licenses/LicenseCheckinController.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\|Illuminate\\Database\\Eloquent\\Collection\\:\:\$display_name\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Licenses/LicenseCheckoutController.php + + - + message: '#^Using nullsafe property access "\?\-\>name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 2 + path: app/Http/Controllers/Licenses/LicenseCheckoutController.php + + - + message: '#^Access to an undefined property App\\Models\\License\:\:\$created_by\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Licenses/LicensesController.php + + - + message: '#^Cannot cast Illuminate\\Database\\Eloquent\\Relations\\Relation to int\.$#' + identifier: cast.int + count: 1 + path: app/Http/Controllers/Licenses/LicensesController.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$licenseId$#' + identifier: parameter.notFound + count: 4 + path: app/Http/Controllers/Licenses/LicensesController.php + + - + message: '#^Property App\\Models\\License\:\:\$id \(int\) does not accept null\.$#' + identifier: assign.propertyType + count: 1 + path: app/Http/Controllers/Licenses/LicensesController.php + + - + message: '#^Property App\\Models\\License\:\:\$seats \(int\) does not accept string\.$#' + identifier: assign.propertyType + count: 1 + path: app/Http/Controllers/Licenses/LicensesController.php + + - + message: '#^Access to an undefined property App\\Models\\Actionlog\:\:\$created_by\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/LocationsController.php + + - + message: '#^Access to an undefined property App\\Models\\Location\:\:\$created_by\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/LocationsController.php + + - + message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:getErrors\(\)\.$#' + identifier: method.notFound + count: 2 + path: app/Http/Controllers/LocationsController.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$id$#' + identifier: parameter.notFound + count: 2 + path: app/Http/Controllers/LocationsController.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$locationId$#' + identifier: parameter.notFound + count: 2 + path: app/Http/Controllers/LocationsController.php + + - + message: '#^Property App\\Models\\Location\:\:\$id \(int\) does not accept null\.$#' + identifier: assign.propertyType + count: 1 + path: app/Http/Controllers/LocationsController.php + + - + message: '#^Using nullsafe property access "\?\-\>name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 4 + path: app/Http/Controllers/LocationsController.php + + - + message: '#^Access to an undefined property App\\Models\\Actionlog\:\:\$created_by\.$#' + identifier: property.notFound + count: 2 + path: app/Http/Controllers/MaintenancesController.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\|Illuminate\\Database\\Eloquent\\Collection\\:\:\$asset_id\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/MaintenancesController.php + + - + message: '#^Access to an undefined property App\\Models\\Maintenance\:\:\$asset\.$#' + identifier: property.notFound + count: 6 + path: app/Http/Controllers/MaintenancesController.php + + - + message: '#^Access to an undefined property App\\Models\\Maintenance\:\:\$created_by\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/MaintenancesController.php + + - + message: '#^PHPDoc tag @param for parameter \$request with type Illuminate\\Http\\Request is not subtype of native type App\\Http\\Requests\\ImageUploadRequest\.$#' + identifier: parameter.phpDocType + count: 1 + path: app/Http/Controllers/MaintenancesController.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$maintenanceId$#' + identifier: parameter.notFound + count: 3 + path: app/Http/Controllers/MaintenancesController.php + + - + message: '#^PHPDoc tag @return with type mixed is not subtype of native type Illuminate\\Contracts\\View\\View\.$#' + identifier: return.phpDocType + count: 1 + path: app/Http/Controllers/MaintenancesController.php + + - + message: '#^Property App\\Models\\Maintenance\:\:\$completed_at \(Carbon\\Carbon\|null\) does not accept string\.$#' + identifier: assign.propertyType + count: 1 + path: app/Http/Controllers/MaintenancesController.php + + - + message: '#^Static method Illuminate\\Contracts\\Filesystem\\Filesystem\:\:makeDirectory\(\) invoked with 2 parameters, 1 required\.$#' + identifier: arguments.count + count: 1 + path: app/Http/Controllers/MaintenancesController.php + + - + message: '#^Access to an undefined property App\\Models\\Actionlog\:\:\$created_by\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/ManufacturersController.php + + - + message: '#^Access to an undefined property App\\Models\\Manufacturer\:\:\$created_by\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/ManufacturersController.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$tag_color\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/ManufacturersController.php + + - + message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:getErrors\(\)\.$#' + identifier: method.notFound + count: 2 + path: app/Http/Controllers/ManufacturersController.php + + - + message: '#^Dead catch \- Exception is never thrown in the try block\.$#' + identifier: catch.neverThrown + count: 1 + path: app/Http/Controllers/ManufacturersController.php + + - + message: '#^PHPDoc tag @param for parameter \$request with type Illuminate\\Http\\Request is not subtype of native type App\\Http\\Requests\\ImageUploadRequest\.$#' + identifier: parameter.phpDocType + count: 1 + path: app/Http/Controllers/ManufacturersController.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$manufacturerId$#' + identifier: parameter.notFound + count: 4 + path: app/Http/Controllers/ManufacturersController.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$manufacturers_id$#' + identifier: parameter.notFound + count: 1 + path: app/Http/Controllers/ManufacturersController.php + + - + message: '#^Access to an undefined property App\\Models\\Actionlog\:\:\$created_by\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/NotesController.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Collection\\|Illuminate\\Database\\Eloquent\\Collection\\|Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/NotesController.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Collection\\|Illuminate\\Database\\Eloquent\\Model\:\:\$asset\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/NotesController.php + + - + message: '#^Access to an undefined property App\\Models\\User\:\:\$link_dark_color\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/ProfileController.php + + - + message: '#^Access to an undefined property App\\Models\\User\:\:\$link_light_color\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/ProfileController.php + + - + message: '#^Access to an undefined property App\\Models\\User\:\:\$nav_link_color\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/ProfileController.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/ReportTemplatesController.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Builder\:\:onlyTrashed\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Http/Controllers/Reports/CustomComponentReportController.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Builder\:\:withTrashed\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Http/Controllers/Reports/CustomComponentReportController.php + + - + message: '#^Called ''env'' outside of the config directory which returns null when the config is cached, use ''config''\.$#' + identifier: larastan.noEnvCallsOutsideOfConfig + count: 1 + path: app/Http/Controllers/Reports/CustomComponentReportController.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$asset_eol_date\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/ReportsController.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$assigned\.$#' + identifier: property.notFound + count: 2 + path: app/Http/Controllers/ReportsController.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$last_audit_date\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/ReportsController.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$last_checkin\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/ReportsController.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$last_checkout\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/ReportsController.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$next_audit_date\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/ReportsController.php + + - + message: '#^Access to an undefined property App\\Models\\License\:\:\$depreciation\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/ReportsController.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$asset\.$#' + identifier: property.notFound + count: 2 + path: app/Http/Controllers/ReportsController.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$asset_maintenance_time\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/ReportsController.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$completedByUser\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/ReportsController.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$completed_at\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/ReportsController.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$cost\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/ReportsController.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$expected_completion_date\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/ReportsController.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$is_warranty\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/ReportsController.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$maintenanceType\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/ReportsController.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$name\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/ReportsController.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$notes\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/ReportsController.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$start_date\.$#' + identifier: property.notFound + count: 2 + path: app/Http/Controllers/ReportsController.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$supplier\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/ReportsController.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:checkouts\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Http/Controllers/ReportsController.php + + - + message: '#^Called ''env'' outside of the config directory which returns null when the config is cached, use ''config''\.$#' + identifier: larastan.noEnvCallsOutsideOfConfig + count: 1 + path: app/Http/Controllers/ReportsController.php + + - + message: '#^Method App\\Http\\Controllers\\ReportsController\:\:getAssetsCheckedOutRequiringAcceptance\(\) should return array but returns Illuminate\\Contracts\\View\\View\.$#' + identifier: return.type + count: 1 + path: app/Http/Controllers/ReportsController.php + + - + message: '#^Method App\\Http\\Controllers\\ReportsController\:\:getCheckedOutAssetsRequiringAcceptance\(\) should return Illuminate\\Contracts\\View\\View but returns array\.$#' + identifier: return.type + count: 1 + path: app/Http/Controllers/ReportsController.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$acceptanceId$#' + identifier: parameter.notFound + count: 1 + path: app/Http/Controllers/ReportsController.php + + - + message: '#^PHPDoc tag @return with type array is incompatible with native type Illuminate\\Contracts\\View\\View\.$#' + identifier: return.phpDocType + count: 1 + path: app/Http/Controllers/ReportsController.php + + - + message: '#^Relation ''asset'' is not found in App\\Models\\Maintenance model\.$#' + identifier: larastan.relationExistence + count: 1 + path: app/Http/Controllers/ReportsController.php + + - + message: '#^Relation ''depreciation'' is not found in App\\Models\\License model\.$#' + identifier: larastan.relationExistence + count: 1 + path: app/Http/Controllers/ReportsController.php + + - + message: '#^Unknown parameter \$firstTimeSending in call to App\\Mail\\CheckoutComponentMail constructor\.$#' + identifier: argument.unknown + count: 1 + path: app/Http/Controllers/ReportsController.php + + - + message: '#^Using nullsafe property access on non\-nullable type mixed\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 2 + path: app/Http/Controllers/ReportsController.php + + - + message: '#^Access to an undefined property App\\Models\\Actionlog\:\:\$created_by\.$#' + identifier: property.notFound + count: 2 + path: app/Http/Controllers/SettingsController.php + + - + message: '#^Access to an undefined property App\\Models\\Setting\:\:\$header_color\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/SettingsController.php + + - + message: '#^Access to an undefined property App\\Models\\Setting\:\:\$link_dark_color\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/SettingsController.php + + - + message: '#^Access to an undefined property App\\Models\\Setting\:\:\$link_light_color\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/SettingsController.php + + - + message: '#^Access to an undefined property App\\Models\\Setting\:\:\$nav_link_color\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/SettingsController.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$default_avatar\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/SettingsController.php + + - + message: '#^Loose comparison using \=\= between false and ''1'' will always evaluate to false\.$#' + identifier: equal.alwaysFalse + count: 1 + path: app/Http/Controllers/SettingsController.php + + - + message: '#^Property App\\Models\\Setting\:\:\$labels_display_model \(bool\) does not accept int\.$#' + identifier: assign.propertyType + count: 2 + path: app/Http/Controllers/SettingsController.php + + - + message: '#^Property App\\Models\\Setting\:\:\$login_common_disabled \(bool\) does not accept int\.$#' + identifier: assign.propertyType + count: 1 + path: app/Http/Controllers/SettingsController.php + + - + message: '#^Property App\\Models\\Setting\:\:\$login_remote_user_enabled \(bool\) does not accept int\.$#' + identifier: assign.propertyType + count: 1 + path: app/Http/Controllers/SettingsController.php + + - + message: '#^Property App\\Models\\Setting\:\:\$null_company_is_floater \(bool\) does not accept string\.$#' + identifier: assign.propertyType + count: 1 + path: app/Http/Controllers/SettingsController.php + + - + message: '#^Property App\\Models\\Setting\:\:\$pwd_secure_uncommon \(bool\) does not accept int\.$#' + identifier: assign.propertyType + count: 1 + path: app/Http/Controllers/SettingsController.php + + - + message: '#^Property App\\Models\\Setting\:\:\$scope_locations_fmcs \(bool\) does not accept string\.$#' + identifier: assign.propertyType + count: 1 + path: app/Http/Controllers/SettingsController.php + + - + message: '#^Result of && is always false\.$#' + identifier: booleanAnd.alwaysFalse + count: 1 + path: app/Http/Controllers/SettingsController.php + + - + message: '#^Using nullsafe property access "\?\-\>blocked_api_user_agents" on left side of \?\? is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: app/Http/Controllers/SettingsController.php + + - + message: '#^Access to an undefined property App\\Models\\Setting\:\:\$created_by\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/SetupController.php + + - + message: '#^Access to an undefined property App\\Models\\Setting\:\:\$link_dark_color\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/SetupController.php + + - + message: '#^Access to an undefined property App\\Models\\Setting\:\:\$link_light_color\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/SetupController.php + + - + message: '#^Access to an undefined property App\\Models\\Setting\:\:\$nav_link_color\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/SetupController.php + + - + message: '#^Method App\\Http\\Controllers\\SetupController\:\:getSetupIndex\(\) should return Illuminate\\Contracts\\View\\View but returns Illuminate\\Http\\Response\.$#' + identifier: return.type + count: 1 + path: app/Http/Controllers/SetupController.php + + - + message: '#^PHPDoc tag @return with type Illuminate\\Contracts\\View\\View\|Illuminate\\Http\\Response is not subtype of native type Illuminate\\Contracts\\View\\View\.$#' + identifier: return.phpDocType + count: 1 + path: app/Http/Controllers/SetupController.php + + - + message: '#^Property App\\Models\\Setting\:\:\$alerts_enabled \(bool\) does not accept int\.$#' + identifier: assign.propertyType + count: 1 + path: app/Http/Controllers/SetupController.php + + - + message: '#^Property App\\Models\\User\:\:\$activated \(bool\) does not accept int\.$#' + identifier: assign.propertyType + count: 1 + path: app/Http/Controllers/SetupController.php + + - + message: '#^Access to an undefined property App\\Models\\Statuslabel\:\:\$created_by\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/StatuslabelsController.php + + - + message: '#^Offset ''archived'' does not exist on string\.$#' + identifier: offsetAccess.notFound + count: 2 + path: app/Http/Controllers/StatuslabelsController.php + + - + message: '#^Offset ''deployable'' does not exist on string\.$#' + identifier: offsetAccess.notFound + count: 2 + path: app/Http/Controllers/StatuslabelsController.php + + - + message: '#^Offset ''pending'' does not exist on string\.$#' + identifier: offsetAccess.notFound + count: 2 + path: app/Http/Controllers/StatuslabelsController.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$statuslabelId$#' + identifier: parameter.notFound + count: 2 + path: app/Http/Controllers/StatuslabelsController.php + + - + message: '#^Access to an undefined property App\\Models\\Supplier\:\:\$asset_maintenances_count\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/SuppliersController.php + + - + message: '#^Access to an undefined property App\\Models\\Supplier\:\:\$created_by\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/SuppliersController.php + + - + message: '#^Call to an undefined method App\\Models\\SnipeModel\:\:getErrors\(\)\.$#' + identifier: method.notFound + count: 2 + path: app/Http/Controllers/SuppliersController.php + + - + message: '#^Dead catch \- Exception is never thrown in the try block\.$#' + identifier: catch.neverThrown + count: 1 + path: app/Http/Controllers/SuppliersController.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$supplierId$#' + identifier: parameter.notFound + count: 4 + path: app/Http/Controllers/SuppliersController.php + + - + message: '#^Property App\\Models\\Supplier\:\:\$url \(string\|null\) does not accept Illuminate\\Database\\Eloquent\\Relations\\Relation\.$#' + identifier: assign.propertyType + count: 2 + path: app/Http/Controllers/SuppliersController.php + + - + message: '#^Access to an undefined property App\\Models\\Import\:\:\$created_by\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/UploadedFilesController.php + + - + message: '#^If condition is always true\.$#' + identifier: if.alwaysTrue + count: 1 + path: app/Http/Controllers/UploadedFilesController.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$request$#' + identifier: parameter.notFound + count: 2 + path: app/Http/Controllers/UploadedFilesController.php + + - + message: '#^Static method Illuminate\\Contracts\\Filesystem\\Filesystem\:\:makeDirectory\(\) invoked with 2 parameters, 1 required\.$#' + identifier: arguments.count + count: 1 + path: app/Http/Controllers/UploadedFilesController.php + + - + message: '#^Variable \$files might not be defined\.$#' + identifier: variable.undefined + count: 1 + path: app/Http/Controllers/UploadedFilesController.php + + - + message: '#^Access to an undefined property App\\Models\\Actionlog\:\:\$created_by\.$#' + identifier: property.notFound + count: 2 + path: app/Http/Controllers/Users/BulkUsersController.php + + - + message: '#^Access to an undefined property App\\Models\\User\:\:\$uploads\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Users/BulkUsersController.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:sync\(\)\.$#' + identifier: method.notFound + count: 2 + path: app/Http/Controllers/Users/BulkUsersController.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:updateExistingPivot\(\)\.$#' + identifier: method.notFound + count: 3 + path: app/Http/Controllers/Users/BulkUsersController.php + + - + message: '#^Left side of && is always true\.$#' + identifier: booleanAnd.leftAlwaysTrue + count: 1 + path: app/Http/Controllers/Users/BulkUsersController.php + + - + message: '#^Negated boolean expression is always false\.$#' + identifier: booleanNot.alwaysFalse + count: 1 + path: app/Http/Controllers/Users/BulkUsersController.php + + - + message: '#^Access to an undefined property App\\Models\\Actionlog\:\:\$created_by\.$#' + identifier: property.notFound + count: 2 + path: app/Http/Controllers/Users/ImpersonateController.php + + - + message: '#^Access to an undefined property App\\Models\\User\:\:\$display_name\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Users/ImpersonateController.php + + - + message: '#^Dead catch \- Exception is never thrown in the try block\.$#' + identifier: catch.neverThrown + count: 1 + path: app/Http/Controllers/Users/LDAPImportController.php + + - + message: '#^Access to an undefined property App\\Models\\AccessoryCheckout\:\:\$created_by\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Users/UserItemTransferController.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$last_checkin\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Users/UserItemTransferController.php + + - + message: '#^Access to an undefined property App\\Models\\User\|Illuminate\\Database\\Eloquent\\Collection\\:\:\$display_name\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Users/UserItemTransferController.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:dissociate\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Http/Controllers/Users/UserItemTransferController.php + + - + message: '#^Access to an undefined property App\\Models\\Actionlog\:\:\$created_by\.$#' + identifier: property.notFound + count: 2 + path: app/Http/Controllers/Users/UsersController.php + + - + message: '#^Access to an undefined property App\\Models\\User\:\:\$display_name\.$#' + identifier: property.notFound + count: 2 + path: app/Http/Controllers/Users/UsersController.php + + - + message: '#^Access to an undefined property App\\Models\\User\:\:\$manages_locations_count\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Users/UsersController.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:sync\(\)\.$#' + identifier: method.notFound + count: 2 + path: app/Http/Controllers/Users/UsersController.php + + - + message: '#^Method App\\Http\\Controllers\\Users\\UsersController\:\:edit\(\) should return Illuminate\\Contracts\\View\\View\|Illuminate\\Http\\RedirectResponse but return statement is missing\.$#' + identifier: return.missing + count: 1 + path: app/Http/Controllers/Users/UsersController.php + + - + message: '#^Method App\\Http\\Controllers\\Users\\UsersController\:\:getClone\(\) should return Illuminate\\Contracts\\View\\View but return statement is missing\.$#' + identifier: return.missing + count: 1 + path: app/Http/Controllers/Users/UsersController.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$id$#' + identifier: parameter.notFound + count: 3 + path: app/Http/Controllers/Users/UsersController.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$userId$#' + identifier: parameter.notFound + count: 1 + path: app/Http/Controllers/Users/UsersController.php + + - + message: '#^Property App\\Models\\User\:\:\$id \(int\) does not accept null\.$#' + identifier: assign.propertyType + count: 1 + path: app/Http/Controllers/Users/UsersController.php + + - + message: '#^Property App\\Models\\User\:\:\$permissions \(string\|null\) does not accept array\|stdClass\.$#' + identifier: assign.propertyType + count: 1 + path: app/Http/Controllers/Users/UsersController.php + + - + message: '#^Property App\\Models\\User\:\:\$two_factor_enrolled \(bool\) does not accept int\.$#' + identifier: assign.propertyType + count: 1 + path: app/Http/Controllers/Users/UsersController.php + + - + message: '#^Access to an undefined property App\\Models\\User\:\:\$display_name\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/ViewAssetsController.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$assetId$#' + identifier: parameter.notFound + count: 1 + path: app/Http/Controllers/ViewAssetsController.php + + - + message: '#^Relation ''requests'' is not found in App\\Models\\AssetModel model\.$#' + identifier: larastan.relationExistence + count: 1 + path: app/Http/Controllers/ViewAssetsController.php + + - + message: '#^PHPDoc type array of property App\\Http\\Kernel\:\:\$middleware is not covariant with PHPDoc type array\ of overridden property Illuminate\\Foundation\\Http\\Kernel\:\:\$middleware\.$#' + identifier: property.phpDocType + count: 1 + path: app/Http/Kernel.php + + - + message: '#^PHPDoc type array of property App\\Http\\Kernel\:\:\$middlewareGroups is not covariant with PHPDoc type array\\> of overridden property Illuminate\\Foundation\\Http\\Kernel\:\:\$middlewareGroups\.$#' + identifier: property.phpDocType + count: 1 + path: app/Http/Kernel.php + + - + message: '#^PHPDoc type array of property App\\Http\\Kernel\:\:\$routeMiddleware is not covariant with PHPDoc type array\ of overridden property Illuminate\\Foundation\\Http\\Kernel\:\:\$routeMiddleware\.$#' + identifier: property.phpDocType + count: 1 + path: app/Http/Kernel.php + + - + message: '#^Access to an undefined property App\\Models\\Setting\:\:\$link_dark_color\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Middleware/CheckColorSettings.php + + - + message: '#^Access to an undefined property App\\Models\\Setting\:\:\$link_light_color\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Middleware/CheckColorSettings.php + + - + message: '#^Access to an undefined property App\\Models\\Setting\:\:\$nav_link_color\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Middleware/CheckColorSettings.php + + - + message: '#^Access to an undefined property App\\Models\\User\:\:\$link_dark_color\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Middleware/CheckColorSettings.php + + - + message: '#^Access to an undefined property App\\Models\\User\:\:\$link_light_color\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Middleware/CheckColorSettings.php + + - + message: '#^Access to an undefined property App\\Models\\User\:\:\$nav_link_color\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Middleware/CheckColorSettings.php + + - + message: '#^Binary operation "\." between non\-falsy\-string and array\ results in an error\.$#' + identifier: binaryOp.invalid + count: 1 + path: app/Http/Middleware/CheckLocale.php + + - + message: '#^PHPDoc type array of property App\\Http\\Middleware\\EncryptCookies\:\:\$except is not covariant with PHPDoc type array\ of overridden property Illuminate\\Cookie\\Middleware\\EncryptCookies\:\:\$except\.$#' + identifier: property.phpDocType + count: 1 + path: app/Http/Middleware/EncryptCookies.php + + - + message: '#^Using nullsafe method call on non\-nullable type Illuminate\\Auth\\AuthManager\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: app/Http/Middleware/LogAuthedUserHeader.php + + - + message: '#^PHPDoc type array of property App\\Http\\Middleware\\PreventRequestsDuringMaintenance\:\:\$except is not covariant with PHPDoc type array\ of overridden property Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance\:\:\$except\.$#' + identifier: property.phpDocType + count: 1 + path: app/Http/Middleware/PreventRequestsDuringMaintenance.php + + - + message: '#^Called ''env'' outside of the config directory which returns null when the config is cached, use ''config''\.$#' + identifier: larastan.noEnvCallsOutsideOfConfig + count: 1 + path: app/Http/Middleware/SecurityHeaders.php + + - + message: '#^PHPDoc type array of property App\\Http\\Middleware\\TrimStrings\:\:\$except is not covariant with PHPDoc type array\ of overridden property Illuminate\\Foundation\\Http\\Middleware\\TrimStrings\:\:\$except\.$#' + identifier: property.phpDocType + count: 1 + path: app/Http/Middleware/TrimStrings.php + + - + message: '#^PHPDoc type array of property App\\Http\\Middleware\\VerifyCsrfToken\:\:\$except is not covariant with PHPDoc type array\ of overridden property Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken\:\:\$except\.$#' + identifier: property.phpDocType + count: 1 + path: app/Http/Middleware/VerifyCsrfToken.php + + - + message: '#^Using nullsafe property access on non\-nullable type \$this\(App\\Http\\Requests\\CreateMultipleAssetRequest\)\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: app/Http/Requests/CreateMultipleAssetRequest.php + + - + message: '#^Access to an undefined property App\\Models\\Import\:\:\$created_by\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Requests/ItemImportRequest.php + + - + message: '#^Called ''env'' outside of the config directory which returns null when the config is cached, use ''config''\.$#' + identifier: larastan.noEnvCallsOutsideOfConfig + count: 2 + path: app/Http/Requests/ItemImportRequest.php + + - + message: '#^Call to static method flash\(\) on an unknown class Input\.$#' + identifier: class.notFound + count: 1 + path: app/Http/Requests/SettingsLdapRequest.php + + - + message: '#^Call to function is_array\(\) with array will always evaluate to true\.$#' + identifier: function.alreadyNarrowedType + count: 1 + path: app/Http/Transformers/ActionlogsTransformer.php + + - + message: '#^Expression on left side of \?\? is not nullable\.$#' + identifier: nullCoalesce.expr + count: 5 + path: app/Http/Transformers/ActionlogsTransformer.php + + - + message: '#^Loose comparison using \!\= between non\-falsy\-string and '''' will always evaluate to true\.$#' + identifier: notEqual.alwaysTrue + count: 1 + path: app/Http/Transformers/ActionlogsTransformer.php + + - + message: '#^Access to an undefined property App\\Models\\AssetModel\:\:\$assets_archived_count\.$#' + identifier: property.notFound + count: 2 + path: app/Http/Transformers/AssetModelsTransformer.php + + - + message: '#^Access to an undefined property App\\Models\\AssetModel\:\:\$assets_assigned_count\.$#' + identifier: property.notFound + count: 2 + path: app/Http/Transformers/AssetModelsTransformer.php + + - + message: '#^Access to an undefined property App\\Models\\AccessoryCheckout\:\:\$deleted_at\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Transformers/AssetsTransformer.php + + - + message: '#^Access to an undefined property App\\Models\\AccessoryCheckout\:\:\$display_name\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Transformers/AssetsTransformer.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$asset_eol_date\.$#' + identifier: property.notFound + count: 2 + path: app/Http/Transformers/AssetsTransformer.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$display_name\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Transformers/AssetsTransformer.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$last_audit_date\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Transformers/AssetsTransformer.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$last_checkin\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Transformers/AssetsTransformer.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$last_checkout\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Transformers/AssetsTransformer.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$next_audit_date\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Transformers/AssetsTransformer.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$requestable\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Transformers/AssetsTransformer.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$warranty_expires\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Transformers/AssetsTransformer.php + + - + message: '#^Access to an undefined property App\\Models\\Setting\:\:\$alt_barcode\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Transformers/AssetsTransformer.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$adminuser\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Transformers/AssetsTransformer.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$assigned_qty\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Transformers/AssetsTransformer.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$component\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Transformers/AssetsTransformer.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$created_at\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Transformers/AssetsTransformer.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Transformers/AssetsTransformer.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$note\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Transformers/AssetsTransformer.php + + - + message: '#^Loose comparison using \=\= between null and '''' will always evaluate to true\.$#' + identifier: equal.alwaysTrue + count: 1 + path: app/Http/Transformers/AssetsTransformer.php + + - + message: '#^Using nullsafe property access on non\-nullable type mixed\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 2 + path: app/Http/Transformers/AssetsTransformer.php + + - + message: '#^Access to an undefined property App\\Models\\Category\:\:\$item_count\.$#' + identifier: property.notFound + count: 6 + path: app/Http/Transformers/CategoriesTransformer.php + + - + message: '#^Access to an undefined property App\\Models\\Company\:\:\$accessories_count\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Transformers/CompaniesTransformer.php + + - + message: '#^Access to an undefined property App\\Models\\Company\:\:\$assets_count\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Transformers/CompaniesTransformer.php + + - + message: '#^Access to an undefined property App\\Models\\Company\:\:\$components_count\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Transformers/CompaniesTransformer.php + + - + message: '#^Access to an undefined property App\\Models\\Company\:\:\$consumables_count\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Transformers/CompaniesTransformer.php + + - + message: '#^Access to an undefined property App\\Models\\Company\:\:\$licenses_count\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Transformers/CompaniesTransformer.php + + - + message: '#^Access to an undefined property App\\Models\\Company\:\:\$parent\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Transformers/CompaniesTransformer.php + + - + message: '#^Access to an undefined property App\\Models\\Company\:\:\$users_count\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Transformers/CompaniesTransformer.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$note\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Transformers/ComponentsAssetsTransformer.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$pivot\.$#' + identifier: property.notFound + count: 6 + path: app/Http/Transformers/ComponentsTransformer.php + + - + message: '#^Loose comparison using \!\= between int and '''' will always evaluate to true\.$#' + identifier: notEqual.alwaysTrue + count: 1 + path: app/Http/Transformers/ComponentsTransformer.php + + - + message: '#^Access to an undefined property App\\Models\\CustomField\:\:\$pivot\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Transformers/CustomFieldsTransformer.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$assigned\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Transformers/DepreciationReportTransformer.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$warranty_expires\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Transformers/DepreciationReportTransformer.php + + - + message: '#^Cannot access property \$display_name on string\.$#' + identifier: property.nonObject + count: 1 + path: app/Http/Transformers/LicenseSeatsTransformer.php + + - + message: '#^Cannot access property \$id on string\.$#' + identifier: property.nonObject + count: 1 + path: app/Http/Transformers/LicenseSeatsTransformer.php + + - + message: '#^Cannot access property \$tag_color on string\.$#' + identifier: property.nonObject + count: 2 + path: app/Http/Transformers/LicenseSeatsTransformer.php + + - + message: '#^Access to an undefined property App\\Models\\License\:\:\$depreciation\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Transformers/LicensesTransformer.php + + - + message: '#^Access to an undefined property App\\Models\\Accessory\:\:\$display_name\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Transformers/LocationsTransformer.php + + - + message: '#^Method App\\Http\\Transformers\\LocationsTransformer\:\:transformLocationCompact\(\) should return array but return statement is missing\.$#' + identifier: return.missing + count: 1 + path: app/Http/Transformers/LocationsTransformer.php + + - + message: '#^Using nullsafe property access on non\-nullable type App\\Models\\AccessoryCheckout\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: app/Http/Transformers/LocationsTransformer.php + + - + message: '#^Using nullsafe property access on non\-nullable type mixed\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 2 + path: app/Http/Transformers/LocationsTransformer.php + + - + message: '#^Access to an undefined property App\\Models\\Maintenance\:\:\$asset\.$#' + identifier: property.notFound + count: 12 + path: app/Http/Transformers/MaintenancesTransformer.php + + - + message: '#^Access to an undefined property App\\Models\\Maintenance\:\:\$checkedOutTo\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Transformers/MaintenancesTransformer.php + + - + message: '#^Access to an undefined property App\\Models\\Maintenance\:\:\$completedByUser\.$#' + identifier: property.notFound + count: 2 + path: app/Http/Transformers/MaintenancesTransformer.php + + - + message: '#^Access to an undefined property App\\Models\\Maintenance\:\:\$maintenanceType\.$#' + identifier: property.notFound + count: 2 + path: app/Http/Transformers/MaintenancesTransformer.php + + - + message: '#^Access to an undefined property App\\Models\\Maintenance\:\:\$responsibleParty\.$#' + identifier: property.notFound + count: 2 + path: app/Http/Transformers/MaintenancesTransformer.php + + - + message: '#^Access to an undefined property App\\Models\\Maintenance\:\:\$supplier\.$#' + identifier: property.notFound + count: 2 + path: app/Http/Transformers/MaintenancesTransformer.php + + - + message: '#^Using nullsafe property access on non\-nullable type mixed\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 4 + path: app/Http/Transformers/MaintenancesTransformer.php + + - + message: '#^Access to an undefined property App\\Models\\Manufacturer\:\:\$accessories_count\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Transformers/ManufacturersTransformer.php + + - + message: '#^Access to an undefined property App\\Models\\Manufacturer\:\:\$assets_count\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Transformers/ManufacturersTransformer.php + + - + message: '#^Access to an undefined property App\\Models\\Manufacturer\:\:\$components_count\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Transformers/ManufacturersTransformer.php + + - + message: '#^Access to an undefined property App\\Models\\Manufacturer\:\:\$consumables_count\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Transformers/ManufacturersTransformer.php + + - + message: '#^Access to an undefined property App\\Models\\Manufacturer\:\:\$licenses_count\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Transformers/ManufacturersTransformer.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$name\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Transformers/PredefinedKitsTransformer.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$pivot\.$#' + identifier: property.notFound + count: 3 + path: app/Http/Transformers/PredefinedKitsTransformer.php + + - + message: '#^Call to function is_string\(\) with string will always evaluate to true\.$#' + identifier: function.alreadyNarrowedType + count: 1 + path: app/Http/Transformers/UploadedFilesTransformer.php + + - + message: '#^Expression on left side of \?\? is not nullable\.$#' + identifier: nullCoalesce.expr + count: 1 + path: app/Http/Transformers/UploadedFilesTransformer.php + + - + message: '#^Access to an undefined property App\\Models\\User\:\:\$assigned_maintenances_count\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Transformers/UsersTransformer.php + + - + message: '#^Access to an undefined property App\\Models\\User\:\:\$display_name\.$#' + identifier: property.notFound + count: 4 + path: app/Http/Transformers/UsersTransformer.php + + - + message: '#^Access to an undefined property App\\Models\\User\:\:\$manages_locations_count\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Transformers/UsersTransformer.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#' + identifier: property.notFound + count: 3 + path: app/Http/Transformers/UsersTransformer.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$name\.$#' + identifier: property.notFound + count: 3 + path: app/Http/Transformers/UsersTransformer.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$tag_color\.$#' + identifier: property.notFound + count: 3 + path: app/Http/Transformers/UsersTransformer.php + + - + message: '#^Expression on left side of \?\? is not nullable\.$#' + identifier: nullCoalesce.expr + count: 6 + path: app/Http/Transformers/UsersTransformer.php + + - + message: '#^Access to an undefined property App\\Models\\Accessory\:\:\$created_by\.$#' + identifier: property.notFound + count: 1 + path: app/Importer/AccessoryImporter.php + + - + message: '#^Access to an undefined property App\\Models\\AccessoryCheckout\:\:\$created_by\.$#' + identifier: property.notFound + 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 + count: 1 + path: app/Importer/AccessoryImporter.php + + - + message: '#^Access to an undefined property App\\Models\\User\:\:\$display_name\.$#' + identifier: property.notFound + count: 2 + path: app/Importer/AssetHistoryImporter.php + + - + message: '#^Negated boolean expression is always false\.$#' + identifier: booleanNot.alwaysFalse + count: 1 + path: app/Importer/AssetHistoryImporter.php + + - + message: '#^Using nullsafe property access "\?\-\>display_name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 2 + path: app/Importer/AssetHistoryImporter.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$assigned\.$#' + identifier: property.notFound + count: 1 + path: app/Importer/AssetImporter.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$created_by\.$#' + identifier: property.notFound + count: 1 + path: app/Importer/AssetImporter.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$display_name\.$#' + identifier: property.notFound + count: 1 + path: app/Importer/AssetImporter.php + + - + message: '#^Call to function is_null\(\) with string will always evaluate to false\.$#' + identifier: function.impossibleType + 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 + count: 1 + path: app/Importer/AssetImporter.php + + - + message: '#^Using nullsafe property access "\?\-\>name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: app/Importer/AssetImporter.php + + - + message: '#^Using nullsafe property access on non\-nullable type App\\Models\\Statuslabel\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: app/Importer/AssetImporter.php + + - + message: '#^Access to an undefined property App\\Models\\AssetModel\:\:\$created_by\.$#' + identifier: property.notFound + 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 + count: 1 + path: app/Importer/CategoryImporter.php + + - + message: '#^Access to an undefined property App\\Models\\Category\:\:\$errors\.$#' + identifier: property.notFound + 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\\Asset\:\:\$display_name\.$#' + identifier: property.notFound + count: 1 + path: app/Importer/ComponentImporter.php + + - + message: '#^Access to an undefined property App\\Models\\Component\:\:\$created_by\.$#' + identifier: property.notFound + count: 1 + path: app/Importer/ComponentImporter.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:attach\(\)\.$#' + identifier: method.notFound + 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 + count: 1 + path: app/Importer/ComponentImporter.php + + - + message: '#^Access to an undefined property App\\Models\\Consumable\:\:\$created_by\.$#' + identifier: property.notFound + count: 1 + path: app/Importer/ConsumableImporter.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:attach\(\)\.$#' + identifier: method.notFound + 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 + count: 1 + path: app/Importer/ConsumableImporter.php + + - + message: '#^Access to an undefined property App\\Importer\\Importer\:\:\$item\.$#' + identifier: property.notFound + count: 2 + path: app/Importer/Importer.php + + - + message: '#^Access to an undefined property App\\Importer\\Importer\:\:\$send_welcome\.$#' + identifier: property.notFound + count: 1 + path: app/Importer/Importer.php + + - + message: '#^Access to an undefined property App\\Models\\User\:\:\$display_name\.$#' + identifier: property.notFound + count: 1 + path: app/Importer/Importer.php + + - + message: '#^If condition is always true\.$#' + identifier: if.alwaysTrue + count: 5 + path: app/Importer/Importer.php + + - + message: '#^Loose comparison using \=\= between null and ''email'' will always evaluate to false\.$#' + identifier: equal.alwaysFalse + count: 1 + path: app/Importer/Importer.php + + - + message: '#^Method App\\Importer\\Importer\:\:createOrFetchDepartment\(\) should return int but returns null\.$#' + identifier: return.type + count: 2 + path: app/Importer/Importer.php + + - + message: '#^Method App\\Importer\\Importer\:\:createOrFetchUser\(\) should return App\\Models\\User but returns false\.$#' + identifier: return.type + count: 4 + path: app/Importer/Importer.php + + - + message: '#^Method App\\Importer\\Importer\:\:fetchManager\(\) should return int but returns null\.$#' + identifier: return.type + count: 1 + path: app/Importer/Importer.php + + - + message: '#^Method App\\Importer\\Importer\:\:findUserByNumber\(\) should return App\\Models\\User but return statement is missing\.$#' + identifier: return.missing + count: 1 + path: app/Importer/Importer.php + + - + message: '#^Offset ''department_id'' on array\{full_name\: string, first_name\: mixed, last_name\: mixed, display_name\: string, email\: mixed, manager_id\: '''', department_id\: mixed, username\: mixed, \.\.\.\} on left side of \?\? always exists and is not nullable\.$#' + identifier: nullCoalesce.offset + count: 1 + path: app/Importer/Importer.php + + - + message: '#^Offset ''display_name'' on array\{full_name\: string, first_name\: mixed, last_name\: mixed, display_name\: string, email\: mixed, manager_id\: '''', department_id\: mixed, username\: mixed, \.\.\.\} on left side of \?\? always exists and is not nullable\.$#' + identifier: nullCoalesce.offset + count: 1 + path: app/Importer/Importer.php + + - + message: '#^Offset ''manager_id'' on array\{full_name\: string, first_name\: mixed, last_name\: mixed, display_name\: string, email\: mixed, manager_id\: '''', department_id\: mixed, username\: mixed, \.\.\.\} on left side of \?\? always exists and is not nullable\.$#' + identifier: nullCoalesce.offset + count: 1 + path: app/Importer/Importer.php + + - + message: '#^Offset ''username'' on array\{full_name\: string, first_name\: mixed, last_name\: mixed, display_name\: string, email\: mixed, manager_id\: '''', department_id\: mixed, username\: mixed, \.\.\.\} on left side of \?\? always exists and is not nullable\.$#' + identifier: nullCoalesce.offset + count: 1 + path: app/Importer/Importer.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$updating$#' + identifier: parameter.notFound + count: 1 + path: app/Importer/Importer.php + + - + message: '#^Property App\\Importer\\Importer\:\:\$usernameFormat \(null\) does not accept string\.$#' + identifier: assign.propertyType + count: 1 + path: app/Importer/Importer.php + + - + message: '#^Property App\\Models\\User\:\:\$activated \(bool\) does not accept int\.$#' + identifier: assign.propertyType + count: 1 + path: app/Importer/Importer.php + + - + message: '#^Property App\\Models\\User\:\:\$manager_id \(int\|null\) does not accept string\.$#' + identifier: assign.propertyType + count: 1 + path: app/Importer/Importer.php + + - + message: '#^Access to an undefined property App\\Models\\AssetModel\:\:\$created_by\.$#' + identifier: property.notFound + count: 1 + path: app/Importer/ItemImporter.php + + - + message: '#^Access to an undefined property App\\Models\\Category\:\:\$created_by\.$#' + identifier: property.notFound + count: 1 + path: app/Importer/ItemImporter.php + + - + message: '#^Access to an undefined property App\\Models\\Company\:\:\$created_by\.$#' + identifier: property.notFound + count: 1 + path: app/Importer/ItemImporter.php + + - + message: '#^Access to an undefined property App\\Models\\Location\:\:\$created_by\.$#' + identifier: property.notFound + count: 1 + path: app/Importer/ItemImporter.php + + - + message: '#^Access to an undefined property App\\Models\\Manufacturer\:\:\$created_by\.$#' + identifier: property.notFound + count: 1 + path: app/Importer/ItemImporter.php + + - + message: '#^Access to an undefined property App\\Models\\Statuslabel\:\:\$created_by\.$#' + identifier: property.notFound + count: 1 + path: app/Importer/ItemImporter.php + + - + message: '#^Access to an undefined property App\\Models\\Supplier\:\:\$created_by\.$#' + identifier: property.notFound + count: 1 + path: app/Importer/ItemImporter.php + + - + message: '#^Method App\\Importer\\ItemImporter\:\:createOrFetchAssetModel\(\) should return int but empty return statement found\.$#' + identifier: return.empty + count: 1 + path: app/Importer/ItemImporter.php + + - + message: '#^Method App\\Importer\\ItemImporter\:\:createOrFetchAssetModel\(\) should return int but returns null\.$#' + identifier: return.type + count: 1 + path: app/Importer/ItemImporter.php + + - + message: '#^Method App\\Importer\\ItemImporter\:\:createOrFetchCategory\(\) should return int but returns null\.$#' + identifier: return.type + count: 1 + path: app/Importer/ItemImporter.php + + - + message: '#^Method App\\Importer\\ItemImporter\:\:createOrFetchCompany\(\) should return int but returns null\.$#' + identifier: return.type + count: 1 + path: app/Importer/ItemImporter.php + + - + message: '#^Method App\\Importer\\ItemImporter\:\:createOrFetchLocation\(\) should return App\\Models\\Location\|null but returns int\.$#' + identifier: return.type + count: 2 + path: app/Importer/ItemImporter.php + + - + message: '#^Method App\\Importer\\ItemImporter\:\:createOrFetchManufacturer\(\) should return App\\Models\\Manufacturer but returns int\.$#' + identifier: return.type + count: 2 + path: app/Importer/ItemImporter.php + + - + message: '#^Method App\\Importer\\ItemImporter\:\:createOrFetchManufacturer\(\) should return App\\Models\\Manufacturer but returns null\.$#' + identifier: return.type + count: 1 + path: app/Importer/ItemImporter.php + + - + message: '#^Method App\\Importer\\ItemImporter\:\:createOrFetchStatusLabel\(\) should return App\\Models\\Statuslabel\|null but returns int\.$#' + identifier: return.type + count: 2 + path: app/Importer/ItemImporter.php + + - + message: '#^Method App\\Importer\\ItemImporter\:\:createOrFetchSupplier\(\) should return App\\Models\\Supplier but returns int\.$#' + identifier: return.type + count: 2 + path: app/Importer/ItemImporter.php + + - + message: '#^Method App\\Importer\\ItemImporter\:\:createOrFetchSupplier\(\) should return App\\Models\\Supplier but returns null\.$#' + identifier: return.type + count: 1 + path: app/Importer/ItemImporter.php + + - + message: '#^Method App\\Importer\\ItemImporter\:\:determineCheckout\(\) has invalid return type App\\Importer\\SnipeModel\.$#' + identifier: class.notFound + count: 1 + path: app/Importer/ItemImporter.php + + - + message: '#^Method App\\Importer\\ItemImporter\:\:determineCheckout\(\) should return App\\Importer\\SnipeModel\|null but empty return statement found\.$#' + identifier: return.empty + count: 1 + path: app/Importer/ItemImporter.php + + - + message: '#^Method App\\Importer\\ItemImporter\:\:determineCheckout\(\) should return App\\Importer\\SnipeModel\|null but returns App\\Models\\Location\|Illuminate\\Database\\Eloquent\\Collection\\.$#' + identifier: return.type + count: 1 + path: app/Importer/ItemImporter.php + + - + message: '#^Method App\\Importer\\ItemImporter\:\:determineCheckout\(\) should return App\\Importer\\SnipeModel\|null but returns App\\Models\\User\.$#' + identifier: return.type + count: 1 + path: app/Importer/ItemImporter.php + + - + message: '#^Method App\\Importer\\ItemImporter\:\:fetchManager\(\) should return int but returns null\.$#' + identifier: return.type + count: 1 + path: app/Importer/ItemImporter.php + + - + message: '#^PHPDoc tag @param has invalid value \(array\)\: Unexpected token "\\n \* ", expected variable at offset 157 on line 8$#' + identifier: phpDoc.parseError + count: 1 + path: app/Importer/ItemImporter.php + + - + message: '#^Property App\\Models\\Statuslabel\:\:\$archived \(bool\) does not accept int\.$#' + identifier: assign.propertyType + count: 1 + path: app/Importer/ItemImporter.php + + - + message: '#^Property App\\Models\\Statuslabel\:\:\$deployable \(bool\) does not accept int\.$#' + identifier: assign.propertyType + count: 1 + path: app/Importer/ItemImporter.php + + - + message: '#^Property App\\Models\\Statuslabel\:\:\$pending \(bool\) does not accept int\.$#' + identifier: assign.propertyType + count: 1 + path: app/Importer/ItemImporter.php + + - + message: '#^Result of && is always false\.$#' + identifier: booleanAnd.alwaysFalse + count: 1 + path: app/Importer/ItemImporter.php + + - + message: '#^Variable \$field in empty\(\) always exists and is not falsy\.$#' + identifier: empty.variable + count: 1 + path: app/Importer/ItemImporter.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$display_name\.$#' + identifier: property.notFound + count: 1 + path: app/Importer/LicenseImporter.php + + - + message: '#^Access to an undefined property App\\Models\\License\:\:\$created_by\.$#' + identifier: property.notFound + 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 + count: 2 + path: app/Importer/LicenseImporter.php + + - + message: '#^Access to an undefined property App\\Models\\Location\:\:\$created_by\.$#' + identifier: property.notFound + count: 1 + path: app/Importer/LocationImporter.php + + - + message: '#^Access to an undefined property App\\Models\\Location\:\:\$errors\.$#' + identifier: property.notFound + count: 1 + path: app/Importer/LocationImporter.php + + - + message: '#^If condition is always true\.$#' + identifier: if.alwaysTrue + 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 + count: 1 + path: app/Importer/ManufacturerImporter.php + + - + message: '#^Access to an undefined property App\\Models\\Manufacturer\:\:\$errors\.$#' + identifier: property.notFound + 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 + count: 1 + path: app/Importer/SupplierImporter.php + + - + message: '#^Access to an undefined property App\\Models\\Supplier\:\:\$errors\.$#' + identifier: property.notFound + 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 + count: 4 + path: app/Importer/UserImporter.php + + - + message: '#^Access to property \$checkedInBy on an unknown class App\\Listeners\\CheckoutableCheckedIn\.$#' + identifier: class.notFound + count: 1 + path: app/Listeners/CheckoutableListener.php + + - + message: '#^Access to property \$checkedOutTo on an unknown class App\\Listeners\\CheckoutableCheckedIn\.$#' + identifier: class.notFound + count: 1 + path: app/Listeners/CheckoutableListener.php + + - + message: '#^Access to property \$checkedOutTo on an unknown class App\\Listeners\\Event\.$#' + identifier: class.notFound + count: 2 + path: app/Listeners/CheckoutableListener.php + + - + message: '#^Access to property \$checkoutable on an unknown class App\\Listeners\\CheckoutableCheckedIn\.$#' + identifier: class.notFound + count: 1 + path: app/Listeners/CheckoutableListener.php + + - + message: '#^Access to property \$checkoutable on an unknown class App\\Listeners\\Event\.$#' + identifier: class.notFound + count: 4 + path: app/Listeners/CheckoutableListener.php + + - + message: '#^Access to property \$note on an unknown class App\\Listeners\\CheckoutableCheckedIn\.$#' + identifier: class.notFound + count: 1 + path: app/Listeners/CheckoutableListener.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:getEula\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Listeners/CheckoutableListener.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:requireAcceptance\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Listeners/CheckoutableListener.php + + - + message: '#^Call to an undefined method Illuminate\\Notifications\\Notification\:\:toMicrosoftTeams\(\)\.$#' + identifier: method.notFound + count: 2 + path: app/Listeners/CheckoutableListener.php + + - + message: '#^Call to method listen\(\) on an unknown class App\\Listeners\\Illuminate\\Events\\Dispatcher\.$#' + identifier: class.notFound + count: 2 + path: app/Listeners/CheckoutableListener.php + + - + message: '#^Match expression does not handle remaining value\: true$#' + identifier: match.unhandled + count: 1 + path: app/Listeners/CheckoutableListener.php + + - + message: '#^PHPDoc tag @return with type Illuminate\\Support\\Facades\\Notification is incompatible with native type Illuminate\\Notifications\\Notification\.$#' + identifier: return.phpDocType + count: 2 + path: app/Listeners/CheckoutableListener.php + + - + message: '#^Parameter \$event of method App\\Listeners\\CheckoutableListener\:\:getCheckinNotification\(\) has invalid type App\\Listeners\\CheckoutableCheckedIn\.$#' + identifier: class.notFound + count: 1 + path: app/Listeners/CheckoutableListener.php + + - + message: '#^Parameter \$event of method App\\Listeners\\CheckoutableListener\:\:getCheckoutAcceptance\(\) has invalid type App\\Listeners\\Event\.$#' + identifier: class.notFound + count: 1 + path: app/Listeners/CheckoutableListener.php + + - + message: '#^Parameter \$events of method App\\Listeners\\CheckoutableListener\:\:subscribe\(\) has invalid type App\\Listeners\\Illuminate\\Events\\Dispatcher\.$#' + identifier: class.notFound + count: 1 + path: app/Listeners/CheckoutableListener.php + + - + message: '#^Strict comparison using \=\=\= between int\ and null will always evaluate to false\.$#' + identifier: identical.alwaysFalse + count: 2 + path: app/Listeners/CheckoutableListener.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$assigned\.$#' + identifier: property.notFound + count: 1 + path: app/Listeners/CheckoutablesCheckedOutInBulkListener.php + + - + message: '#^Method App\\Listeners\\CheckoutablesCheckedOutInBulkListener\:\:getNotifiableUser\(\) should return App\\Models\\User\|null but returns Illuminate\\Database\\Eloquent\\Model\.$#' + identifier: return.type + count: 1 + path: app/Listeners/CheckoutablesCheckedOutInBulkListener.php + + - + message: '#^Access to an undefined property App\\Events\\CheckoutAccepted\:\:\$acceptance\.$#' + identifier: property.notFound + count: 8 + path: app/Listeners/LogListener.php + + - + message: '#^Access to an undefined property App\\Events\\CheckoutDeclined\:\:\$acceptance\.$#' + identifier: property.notFound + count: 7 + path: app/Listeners/LogListener.php + + - + message: '#^Access to an undefined property App\\Events\\UserMerged\:\:\$merged_from\.$#' + identifier: property.notFound + count: 6 + path: app/Listeners/LogListener.php + + - + message: '#^Access to an undefined property App\\Events\\UserMerged\:\:\$merged_to\.$#' + identifier: property.notFound + count: 6 + path: app/Listeners/LogListener.php + + - + message: '#^Access to an undefined property App\\Models\\Actionlog\:\:\$created_by\.$#' + identifier: property.notFound + count: 4 + path: app/Listeners/LogListener.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:associate\(\)\.$#' + identifier: method.notFound + count: 6 + path: app/Listeners/LogListener.php + + - + message: '#^Call to method listen\(\) on an unknown class App\\Listeners\\Illuminate\\Events\\Dispatcher\.$#' + identifier: class.notFound + count: 1 + path: app/Listeners/LogListener.php + + - + message: '#^Parameter \$events of method App\\Listeners\\LogListener\:\:subscribe\(\) has invalid type App\\Listeners\\Illuminate\\Events\\Dispatcher\.$#' + identifier: class.notFound + count: 1 + path: app/Listeners/LogListener.php + + - + message: '#^Access to an undefined property Illuminate\\Contracts\\Auth\\Authenticatable\:\:\$username\.$#' + identifier: property.notFound + count: 1 + path: app/Listeners/LogSuccessfulLogin.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$accessories\.$#' + identifier: property.notFound + count: 2 + path: app/Livewire/CheckoutTargetPanel.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$assets\.$#' + identifier: property.notFound + count: 1 + path: app/Livewire/CheckoutTargetPanel.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$assignedAssets\.$#' + identifier: property.notFound + count: 2 + path: app/Livewire/CheckoutTargetPanel.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$components\.$#' + identifier: property.notFound + count: 1 + path: app/Livewire/CheckoutTargetPanel.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$consumables\.$#' + identifier: property.notFound + count: 1 + path: app/Livewire/CheckoutTargetPanel.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$licenses\.$#' + identifier: property.notFound + count: 2 + path: app/Livewire/CheckoutTargetPanel.php + + - + message: '#^Match expression does not handle remaining value\: string$#' + identifier: match.unhandled + count: 1 + path: app/Livewire/CheckoutTargetPanel.php + + - + message: '#^Access to an undefined property App\\Livewire\\CustomFieldEditor\:\:\$allowedElementKeys\.$#' + identifier: property.notFound + count: 1 + path: app/Livewire/CustomFieldEditor.php + + - + message: '#^Access to an undefined property App\\Models\\CustomField\:\:\$created_by\.$#' + identifier: property.notFound + count: 1 + path: app/Livewire/CustomFieldEditor.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:sync\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Livewire/CustomFieldEditor.php + + - + message: '#^Access to an undefined property App\\Livewire\\CustomFieldSetDefaultValuesForModel\:\:\$fields\.$#' + identifier: property.notFound + count: 1 + path: app/Livewire/CustomFieldSetDefaultValuesForModel.php + + - + message: '#^Access to an undefined property App\\Livewire\\CustomFieldSetDefaultValuesForModel\:\:\$model\.$#' + identifier: property.notFound + count: 2 + path: app/Livewire/CustomFieldSetDefaultValuesForModel.php + + - + message: '#^Using nullsafe property access on non\-nullable type App\\Models\\CustomFieldset\|Illuminate\\Database\\Eloquent\\Collection\\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: app/Livewire/CustomFieldSetDefaultValuesForModel.php + + - + message: '#^Access to an undefined property App\\Livewire\\Importer\:\:\$activeFile\.$#' + identifier: property.notFound + count: 4 + path: app/Livewire/Importer.php + + - + message: '#^Access to an undefined property App\\Livewire\\Importer\:\:\$file_id\.$#' + identifier: property.notFound + count: 1 + path: app/Livewire/Importer.php + + - + message: '#^Access to an undefined property App\\Livewire\\Importer\:\:\$files\.$#' + identifier: property.notFound + count: 1 + path: app/Livewire/Importer.php + + - + message: '#^Access to an undefined property App\\Models\\Import\:\:\$created_by\.$#' + identifier: property.notFound + count: 1 + path: app/Livewire/Importer.php + + - + message: '#^Access to an undefined property App\\Models\\Import\|Illuminate\\Database\\Eloquent\\Collection\\:\:\$created_by\.$#' + identifier: property.notFound + count: 1 + path: app/Livewire/Importer.php + + - + message: '#^Call to function is_string\(\) with string will always evaluate to true\.$#' + identifier: function.alreadyNarrowedType + count: 1 + path: app/Livewire/LdapSettings.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$name\.$#' + identifier: property.notFound + count: 1 + path: app/Livewire/OauthClients.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$user\.$#' + identifier: property.notFound + count: 3 + path: app/Livewire/OauthClients.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$user_id\.$#' + identifier: property.notFound + count: 1 + path: app/Livewire/OauthClients.php + + - + message: '#^Access to an undefined property Laravel\\Passport\\Client\:\:\$created_by\.$#' + identifier: property.notFound + count: 2 + path: app/Livewire/OauthClients.php + + - + message: '#^Access to an undefined property App\\Livewire\\SlackSettingsForm\:\:\$webhook_options\.$#' + identifier: property.notFound + count: 1 + path: app/Livewire/SlackSettingsForm.php + + - + message: '#^Call to an undefined method Illuminate\\Http\\Client\\Response\:\:getStatusCode\(\)\.$#' + identifier: method.notFound + count: 4 + path: app/Livewire/SlackSettingsForm.php + + - + message: '#^Result of method Illuminate\\Session\\Store\:\:flash\(\) \(void\) is used\.$#' + identifier: method.void + count: 8 + path: app/Livewire/SlackSettingsForm.php + + - + message: '#^Unreachable statement \- code above always terminates\.$#' + identifier: deadCode.unreachable + count: 2 + path: app/Livewire/SlackSettingsForm.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$eula\.$#' + identifier: property.notFound + count: 1 + path: app/Mail/BulkAssetCheckoutMail.php + + - + message: '#^Access to an undefined property App\\Mail\\CheckinAccessoryMail\:\:\$admin\.$#' + identifier: property.notFound + count: 2 + path: app/Mail/CheckinAccessoryMail.php + + - + message: '#^Access to an undefined property App\\Mail\\CheckinAccessoryMail\:\:\$item\.$#' + identifier: property.notFound + count: 2 + path: app/Mail/CheckinAccessoryMail.php + + - + message: '#^Access to an undefined property App\\Mail\\CheckinAccessoryMail\:\:\$note\.$#' + identifier: property.notFound + count: 2 + path: app/Mail/CheckinAccessoryMail.php + + - + message: '#^Access to an undefined property App\\Mail\\CheckinAccessoryMail\:\:\$settings\.$#' + identifier: property.notFound + count: 1 + path: app/Mail/CheckinAccessoryMail.php + + - + message: '#^Access to an undefined property App\\Mail\\CheckinAccessoryMail\:\:\$target\.$#' + identifier: property.notFound + count: 2 + path: app/Mail/CheckinAccessoryMail.php + + - + message: '#^Access to an undefined property App\\Mail\\CheckinAssetMail\:\:\$admin\.$#' + identifier: property.notFound + count: 2 + path: app/Mail/CheckinAssetMail.php + + - + message: '#^Access to an undefined property App\\Mail\\CheckinAssetMail\:\:\$expected_checkin\.$#' + identifier: property.notFound + count: 2 + path: app/Mail/CheckinAssetMail.php + + - + message: '#^Access to an undefined property App\\Mail\\CheckinAssetMail\:\:\$item\.$#' + identifier: property.notFound + count: 9 + path: app/Mail/CheckinAssetMail.php + + - + message: '#^Access to an undefined property App\\Mail\\CheckinAssetMail\:\:\$note\.$#' + identifier: property.notFound + count: 2 + path: app/Mail/CheckinAssetMail.php + + - + message: '#^Access to an undefined property App\\Mail\\CheckinAssetMail\:\:\$settings\.$#' + identifier: property.notFound + count: 1 + path: app/Mail/CheckinAssetMail.php + + - + message: '#^Access to an undefined property App\\Mail\\CheckinAssetMail\:\:\$target\.$#' + identifier: property.notFound + count: 2 + path: app/Mail/CheckinAssetMail.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$notifiable$#' + identifier: parameter.notFound + count: 1 + path: app/Mail/CheckinAssetMail.php + + - + message: '#^Access to an undefined property App\\Mail\\CheckinComponentMail\:\:\$admin\.$#' + identifier: property.notFound + count: 2 + path: app/Mail/CheckinComponentMail.php + + - + message: '#^Access to an undefined property App\\Mail\\CheckinComponentMail\:\:\$item\.$#' + identifier: property.notFound + count: 2 + path: app/Mail/CheckinComponentMail.php + + - + message: '#^Access to an undefined property App\\Mail\\CheckinComponentMail\:\:\$note\.$#' + identifier: property.notFound + count: 2 + path: app/Mail/CheckinComponentMail.php + + - + message: '#^Access to an undefined property App\\Mail\\CheckinComponentMail\:\:\$settings\.$#' + identifier: property.notFound + count: 1 + path: app/Mail/CheckinComponentMail.php + + - + message: '#^Access to an undefined property App\\Mail\\CheckinComponentMail\:\:\$target\.$#' + identifier: property.notFound + count: 2 + path: app/Mail/CheckinComponentMail.php + + - + message: '#^Access to an undefined property App\\Mail\\CheckinLicenseMail\:\:\$admin\.$#' + identifier: property.notFound + count: 2 + path: app/Mail/CheckinLicenseMail.php + + - + message: '#^Access to an undefined property App\\Mail\\CheckinLicenseMail\:\:\$item\.$#' + identifier: property.notFound + count: 3 + path: app/Mail/CheckinLicenseMail.php + + - + message: '#^Access to an undefined property App\\Mail\\CheckinLicenseMail\:\:\$note\.$#' + identifier: property.notFound + count: 2 + path: app/Mail/CheckinLicenseMail.php + + - + message: '#^Access to an undefined property App\\Mail\\CheckinLicenseMail\:\:\$settings\.$#' + identifier: property.notFound + count: 1 + path: app/Mail/CheckinLicenseMail.php + + - + message: '#^Access to an undefined property App\\Mail\\CheckinLicenseMail\:\:\$target\.$#' + identifier: property.notFound + count: 2 + path: app/Mail/CheckinLicenseMail.php + + - + message: '#^Access to an undefined property App\\Mail\\CheckoutAccessoryMail\:\:\$acceptance\.$#' + identifier: property.notFound + count: 2 + path: app/Mail/CheckoutAccessoryMail.php + + - + message: '#^Access to an undefined property App\\Mail\\CheckoutAccessoryMail\:\:\$admin\.$#' + identifier: property.notFound + count: 2 + path: app/Mail/CheckoutAccessoryMail.php + + - + message: '#^Access to an undefined property App\\Mail\\CheckoutAccessoryMail\:\:\$checkout_qty\.$#' + identifier: property.notFound + count: 6 + path: app/Mail/CheckoutAccessoryMail.php + + - + message: '#^Access to an undefined property App\\Mail\\CheckoutAccessoryMail\:\:\$item\.$#' + identifier: property.notFound + count: 6 + path: app/Mail/CheckoutAccessoryMail.php + + - + message: '#^Access to an undefined property App\\Mail\\CheckoutAccessoryMail\:\:\$note\.$#' + identifier: property.notFound + count: 2 + path: app/Mail/CheckoutAccessoryMail.php + + - + message: '#^Access to an undefined property App\\Mail\\CheckoutAccessoryMail\:\:\$settings\.$#' + identifier: property.notFound + count: 1 + path: app/Mail/CheckoutAccessoryMail.php + + - + message: '#^Access to an undefined property App\\Mail\\CheckoutAccessoryMail\:\:\$target\.$#' + identifier: property.notFound + count: 3 + path: app/Mail/CheckoutAccessoryMail.php + + - + message: '#^Access to an undefined property App\\Models\\Accessory\:\:\$checkout_qty\.$#' + identifier: property.notFound + count: 1 + path: app/Mail/CheckoutAccessoryMail.php + + - + message: '#^Access to an undefined property App\\Models\\User\:\:\$display_name\.$#' + identifier: property.notFound + count: 1 + path: app/Mail/CheckoutAccessoryMail.php + + - + message: '#^Access to an undefined property App\\Mail\\CheckoutAssetMail\:\:\$acceptance\.$#' + identifier: property.notFound + count: 3 + path: app/Mail/CheckoutAssetMail.php + + - + message: '#^Access to an undefined property App\\Mail\\CheckoutAssetMail\:\:\$admin\.$#' + identifier: property.notFound + count: 2 + path: app/Mail/CheckoutAssetMail.php + + - + message: '#^Access to an undefined property App\\Mail\\CheckoutAssetMail\:\:\$expected_checkin\.$#' + identifier: property.notFound + count: 2 + path: app/Mail/CheckoutAssetMail.php + + - + message: '#^Access to an undefined property App\\Mail\\CheckoutAssetMail\:\:\$item\.$#' + identifier: property.notFound + count: 11 + path: app/Mail/CheckoutAssetMail.php + + - + message: '#^Access to an undefined property App\\Mail\\CheckoutAssetMail\:\:\$last_checkout\.$#' + identifier: property.notFound + count: 2 + path: app/Mail/CheckoutAssetMail.php + + - + message: '#^Access to an undefined property App\\Mail\\CheckoutAssetMail\:\:\$note\.$#' + identifier: property.notFound + count: 2 + path: app/Mail/CheckoutAssetMail.php + + - + message: '#^Access to an undefined property App\\Mail\\CheckoutAssetMail\:\:\$settings\.$#' + identifier: property.notFound + count: 1 + path: app/Mail/CheckoutAssetMail.php + + - + message: '#^Access to an undefined property App\\Mail\\CheckoutAssetMail\:\:\$target\.$#' + identifier: property.notFound + count: 3 + path: app/Mail/CheckoutAssetMail.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$last_checkout\.$#' + identifier: property.notFound + count: 1 + path: app/Mail/CheckoutAssetMail.php + + - + message: '#^Access to an undefined property App\\Models\\User\:\:\$display_name\.$#' + identifier: property.notFound + count: 1 + path: app/Mail/CheckoutAssetMail.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$notifiable$#' + identifier: parameter.notFound + count: 1 + path: app/Mail/CheckoutAssetMail.php + + - + message: '#^Access to an undefined property App\\Mail\\CheckoutComponentMail\:\:\$acceptance\.$#' + identifier: property.notFound + count: 2 + path: app/Mail/CheckoutComponentMail.php + + - + message: '#^Access to an undefined property App\\Mail\\CheckoutComponentMail\:\:\$admin\.$#' + identifier: property.notFound + count: 2 + path: app/Mail/CheckoutComponentMail.php + + - + message: '#^Access to an undefined property App\\Mail\\CheckoutComponentMail\:\:\$item\.$#' + identifier: property.notFound + count: 4 + path: app/Mail/CheckoutComponentMail.php + + - + message: '#^Access to an undefined property App\\Mail\\CheckoutComponentMail\:\:\$note\.$#' + identifier: property.notFound + count: 2 + path: app/Mail/CheckoutComponentMail.php + + - + message: '#^Access to an undefined property App\\Mail\\CheckoutComponentMail\:\:\$qty\.$#' + identifier: property.notFound + count: 2 + path: app/Mail/CheckoutComponentMail.php + + - + message: '#^Access to an undefined property App\\Mail\\CheckoutComponentMail\:\:\$settings\.$#' + identifier: property.notFound + count: 1 + path: app/Mail/CheckoutComponentMail.php + + - + message: '#^Access to an undefined property App\\Mail\\CheckoutComponentMail\:\:\$target\.$#' + identifier: property.notFound + count: 2 + path: app/Mail/CheckoutComponentMail.php + + - + message: '#^Access to an undefined property App\\Models\\Component\:\:\$checkout_qty\.$#' + identifier: property.notFound + count: 1 + path: app/Mail/CheckoutComponentMail.php + + - + message: '#^Access to an undefined property App\\Mail\\CheckoutConsumableMail\:\:\$acceptance\.$#' + identifier: property.notFound + count: 2 + path: app/Mail/CheckoutConsumableMail.php + + - + message: '#^Access to an undefined property App\\Mail\\CheckoutConsumableMail\:\:\$admin\.$#' + identifier: property.notFound + count: 2 + path: app/Mail/CheckoutConsumableMail.php + + - + message: '#^Access to an undefined property App\\Mail\\CheckoutConsumableMail\:\:\$item\.$#' + identifier: property.notFound + count: 5 + path: app/Mail/CheckoutConsumableMail.php + + - + message: '#^Access to an undefined property App\\Mail\\CheckoutConsumableMail\:\:\$note\.$#' + identifier: property.notFound + count: 2 + path: app/Mail/CheckoutConsumableMail.php + + - + message: '#^Access to an undefined property App\\Mail\\CheckoutConsumableMail\:\:\$qty\.$#' + identifier: property.notFound + count: 4 + path: app/Mail/CheckoutConsumableMail.php + + - + message: '#^Access to an undefined property App\\Mail\\CheckoutConsumableMail\:\:\$settings\.$#' + identifier: property.notFound + count: 1 + path: app/Mail/CheckoutConsumableMail.php + + - + message: '#^Access to an undefined property App\\Mail\\CheckoutConsumableMail\:\:\$target\.$#' + identifier: property.notFound + count: 2 + path: app/Mail/CheckoutConsumableMail.php + + - + message: '#^Access to an undefined property App\\Models\\Consumable\:\:\$checkout_qty\.$#' + identifier: property.notFound + count: 1 + path: app/Mail/CheckoutConsumableMail.php + + - + message: '#^Access to an undefined property App\\Mail\\CheckoutLicenseMail\:\:\$acceptance\.$#' + identifier: property.notFound + count: 2 + path: app/Mail/CheckoutLicenseMail.php + + - + message: '#^Access to an undefined property App\\Mail\\CheckoutLicenseMail\:\:\$admin\.$#' + identifier: property.notFound + count: 2 + path: app/Mail/CheckoutLicenseMail.php + + - + message: '#^Access to an undefined property App\\Mail\\CheckoutLicenseMail\:\:\$item\.$#' + identifier: property.notFound + count: 6 + path: app/Mail/CheckoutLicenseMail.php + + - + message: '#^Access to an undefined property App\\Mail\\CheckoutLicenseMail\:\:\$note\.$#' + identifier: property.notFound + count: 2 + path: app/Mail/CheckoutLicenseMail.php + + - + message: '#^Access to an undefined property App\\Mail\\CheckoutLicenseMail\:\:\$settings\.$#' + identifier: property.notFound + count: 1 + path: app/Mail/CheckoutLicenseMail.php + + - + message: '#^Access to an undefined property App\\Mail\\CheckoutLicenseMail\:\:\$target\.$#' + identifier: property.notFound + count: 2 + path: app/Mail/CheckoutLicenseMail.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$display_name\.$#' + identifier: property.notFound + count: 1 + path: app/Mail/CheckoutLicenseMail.php + + - + message: '#^Access to an undefined property App\\Models\\User\:\:\$display_name\.$#' + identifier: property.notFound + count: 1 + path: app/Mail/CheckoutLicenseMail.php + + - + message: '#^Access to an undefined property App\\Mail\\ExpiringAssetsMail\:\:\$assets\.$#' + identifier: property.notFound + count: 2 + path: app/Mail/ExpiringAssetsMail.php + + - + message: '#^Access to an undefined property App\\Mail\\ExpiringAssetsMail\:\:\$threshold\.$#' + identifier: property.notFound + count: 2 + path: app/Mail/ExpiringAssetsMail.php + + - + message: '#^Access to an undefined property App\\Mail\\ExpiringLicenseMail\:\:\$licenses\.$#' + identifier: property.notFound + count: 2 + path: app/Mail/ExpiringLicenseMail.php + + - + message: '#^Access to an undefined property App\\Mail\\ExpiringLicenseMail\:\:\$threshold\.$#' + identifier: property.notFound + count: 2 + path: app/Mail/ExpiringLicenseMail.php + + - + message: '#^Access to an undefined property App\\Mail\\SendUpcomingAuditMail\:\:\$assets\.$#' + identifier: property.notFound + count: 2 + path: app/Mail/SendUpcomingAuditMail.php + + - + message: '#^Access to an undefined property App\\Mail\\SendUpcomingAuditMail\:\:\$threshold\.$#' + identifier: property.notFound + count: 3 + path: app/Mail/SendUpcomingAuditMail.php + + - + message: '#^Access to an undefined property App\\Mail\\SendUpcomingAuditMail\:\:\$total\.$#' + identifier: property.notFound + count: 4 + path: app/Mail/SendUpcomingAuditMail.php + + - + message: '#^Access to an undefined property App\\Mail\\UnacceptedAssetReminderMail\:\:\$acceptance\.$#' + identifier: property.notFound + count: 1 + path: app/Mail/UnacceptedAssetReminderMail.php + + - + message: '#^Access to an undefined property App\\Mail\\UnacceptedAssetReminderMail\:\:\$count\.$#' + identifier: property.notFound + count: 2 + path: app/Mail/UnacceptedAssetReminderMail.php + + - + message: '#^Access to an undefined property App\\Mail\\UnacceptedAssetReminderMail\:\:\$target\.$#' + identifier: property.notFound + count: 2 + path: app/Mail/UnacceptedAssetReminderMail.php + + - + message: '#^Access to an undefined property App\\Models\\Accessory\:\:\$license\.$#' + identifier: property.notFound + count: 1 + path: app/Models/Accessory.php + + - + message: '#^Access to an undefined property App\\Models\\Accessory\:\:\$license_id\.$#' + identifier: property.notFound + count: 5 + path: app/Models/Accessory.php + + - + message: '#^Access to an undefined property App\\Models\\Accessory\:\:\$model\.$#' + identifier: property.notFound + count: 1 + path: app/Models/Accessory.php + + - + message: '#^Access to an undefined property App\\Models\\Accessory\:\:\$requests\.$#' + identifier: property.notFound + count: 1 + path: app/Models/Accessory.php + + - + message: '#^Access to an undefined property App\\Models\\Actionlog\:\:\$created_by\.$#' + identifier: property.notFound + count: 4 + path: app/Models/Accessory.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$company_id\.$#' + identifier: property.notFound + count: 2 + path: app/Models/Accessory.php + + - + message: '#^Call to function is_array\(\) with string will always evaluate to false\.$#' + identifier: function.impossibleType + count: 1 + path: app/Models/Accessory.php + + - + message: '#^If condition is always false\.$#' + identifier: if.alwaysFalse + count: 1 + path: app/Models/Accessory.php + + - + message: '#^Loose comparison using \=\= between int and '''' will always evaluate to false\.$#' + identifier: equal.alwaysFalse + count: 1 + path: app/Models/Accessory.php + + - + message: '#^Method App\\Models\\Accessory\:\:getImageUrl\(\) should return string but returns false\.$#' + identifier: return.type + count: 1 + path: app/Models/Accessory.php + + - + message: '#^Method App\\Models\\Accessory\:\:getLatestSignedAcceptance\(\) should return App\\Models\\Actionlog\|null but returns Illuminate\\Database\\Eloquent\\Model\|null\.$#' + identifier: return.type + count: 1 + path: app/Models/Accessory.php + + - + message: '#^PHPDoc tag @SuppressWarnings has invalid value \(\(PHPMD\.UnusedFormalParameter\)\)\: Unexpected token "\.UnusedFormalParameter\)", expected ''\)'' at offset 351 on line 10$#' + identifier: phpDoc.parseError + count: 1 + path: app/Models/Accessory.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$acceptedBy$#' + identifier: parameter.notFound + count: 1 + path: app/Models/Accessory.php + + - + message: '#^PHPDoc type array of property App\\Models\\Accessory\:\:\$fillable is not covariant with PHPDoc type list\ of overridden property Illuminate\\Database\\Eloquent\\Model\:\:\$fillable\.$#' + identifier: property.phpDocType + count: 1 + path: app/Models/Accessory.php + + - + message: '#^Parameter \$order of method App\\Models\\Accessory\:\:scopeOrderCategory\(\) has invalid type App\\Models\\text\.$#' + identifier: class.notFound + count: 1 + path: app/Models/Accessory.php + + - + message: '#^Parameter \$order of method App\\Models\\Accessory\:\:scopeOrderCompany\(\) has invalid type App\\Models\\text\.$#' + identifier: class.notFound + count: 1 + path: app/Models/Accessory.php + + - + message: '#^Parameter \$order of method App\\Models\\Accessory\:\:scopeOrderLocation\(\) has invalid type App\\Models\\text\.$#' + identifier: class.notFound + count: 1 + path: app/Models/Accessory.php + + - + message: '#^Parameter \$order of method App\\Models\\Accessory\:\:scopeOrderManufacturer\(\) has invalid type App\\Models\\text\.$#' + identifier: class.notFound + count: 1 + path: app/Models/Accessory.php + + - + message: '#^Parameter \$order of method App\\Models\\Accessory\:\:scopeOrderSupplier\(\) has invalid type App\\Models\\text\.$#' + identifier: class.notFound + count: 1 + path: app/Models/Accessory.php + + - + message: '#^Property App\\Models\\Accessory\:\:\$searchableAttributes \(array\) on left side of \?\? is not nullable\.$#' + identifier: nullCoalesce.property + count: 1 + path: app/Models/Accessory.php + + - + message: '#^Property App\\Models\\Accessory\:\:\$searchableRelations \(array\) on left side of \?\? is not nullable\.$#' + identifier: nullCoalesce.property + count: 1 + path: app/Models/Accessory.php + + - + message: '#^Strict comparison using \=\=\= between class\-string\ and ''App\\\\Models\\\\LicenseSeat'' will always evaluate to false\.$#' + identifier: identical.alwaysFalse + count: 1 + path: app/Models/Accessory.php + + - + message: '#^Unsafe access to private property App\\Models\\Accessory\:\:\$customFieldFilterMapCache through static\:\:\.$#' + identifier: staticClassAccess.privateProperty + count: 4 + path: app/Models/Accessory.php + + - + message: '#^Using nullsafe method call on non\-nullable type Psr\\Http\\Message\\ResponseInterface\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 2 + path: app/Models/Accessory.php + + - + message: '#^Using nullsafe property access "\?\-\>company_id" in isset\(\) is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: app/Models/Accessory.php + + - + message: '#^Call to function is_array\(\) with string will always evaluate to false\.$#' + identifier: function.impossibleType + count: 1 + path: app/Models/AccessoryCheckout.php + + - + message: '#^Call to function method_exists\(\) with \$this\(App\\Models\\AccessoryCheckout\) and ''assignedTo'' will always evaluate to true\.$#' + identifier: function.alreadyNarrowedType + count: 1 + path: app/Models/AccessoryCheckout.php + + - + message: '#^Unsafe access to private property App\\Models\\AccessoryCheckout\:\:\$customFieldFilterMapCache through static\:\:\.$#' + identifier: staticClassAccess.privateProperty + count: 4 + path: app/Models/AccessoryCheckout.php + + - + message: '#^Access to an undefined property App\\Models\\Actionlog\:\:\$created_by\.$#' + identifier: property.notFound + count: 1 + path: app/Models/Actionlog.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$company_id\.$#' + identifier: property.notFound + count: 2 + path: app/Models/Actionlog.php + + - + message: '#^Call to function is_array\(\) with string will always evaluate to false\.$#' + identifier: function.impossibleType + count: 1 + path: app/Models/Actionlog.php + + - + message: '#^Method App\\Models\\Actionlog\:\:boot\(\) should return Illuminate\\Database\\Eloquent\\Relations\\Relation but return statement is missing\.$#' + identifier: return.missing + count: 1 + path: app/Models/Actionlog.php + + - + message: '#^Method App\\Models\\Actionlog\:\:calcNextAuditDate\(\) has invalid return type App\\Models\\Datetime\.$#' + identifier: class.notFound + count: 1 + path: app/Models/Actionlog.php + + - + message: '#^Method App\\Models\\Actionlog\:\:itemType\(\) should return Illuminate\\Database\\Eloquent\\Relations\\Relation but returns string\.$#' + identifier: return.type + count: 2 + path: app/Models/Actionlog.php + + - + message: '#^Method App\\Models\\Actionlog\:\:targetType\(\) should return Illuminate\\Database\\Eloquent\\Relations\\Relation but returns string\.$#' + identifier: return.type + count: 2 + path: app/Models/Actionlog.php + + - + message: '#^Method Carbon\\Carbon\:\:addMonth\(\) invoked with 1 parameter, 0 required\.$#' + identifier: arguments.count + count: 1 + path: app/Models/Actionlog.php + + - + message: '#^PHPDoc tag @SuppressWarnings has invalid value \(\(PHPMD\.UnusedFormalParameter\)\)\: Unexpected token "\.UnusedFormalParameter\)", expected ''\)'' at offset 351 on line 10$#' + identifier: phpDoc.parseError + count: 1 + path: app/Models/Actionlog.php + + - + message: '#^Property App\\Models\\Actionlog\:\:\$searchableAttributes \(array\) on left side of \?\? is not nullable\.$#' + identifier: nullCoalesce.property + count: 1 + path: app/Models/Actionlog.php + + - + message: '#^Property App\\Models\\Actionlog\:\:\$searchableRelations \(array\) on left side of \?\? is not nullable\.$#' + identifier: nullCoalesce.property + count: 1 + path: app/Models/Actionlog.php + + - + message: '#^Unsafe access to private property App\\Models\\Actionlog\:\:\$customFieldFilterMapCache through static\:\:\.$#' + identifier: staticClassAccess.privateProperty + count: 4 + path: app/Models/Actionlog.php + + - + message: '#^Access to an undefined property App\\Models\\Actionlog\:\:\$created_by\.$#' + identifier: property.notFound + count: 4 + path: app/Models/Asset.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$asset_eol_date\.$#' + identifier: property.notFound + count: 1 + path: app/Models/Asset.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$company_id\.$#' + identifier: property.notFound + count: 2 + path: app/Models/Asset.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$eolDate\.$#' + identifier: property.notFound + count: 3 + path: app/Models/Asset.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$last_audit_date\.$#' + identifier: property.notFound + count: 2 + path: app/Models/Asset.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$last_checkout\.$#' + identifier: property.notFound + count: 1 + path: app/Models/Asset.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$license\.$#' + identifier: property.notFound + count: 1 + path: app/Models/Asset.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$license_id\.$#' + identifier: property.notFound + count: 5 + path: app/Models/Asset.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$location_id\.$#' + identifier: property.notFound + count: 3 + path: app/Models/Asset.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$next_audit_date\.$#' + identifier: property.notFound + count: 2 + path: app/Models/Asset.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$requests\.$#' + identifier: property.notFound + count: 1 + path: app/Models/Asset.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$warrantyExpires\.$#' + identifier: property.notFound + count: 4 + path: app/Models/Asset.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$warranty_expires\.$#' + identifier: property.notFound + count: 1 + path: app/Models/Asset.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$company_id\.$#' + identifier: property.notFound + count: 2 + path: app/Models/Asset.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:associate\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Models/Asset.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:withTrashed\(\)\.$#' + identifier: method.notFound + count: 5 + path: app/Models/Asset.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Query\\Builder\:\:getModel\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Models/Asset.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Query\\Builder\:\:withTrashed\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Models/Asset.php + + - + message: '#^Call to function is_array\(\) with string will always evaluate to false\.$#' + identifier: function.impossibleType + count: 1 + path: app/Models/Asset.php + + - + message: '#^Call to function is_int\(\) with App\\Models\\User\|null will always evaluate to false\.$#' + identifier: function.impossibleType + count: 1 + path: app/Models/Asset.php + + - + message: '#^Call to function method_exists\(\) with \$this\(App\\Models\\Asset\) and ''assignedTo'' will always evaluate to true\.$#' + identifier: function.alreadyNarrowedType + count: 1 + path: app/Models/Asset.php + + - + message: '#^Expression on left side of \?\? is not nullable\.$#' + identifier: nullCoalesce.expr + count: 2 + path: app/Models/Asset.php + + - + message: '#^Method App\\Models\\Asset\:\:checkin_email\(\) should return bool but return statement is missing\.$#' + identifier: return.missing + count: 1 + path: app/Models/Asset.php + + - + message: '#^Method App\\Models\\Asset\:\:getLatestSignedAcceptance\(\) should return App\\Models\\Actionlog\|null but returns Illuminate\\Database\\Eloquent\\Model\|null\.$#' + identifier: return.type + count: 1 + path: app/Models/Asset.php + + - + message: '#^Method App\\Models\\Asset\:\:get_depreciation\(\) should return Illuminate\\Database\\Eloquent\\Relations\\Relation but return statement is missing\.$#' + identifier: return.missing + count: 1 + path: app/Models/Asset.php + + - + message: '#^Method App\\Models\\Asset\:\:nextAutoIncrement\(\) should return int but return statement is missing\.$#' + identifier: return.missing + count: 1 + path: app/Models/Asset.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$acceptedBy$#' + identifier: parameter.notFound + count: 1 + path: app/Models/Asset.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$order$#' + identifier: parameter.notFound + count: 2 + path: app/Models/Asset.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$settings$#' + identifier: parameter.notFound + count: 1 + path: app/Models/Asset.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$user$#' + identifier: parameter.notFound + count: 1 + path: app/Models/Asset.php + + - + message: '#^PHPDoc tag @return with type Carbon\\Carbon\|null is incompatible with native type Illuminate\\Database\\Eloquent\\Casts\\Attribute\.$#' + identifier: return.phpDocType + count: 1 + path: app/Models/Asset.php + + - + message: '#^PHPDoc tag @return with type Illuminate\\Database\\Query\\Builder is incompatible with native type Illuminate\\Database\\Eloquent\\Builder\.$#' + identifier: return.phpDocType + count: 1 + path: app/Models/Asset.php + + - + message: '#^PHPDoc tag @return with type void is incompatible with native type Illuminate\\Database\\Eloquent\\Casts\\Attribute\.$#' + identifier: return.phpDocType + count: 2 + path: app/Models/Asset.php + + - + message: '#^PHPDoc tag @var above a method has no effect\.$#' + identifier: varTag.misplaced + count: 1 + path: app/Models/Asset.php + + - + message: '#^PHPDoc type array of property App\\Models\\Asset\:\:\$fillable is not covariant with PHPDoc type list\ of overridden property Illuminate\\Database\\Eloquent\\Model\:\:\$fillable\.$#' + identifier: property.phpDocType + count: 1 + path: app/Models/Asset.php + + - + message: '#^Parameter \$order of method App\\Models\\Asset\:\:scopeOrderAssigned\(\) has invalid type App\\Models\\text\.$#' + identifier: class.notFound + count: 1 + path: app/Models/Asset.php + + - + message: '#^Parameter \$order of method App\\Models\\Asset\:\:scopeOrderByCreatedByName\(\) has invalid type App\\Models\\text\.$#' + identifier: class.notFound + count: 1 + path: app/Models/Asset.php + + - + message: '#^Parameter \$order of method App\\Models\\Asset\:\:scopeOrderByJobTitle\(\) has invalid type App\\Models\\text\.$#' + identifier: class.notFound + count: 1 + path: app/Models/Asset.php + + - + message: '#^Parameter \$order of method App\\Models\\Asset\:\:scopeOrderCategory\(\) has invalid type App\\Models\\text\.$#' + identifier: class.notFound + count: 1 + path: app/Models/Asset.php + + - + message: '#^Parameter \$order of method App\\Models\\Asset\:\:scopeOrderCompany\(\) has invalid type App\\Models\\text\.$#' + identifier: class.notFound + count: 1 + path: app/Models/Asset.php + + - + message: '#^Parameter \$order of method App\\Models\\Asset\:\:scopeOrderLocation\(\) has invalid type App\\Models\\text\.$#' + identifier: class.notFound + count: 1 + path: app/Models/Asset.php + + - + message: '#^Parameter \$order of method App\\Models\\Asset\:\:scopeOrderManufacturer\(\) has invalid type App\\Models\\text\.$#' + identifier: class.notFound + count: 1 + path: app/Models/Asset.php + + - + message: '#^Parameter \$order of method App\\Models\\Asset\:\:scopeOrderModelNumber\(\) has invalid type App\\Models\\text\.$#' + identifier: class.notFound + count: 1 + path: app/Models/Asset.php + + - + message: '#^Parameter \$order of method App\\Models\\Asset\:\:scopeOrderModels\(\) has invalid type App\\Models\\text\.$#' + identifier: class.notFound + count: 1 + path: app/Models/Asset.php + + - + message: '#^Parameter \$order of method App\\Models\\Asset\:\:scopeOrderRtdLocation\(\) has invalid type App\\Models\\text\.$#' + identifier: class.notFound + count: 1 + path: app/Models/Asset.php + + - + message: '#^Parameter \$order of method App\\Models\\Asset\:\:scopeOrderStatus\(\) has invalid type App\\Models\\text\.$#' + identifier: class.notFound + count: 1 + path: app/Models/Asset.php + + - + message: '#^Parameter \$order of method App\\Models\\Asset\:\:scopeOrderSupplier\(\) has invalid type App\\Models\\text\.$#' + identifier: class.notFound + count: 1 + path: app/Models/Asset.php + + - + message: '#^Parameter \$search of method App\\Models\\Asset\:\:scopeAssignedSearch\(\) has invalid type App\\Models\\text\.$#' + identifier: class.notFound + count: 1 + path: app/Models/Asset.php + + - + message: '#^Parameter \$search of method App\\Models\\Asset\:\:scopeByDepreciationId\(\) has invalid type App\\Models\\text\.$#' + identifier: class.notFound + count: 1 + path: app/Models/Asset.php + + - + message: '#^Parameter \$search of method App\\Models\\Asset\:\:scopeByLocationId\(\) has invalid type App\\Models\\text\.$#' + identifier: class.notFound + count: 1 + path: app/Models/Asset.php + + - + message: '#^Property App\\Models\\Asset\:\:\$searchableAttributes \(array\) on left side of \?\? is not nullable\.$#' + identifier: nullCoalesce.property + count: 1 + path: app/Models/Asset.php + + - + message: '#^Property App\\Models\\Asset\:\:\$searchableRelationAliases \(array\\) on left side of \?\? is not nullable\.$#' + identifier: nullCoalesce.property + count: 1 + path: app/Models/Asset.php + + - + message: '#^Property App\\Models\\Asset\:\:\$searchableRelations \(array\) on left side of \?\? is not nullable\.$#' + identifier: nullCoalesce.property + count: 1 + path: app/Models/Asset.php + + - + message: '#^Right side of && is always true\.$#' + identifier: booleanAnd.rightAlwaysTrue + count: 1 + path: app/Models/Asset.php + + - + message: '#^Strict comparison using \!\=\= between mixed~\(''''\|false\|null\) and '''' will always evaluate to true\.$#' + identifier: notIdentical.alwaysTrue + count: 1 + path: app/Models/Asset.php + + - + message: '#^Strict comparison using \=\=\= between class\-string\ and ''App\\\\Models\\\\LicenseSeat'' will always evaluate to false\.$#' + identifier: identical.alwaysFalse + count: 1 + path: app/Models/Asset.php + + - + message: '#^Ternary operator condition is always true\.$#' + identifier: ternary.alwaysTrue + count: 1 + path: app/Models/Asset.php + + - + message: '#^Unsafe access to private property App\\Models\\Asset\:\:\$customFieldFilterMapCache through static\:\:\.$#' + identifier: staticClassAccess.privateProperty + count: 4 + path: app/Models/Asset.php + + - + message: '#^Using nullsafe method call on non\-nullable type Psr\\Http\\Message\\ResponseInterface\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 2 + path: app/Models/Asset.php + + - + message: '#^Using nullsafe property access "\?\-\>company_id" in isset\(\) is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: app/Models/Asset.php + + - + message: '#^Access to an undefined property App\\Models\\Actionlog\:\:\$created_by\.$#' + identifier: property.notFound + count: 4 + path: app/Models/AssetModel.php + + - + message: '#^Access to an undefined property App\\Models\\AssetModel\:\:\$license\.$#' + identifier: property.notFound + count: 1 + path: app/Models/AssetModel.php + + - + message: '#^Access to an undefined property App\\Models\\AssetModel\:\:\$license_id\.$#' + identifier: property.notFound + count: 5 + path: app/Models/AssetModel.php + + - + message: '#^Access to an undefined property App\\Models\\AssetModel\:\:\$model\.$#' + identifier: property.notFound + count: 1 + path: app/Models/AssetModel.php + + - + message: '#^Access to an undefined property App\\Models\\AssetModel\:\:\$requests\.$#' + identifier: property.notFound + count: 1 + path: app/Models/AssetModel.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:fields\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Models/AssetModel.php + + - + message: '#^Call to function is_array\(\) with string will always evaluate to false\.$#' + identifier: function.impossibleType + count: 1 + path: app/Models/AssetModel.php + + - + message: '#^Call to method where\(\) on an unknown class App\\Models\\Illuminate\\Database\\Query\\Builder\.$#' + identifier: class.notFound + count: 1 + path: app/Models/AssetModel.php + + - + message: '#^Method App\\Models\\AssetModel\:\:getImageUrl\(\) should return Illuminate\\Database\\Eloquent\\Relations\\Relation but returns false\.$#' + identifier: return.type + count: 1 + path: app/Models/AssetModel.php + + - + message: '#^Method App\\Models\\AssetModel\:\:getImageUrl\(\) should return Illuminate\\Database\\Eloquent\\Relations\\Relation but returns string\.$#' + identifier: return.type + count: 1 + path: app/Models/AssetModel.php + + - + message: '#^Method App\\Models\\AssetModel\:\:getLatestSignedAcceptance\(\) should return App\\Models\\Actionlog\|null but returns Illuminate\\Database\\Eloquent\\Model\|null\.$#' + identifier: return.type + count: 1 + path: app/Models/AssetModel.php + + - + message: '#^Method App\\Models\\AssetModel\:\:scopeSearchByManufacturerOrCat\(\) has invalid return type App\\Models\\Illuminate\\Database\\Query\\Builder\.$#' + identifier: class.notFound + count: 1 + path: app/Models/AssetModel.php + + - + message: '#^PHPDoc tag @SuppressWarnings has invalid value \(\(PHPMD\.UnusedFormalParameter\)\)\: Unexpected token "\.UnusedFormalParameter\)", expected ''\)'' at offset 351 on line 10$#' + identifier: phpDoc.parseError + count: 1 + path: app/Models/AssetModel.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$field$#' + identifier: parameter.notFound + count: 1 + path: app/Models/AssetModel.php + + - + message: '#^PHPDoc tag @return has invalid value \(\$query\)\: Unexpected token "\$query", expected type at offset 111 on line 6$#' + identifier: phpDoc.parseError + count: 1 + path: app/Models/AssetModel.php + + - + message: '#^PHPDoc type array of property App\\Models\\AssetModel\:\:\$fillable is not covariant with PHPDoc type list\ of overridden property Illuminate\\Database\\Eloquent\\Model\:\:\$fillable\.$#' + identifier: property.phpDocType + count: 1 + path: app/Models/AssetModel.php + + - + message: '#^Parameter \$order of method App\\Models\\AssetModel\:\:scopeOrderCategory\(\) has invalid type App\\Models\\text\.$#' + identifier: class.notFound + count: 1 + path: app/Models/AssetModel.php + + - + message: '#^Parameter \$order of method App\\Models\\AssetModel\:\:scopeOrderManufacturer\(\) has invalid type App\\Models\\text\.$#' + identifier: class.notFound + count: 1 + path: app/Models/AssetModel.php + + - + message: '#^Parameter \$query of method App\\Models\\AssetModel\:\:scopeSearchByManufacturerOrCat\(\) has invalid type App\\Models\\Illuminate\\Database\\Query\\Builder\.$#' + identifier: class.notFound + count: 1 + path: app/Models/AssetModel.php + + - + message: '#^Parameter \$search of method App\\Models\\AssetModel\:\:scopeSearchByManufacturerOrCat\(\) has invalid type App\\Models\\text\.$#' + identifier: class.notFound + count: 1 + path: app/Models/AssetModel.php + + - + message: '#^Property App\\Models\\AssetModel\:\:\$searchableAttributes \(array\) on left side of \?\? is not nullable\.$#' + identifier: nullCoalesce.property + count: 1 + path: app/Models/AssetModel.php + + - + message: '#^Property App\\Models\\AssetModel\:\:\$searchableCounts \(array\) on left side of \?\? is not nullable\.$#' + identifier: nullCoalesce.property + count: 1 + path: app/Models/AssetModel.php + + - + message: '#^Property App\\Models\\AssetModel\:\:\$searchableRelations \(array\) on left side of \?\? is not nullable\.$#' + identifier: nullCoalesce.property + count: 1 + path: app/Models/AssetModel.php + + - + message: '#^Strict comparison using \=\=\= between class\-string\ and ''App\\\\Models\\\\LicenseSeat'' will always evaluate to false\.$#' + identifier: identical.alwaysFalse + count: 1 + path: app/Models/AssetModel.php + + - + message: '#^Unsafe access to private property App\\Models\\AssetModel\:\:\$customFieldFilterMapCache through static\:\:\.$#' + identifier: staticClassAccess.privateProperty + count: 4 + path: app/Models/AssetModel.php + + - + message: '#^Using nullsafe method call on non\-nullable type Psr\\Http\\Message\\ResponseInterface\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 2 + path: app/Models/AssetModel.php + + - + message: '#^Using nullsafe property access "\?\-\>company_id" in isset\(\) is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: app/Models/AssetModel.php + + - + message: '#^Method App\\Models\\Builders\\MaintenanceQueryBuilder\:\:active\(\) should return static\(App\\Models\\Builders\\MaintenanceQueryBuilder\) but returns App\\Models\\Builders\\MaintenanceQueryBuilder\.$#' + identifier: return.type + count: 1 + path: app/Models/Builders/MaintenanceQueryBuilder.php + + - + message: '#^Method App\\Models\\Builders\\MaintenanceQueryBuilder\:\:completed\(\) should return static\(App\\Models\\Builders\\MaintenanceQueryBuilder\) but returns App\\Models\\Builders\\MaintenanceQueryBuilder\.$#' + identifier: return.type + count: 1 + path: app/Models/Builders/MaintenanceQueryBuilder.php + + - + message: '#^Method App\\Models\\Builders\\MaintenanceQueryBuilder\:\:dueForCompletion\(\) should return static\(App\\Models\\Builders\\MaintenanceQueryBuilder\) but returns App\\Models\\Builders\\MaintenanceQueryBuilder\.$#' + identifier: return.type + count: 1 + path: app/Models/Builders/MaintenanceQueryBuilder.php + + - + message: '#^Method App\\Models\\Builders\\MaintenanceQueryBuilder\:\:orderByAssetModelName\(\) should return static\(App\\Models\\Builders\\MaintenanceQueryBuilder\) but returns App\\Models\\Builders\\MaintenanceQueryBuilder\.$#' + identifier: return.type + count: 1 + path: app/Models/Builders/MaintenanceQueryBuilder.php + + - + message: '#^Method App\\Models\\Builders\\MaintenanceQueryBuilder\:\:orderByAssetModelNumber\(\) should return static\(App\\Models\\Builders\\MaintenanceQueryBuilder\) but returns App\\Models\\Builders\\MaintenanceQueryBuilder\.$#' + identifier: return.type + count: 1 + path: app/Models/Builders/MaintenanceQueryBuilder.php + + - + message: '#^Method App\\Models\\Builders\\MaintenanceQueryBuilder\:\:orderByAssetName\(\) should return static\(App\\Models\\Builders\\MaintenanceQueryBuilder\) but returns App\\Models\\Builders\\MaintenanceQueryBuilder\.$#' + identifier: return.type + count: 1 + path: app/Models/Builders/MaintenanceQueryBuilder.php + + - + message: '#^Method App\\Models\\Builders\\MaintenanceQueryBuilder\:\:orderByAssetSerial\(\) should return static\(App\\Models\\Builders\\MaintenanceQueryBuilder\) but returns App\\Models\\Builders\\MaintenanceQueryBuilder\.$#' + identifier: return.type + count: 1 + path: app/Models/Builders/MaintenanceQueryBuilder.php + + - + message: '#^Method App\\Models\\Builders\\MaintenanceQueryBuilder\:\:orderByCompletedAt\(\) should return static\(App\\Models\\Builders\\MaintenanceQueryBuilder\) but returns App\\Models\\Builders\\MaintenanceQueryBuilder\.$#' + identifier: return.type + count: 1 + path: app/Models/Builders/MaintenanceQueryBuilder.php + + - + message: '#^Method App\\Models\\Builders\\MaintenanceQueryBuilder\:\:orderByCreatedBy\(\) should return static\(App\\Models\\Builders\\MaintenanceQueryBuilder\) but returns App\\Models\\Builders\\MaintenanceQueryBuilder\.$#' + identifier: return.type + count: 1 + path: app/Models/Builders/MaintenanceQueryBuilder.php + + - + message: '#^Method App\\Models\\Builders\\MaintenanceQueryBuilder\:\:orderByMaintenanceType\(\) should return static\(App\\Models\\Builders\\MaintenanceQueryBuilder\) but returns App\\Models\\Builders\\MaintenanceQueryBuilder\.$#' + identifier: return.type + count: 1 + path: app/Models/Builders/MaintenanceQueryBuilder.php + + - + message: '#^Method App\\Models\\Builders\\MaintenanceQueryBuilder\:\:orderBySupplier\(\) should return static\(App\\Models\\Builders\\MaintenanceQueryBuilder\) but returns App\\Models\\Builders\\MaintenanceQueryBuilder\.$#' + identifier: return.type + count: 1 + path: app/Models/Builders/MaintenanceQueryBuilder.php + + - + message: '#^Method App\\Models\\Builders\\MaintenanceQueryBuilder\:\:orderByTag\(\) should return static\(App\\Models\\Builders\\MaintenanceQueryBuilder\) but returns App\\Models\\Builders\\MaintenanceQueryBuilder\.$#' + identifier: return.type + count: 1 + path: app/Models/Builders/MaintenanceQueryBuilder.php + + - + message: '#^Method App\\Models\\Builders\\MaintenanceQueryBuilder\:\:orderLocationName\(\) should return static\(App\\Models\\Builders\\MaintenanceQueryBuilder\) but returns App\\Models\\Builders\\MaintenanceQueryBuilder\.$#' + identifier: return.type + count: 1 + path: app/Models/Builders/MaintenanceQueryBuilder.php + + - + message: '#^Method App\\Models\\Builders\\MaintenanceQueryBuilder\:\:orderStatusName\(\) should return static\(App\\Models\\Builders\\MaintenanceQueryBuilder\) but returns App\\Models\\Builders\\MaintenanceQueryBuilder\.$#' + identifier: return.type + count: 1 + path: app/Models/Builders/MaintenanceQueryBuilder.php + + - + message: '#^Method App\\Models\\Builders\\MaintenanceQueryBuilder\:\:overdueForCompletion\(\) should return static\(App\\Models\\Builders\\MaintenanceQueryBuilder\) but returns App\\Models\\Builders\\MaintenanceQueryBuilder\.$#' + identifier: return.type + count: 1 + path: app/Models/Builders/MaintenanceQueryBuilder.php + + - + message: '#^Call to function is_array\(\) with string will always evaluate to false\.$#' + identifier: function.impossibleType + count: 1 + path: app/Models/Category.php + + - + message: '#^PHPDoc tag @SuppressWarnings has invalid value \(\(PHPMD\.UnusedFormalParameter\)\)\: Unexpected token "\.UnusedFormalParameter\)", expected ''\)'' at offset 351 on line 10$#' + identifier: phpDoc.parseError + count: 1 + path: app/Models/Category.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$field$#' + identifier: parameter.notFound + count: 1 + path: app/Models/Category.php + + - + message: '#^PHPDoc type array of property App\\Models\\Category\:\:\$fillable is not covariant with PHPDoc type list\ of overridden property Illuminate\\Database\\Eloquent\\Model\:\:\$fillable\.$#' + identifier: property.phpDocType + count: 1 + path: app/Models/Category.php + + - + message: '#^Property App\\Models\\Category\:\:\$searchableAttributes \(array\) on left side of \?\? is not nullable\.$#' + identifier: nullCoalesce.property + count: 1 + path: app/Models/Category.php + + - + message: '#^Property App\\Models\\Category\:\:\$searchableRelations \(array\) on left side of \?\? is not nullable\.$#' + identifier: nullCoalesce.property + count: 1 + path: app/Models/Category.php + + - + message: '#^Unsafe access to private property App\\Models\\Category\:\:\$customFieldFilterMapCache through static\:\:\.$#' + identifier: staticClassAccess.privateProperty + count: 4 + path: app/Models/Category.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$category\.$#' + identifier: property.notFound + count: 1 + path: app/Models/CheckoutAcceptance.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:acceptedCheckout\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Models/CheckoutAcceptance.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:declinedCheckout\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Models/CheckoutAcceptance.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$category\.$#' + identifier: property.notFound + count: 1 + path: app/Models/Checkoutable.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$company\.$#' + identifier: property.notFound + count: 2 + path: app/Models/Checkoutable.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$license\.$#' + identifier: property.notFound + count: 3 + path: app/Models/Checkoutable.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$model\.$#' + identifier: property.notFound + count: 2 + path: app/Models/Checkoutable.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$model_number\.$#' + identifier: property.notFound + count: 1 + path: app/Models/Checkoutable.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$name\.$#' + identifier: property.notFound + count: 1 + path: app/Models/Checkoutable.php + + - + message: '#^Using nullsafe method call on non\-nullable type App\\Models\\Component\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: app/Models/Checkoutable.php + + - + message: '#^Using nullsafe method call on non\-nullable type App\\Models\\Consumable\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: app/Models/Checkoutable.php + + - + message: '#^Using nullsafe property access "\?\-\>model_number" on left side of \?\? is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: app/Models/Checkoutable.php + + - + message: '#^Using nullsafe property access "\?\-\>name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 7 + path: app/Models/Checkoutable.php + + - + message: '#^Access to an undefined property App\\Models\\Actionlog\:\:\$created_by\.$#' + identifier: property.notFound + count: 4 + path: app/Models/Company.php + + - + message: '#^Access to an undefined property App\\Models\\Company\:\:\$company_id\.$#' + identifier: property.notFound + count: 2 + path: app/Models/Company.php + + - + message: '#^Access to an undefined property App\\Models\\Company\:\:\$license\.$#' + identifier: property.notFound + count: 1 + path: app/Models/Company.php + + - + message: '#^Access to an undefined property App\\Models\\Company\:\:\$license_id\.$#' + identifier: property.notFound + count: 5 + path: app/Models/Company.php + + - + message: '#^Access to an undefined property App\\Models\\Company\:\:\$model\.$#' + identifier: property.notFound + count: 1 + path: app/Models/Company.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$company_id\.$#' + identifier: property.notFound + count: 2 + path: app/Models/Company.php + + - + message: '#^Call to function is_array\(\) with string will always evaluate to false\.$#' + identifier: function.impossibleType + count: 1 + path: app/Models/Company.php + + - + message: '#^Call to function method_exists\(\) with \$this\(App\\Models\\Company\) and ''assignedTo'' will always evaluate to false\.$#' + identifier: function.impossibleType + count: 1 + path: app/Models/Company.php + + - + message: '#^Call to function method_exists\(\) with \$this\(App\\Models\\Company\) and ''assigned_to'' will always evaluate to false\.$#' + identifier: function.impossibleType + count: 1 + path: app/Models/Company.php + + - + message: '#^Instantiated class App\\Models\\Exception not found\.$#' + identifier: class.notFound + count: 1 + path: app/Models/Company.php + + - + message: '#^Loose comparison using \=\= between ''App\\\\Models\\\\Company'' and ''App\\\\Models\\\\Asset'' will always evaluate to false\.$#' + identifier: equal.alwaysFalse + count: 3 + path: app/Models/Company.php + + - + message: '#^Loose comparison using \=\= between ''App\\\\Models\\\\Company'' and ''App\\\\Models\\\\LicenseSeat'' will always evaluate to false\.$#' + identifier: equal.alwaysFalse + count: 5 + path: app/Models/Company.php + + - + message: '#^Method App\\Models\\Company\:\:getLatestSignedAcceptance\(\) should return App\\Models\\Actionlog\|null but returns Illuminate\\Database\\Eloquent\\Model\|null\.$#' + identifier: return.type + count: 1 + path: app/Models/Company.php + + - + message: '#^Method App\\Models\\Company\:\:isCurrentUserHasAccess\(\) never returns void so it can be removed from the return type\.$#' + identifier: return.unusedType + count: 1 + path: app/Models/Company.php + + - + message: '#^PHPDoc tag @SuppressWarnings has invalid value \(\(PHPMD\.UnusedFormalParameter\)\)\: Unexpected token "\.UnusedFormalParameter\)", expected ''\)'' at offset 351 on line 10$#' + identifier: phpDoc.parseError + count: 1 + path: app/Models/Company.php + + - + message: '#^PHPDoc type array of property App\\Models\\Company\:\:\$fillable is not covariant with PHPDoc type list\ of overridden property Illuminate\\Database\\Eloquent\\Model\:\:\$fillable\.$#' + identifier: property.phpDocType + count: 1 + path: app/Models/Company.php + + - + message: '#^Property App\\Models\\Company\:\:\$searchableAttributes \(array\) on left side of \?\? is not nullable\.$#' + identifier: nullCoalesce.property + count: 1 + path: app/Models/Company.php + + - + message: '#^Property App\\Models\\Company\:\:\$searchableRelations \(array\) on left side of \?\? is not nullable\.$#' + identifier: nullCoalesce.property + count: 1 + path: app/Models/Company.php + + - + message: '#^Result of && is always false\.$#' + identifier: booleanAnd.alwaysFalse + count: 2 + path: app/Models/Company.php + + - + message: '#^Strict comparison using \=\=\= between ''App\\\\Models\\\\Company'' and ''App\\\\Models\\\\LicenseSeat'' will always evaluate to false\.$#' + identifier: identical.alwaysFalse + count: 1 + path: app/Models/Company.php + + - + message: '#^Throwing object of an unknown class App\\Models\\Exception\.$#' + identifier: class.notFound + count: 1 + path: app/Models/Company.php + + - + message: '#^Using nullsafe method call on non\-nullable type Psr\\Http\\Message\\ResponseInterface\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 2 + path: app/Models/Company.php + + - + message: '#^Using nullsafe property access "\?\-\>company_id" in isset\(\) is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: app/Models/Company.php + + - + message: '#^Variable \$fields_array in empty\(\) always exists and is always falsy\.$#' + identifier: empty.variable + count: 1 + path: app/Models/Company.php + + - + message: '#^Call to an undefined method TModel of Illuminate\\Database\\Eloquent\\Model\:\:getCompanyableParents\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Models/CompanyableChildScope.php + + - + message: '#^Method App\\Models\\CompanyableChildScope\:\:apply\(\) with return type void returns mixed but should not return anything\.$#' + identifier: return.void + count: 1 + path: app/Models/CompanyableChildScope.php + + - + message: '#^Method App\\Models\\CompanyableScope\:\:apply\(\) with return type void returns mixed but should not return anything\.$#' + identifier: return.void + count: 1 + path: app/Models/CompanyableScope.php + + - + message: '#^Access to an undefined property App\\Models\\Actionlog\:\:\$created_by\.$#' + identifier: property.notFound + count: 4 + path: app/Models/Component.php + + - + message: '#^Access to an undefined property App\\Models\\Component\:\:\$license\.$#' + identifier: property.notFound + count: 1 + path: app/Models/Component.php + + - + message: '#^Access to an undefined property App\\Models\\Component\:\:\$license_id\.$#' + identifier: property.notFound + count: 5 + path: app/Models/Component.php + + - + message: '#^Access to an undefined property App\\Models\\Component\:\:\$model\.$#' + identifier: property.notFound + count: 1 + path: app/Models/Component.php + + - + message: '#^Access to an undefined property App\\Models\\Component\:\:\$pivot\.$#' + identifier: property.notFound + count: 1 + path: app/Models/Component.php + + - + message: '#^Access to an undefined property App\\Models\\Component\:\:\$sum_unconstrained_assets\.$#' + identifier: property.notFound + count: 1 + path: app/Models/Component.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$company_id\.$#' + identifier: property.notFound + count: 2 + path: app/Models/Component.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:withTrashed\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Models/Component.php + + - + message: '#^Call to function is_array\(\) with string will always evaluate to false\.$#' + identifier: function.impossibleType + count: 1 + path: app/Models/Component.php + + - + message: '#^Expression on left side of \?\? is not nullable\.$#' + identifier: nullCoalesce.expr + count: 1 + path: app/Models/Component.php + + - + message: '#^Method App\\Models\\Component\:\:getLatestSignedAcceptance\(\) should return App\\Models\\Actionlog\|null but returns Illuminate\\Database\\Eloquent\\Model\|null\.$#' + identifier: return.type + count: 1 + path: app/Models/Component.php + + - + message: '#^PHPDoc tag @SuppressWarnings has invalid value \(\(PHPMD\.UnusedFormalParameter\)\)\: Unexpected token "\.UnusedFormalParameter\)", expected ''\)'' at offset 351 on line 10$#' + identifier: phpDoc.parseError + count: 1 + path: app/Models/Component.php + + - + message: '#^PHPDoc type array of property App\\Models\\Component\:\:\$fillable is not covariant with PHPDoc type list\ of overridden property Illuminate\\Database\\Eloquent\\Model\:\:\$fillable\.$#' + identifier: property.phpDocType + count: 1 + path: app/Models/Component.php + + - + message: '#^Parameter \$order of method App\\Models\\Component\:\:scopeOrderManufacturer\(\) has invalid type App\\Models\\text\.$#' + identifier: class.notFound + count: 1 + path: app/Models/Component.php + + - + message: '#^Parameter \$order of method App\\Models\\Component\:\:scopeOrderSupplier\(\) has invalid type App\\Models\\text\.$#' + identifier: class.notFound + count: 1 + path: app/Models/Component.php + + - + message: '#^Property App\\Models\\Component\:\:\$searchableAttributes \(array\) on left side of \?\? is not nullable\.$#' + identifier: nullCoalesce.property + count: 1 + path: app/Models/Component.php + + - + message: '#^Property App\\Models\\Component\:\:\$searchableRelations \(array\) on left side of \?\? is not nullable\.$#' + identifier: nullCoalesce.property + count: 1 + path: app/Models/Component.php + + - + message: '#^Strict comparison using \=\=\= between class\-string\ and ''App\\\\Models\\\\LicenseSeat'' will always evaluate to false\.$#' + identifier: identical.alwaysFalse + count: 1 + path: app/Models/Component.php + + - + message: '#^Unsafe access to private property App\\Models\\Component\:\:\$customFieldFilterMapCache through static\:\:\.$#' + identifier: staticClassAccess.privateProperty + count: 4 + path: app/Models/Component.php + + - + message: '#^Using nullsafe method call on non\-nullable type Psr\\Http\\Message\\ResponseInterface\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 2 + path: app/Models/Component.php + + - + message: '#^Using nullsafe property access "\?\-\>company_id" in isset\(\) is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: app/Models/Component.php + + - + message: '#^Using nullsafe property access "\?\-\>require_acceptance" on left side of \?\? is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: app/Models/Component.php + + - + message: '#^Call to function is_array\(\) with string will always evaluate to false\.$#' + identifier: function.impossibleType + count: 1 + path: app/Models/ComponentAssignment.php + + - + message: '#^PHPDoc tag @SuppressWarnings has invalid value \(\(PHPMD\.UnusedFormalParameter\)\)\: Unexpected token "\.UnusedFormalParameter\)", expected ''\)'' at offset 351 on line 10$#' + identifier: phpDoc.parseError + count: 1 + path: app/Models/ComponentAssignment.php + + - + message: '#^Unsafe access to private property App\\Models\\ComponentAssignment\:\:\$customFieldFilterMapCache through static\:\:\.$#' + identifier: staticClassAccess.privateProperty + count: 4 + path: app/Models/ComponentAssignment.php + + - + message: '#^Access to an undefined property App\\Models\\Actionlog\:\:\$created_by\.$#' + identifier: property.notFound + count: 4 + path: app/Models/Consumable.php + + - + message: '#^Access to an undefined property App\\Models\\Consumable\:\:\$consumables_users_count\.$#' + identifier: property.notFound + count: 1 + path: app/Models/Consumable.php + + - + message: '#^Access to an undefined property App\\Models\\Consumable\:\:\$license\.$#' + identifier: property.notFound + count: 1 + path: app/Models/Consumable.php + + - + message: '#^Access to an undefined property App\\Models\\Consumable\:\:\$license_id\.$#' + identifier: property.notFound + count: 5 + path: app/Models/Consumable.php + + - + message: '#^Access to an undefined property App\\Models\\Consumable\:\:\$model\.$#' + identifier: property.notFound + count: 1 + path: app/Models/Consumable.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$company_id\.$#' + identifier: property.notFound + count: 2 + path: app/Models/Consumable.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:withTrashed\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Models/Consumable.php + + - + message: '#^Call to function is_array\(\) with string will always evaluate to false\.$#' + identifier: function.impossibleType + count: 1 + path: app/Models/Consumable.php + + - + message: '#^Loose comparison using \=\= between int and '''' will always evaluate to false\.$#' + identifier: equal.alwaysFalse + count: 1 + path: app/Models/Consumable.php + + - + message: '#^Method App\\Models\\Consumable\:\:getLatestSignedAcceptance\(\) should return App\\Models\\Actionlog\|null but returns Illuminate\\Database\\Eloquent\\Model\|null\.$#' + identifier: return.type + count: 1 + path: app/Models/Consumable.php + + - + message: '#^Method App\\Models\\Consumable\:\:setRequestableAttribute\(\) should return Illuminate\\Database\\Eloquent\\Relations\\Relation but return statement is missing\.$#' + identifier: return.missing + count: 1 + path: app/Models/Consumable.php + + - + message: '#^PHPDoc tag @SuppressWarnings has invalid value \(\(PHPMD\.UnusedFormalParameter\)\)\: Unexpected token "\.UnusedFormalParameter\)", expected ''\)'' at offset 351 on line 10$#' + identifier: phpDoc.parseError + count: 1 + path: app/Models/Consumable.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$acceptedBy$#' + identifier: parameter.notFound + count: 1 + path: app/Models/Consumable.php + + - + message: '#^PHPDoc type array of property App\\Models\\Consumable\:\:\$fillable is not covariant with PHPDoc type list\ of overridden property Illuminate\\Database\\Eloquent\\Model\:\:\$fillable\.$#' + identifier: property.phpDocType + count: 1 + path: app/Models/Consumable.php + + - + message: '#^Parameter \$order of method App\\Models\\Consumable\:\:scopeOrderLocation\(\) has invalid type App\\Models\\text\.$#' + identifier: class.notFound + count: 1 + path: app/Models/Consumable.php + + - + message: '#^Parameter \$order of method App\\Models\\Consumable\:\:scopeOrderSupplier\(\) has invalid type App\\Models\\text\.$#' + identifier: class.notFound + count: 1 + path: app/Models/Consumable.php + + - + message: '#^Property App\\Models\\Consumable\:\:\$casts \(array\\) does not accept default value of type array\\.$#' + identifier: property.defaultValue + count: 1 + path: app/Models/Consumable.php + + - + message: '#^Property App\\Models\\Consumable\:\:\$searchableAttributes \(array\) on left side of \?\? is not nullable\.$#' + identifier: nullCoalesce.property + count: 1 + path: app/Models/Consumable.php + + - + message: '#^Property App\\Models\\Consumable\:\:\$searchableRelations \(array\) on left side of \?\? is not nullable\.$#' + identifier: nullCoalesce.property + count: 1 + path: app/Models/Consumable.php + + - + message: '#^Strict comparison using \=\=\= between class\-string\ and ''App\\\\Models\\\\LicenseSeat'' will always evaluate to false\.$#' + identifier: identical.alwaysFalse + count: 1 + path: app/Models/Consumable.php + + - + message: '#^Unsafe access to private property App\\Models\\Consumable\:\:\$customFieldFilterMapCache through static\:\:\.$#' + identifier: staticClassAccess.privateProperty + count: 4 + path: app/Models/Consumable.php + + - + message: '#^Using nullsafe method call on non\-nullable type Psr\\Http\\Message\\ResponseInterface\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 2 + path: app/Models/Consumable.php + + - + message: '#^Using nullsafe property access "\?\-\>company_id" in isset\(\) is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: app/Models/Consumable.php + + - + message: '#^Using nullsafe property access "\?\-\>require_acceptance" on left side of \?\? is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: app/Models/Consumable.php + + - + message: '#^Access to an undefined property App\\Models\\ConsumableAssignment\:\:\$company_id\.$#' + identifier: property.notFound + count: 2 + path: app/Models/ConsumableAssignment.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$company_id\.$#' + identifier: property.notFound + count: 2 + path: app/Models/ConsumableAssignment.php + + - + message: '#^Method App\\Models\\CustomField\:\:boot\(\) should return bool but return statement is missing\.$#' + identifier: return.missing + count: 1 + path: app/Models/CustomField.php + + - + message: '#^Method App\\Models\\CustomField\:\:setFormatAttribute\(\) should return array but return statement is missing\.$#' + identifier: return.missing + count: 2 + path: app/Models/CustomField.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$id$#' + identifier: parameter.notFound + count: 1 + path: app/Models/CustomField.php + + - + message: '#^PHPDoc type array of property App\\Models\\CustomField\:\:\$fillable is not covariant with PHPDoc type list\ of overridden property Illuminate\\Database\\Eloquent\\Model\:\:\$fillable\.$#' + identifier: property.phpDocType + count: 1 + path: app/Models/CustomField.php + + - + message: '#^Result of static method Illuminate\\Support\\Facades\\Schema\:\:table\(\) \(void\) is used\.$#' + identifier: staticMethod.void + count: 1 + path: app/Models/CustomField.php + + - + message: '#^Access to an undefined property App\\Models\\Actionlog\:\:\$created_by\.$#' + identifier: property.notFound + count: 4 + path: app/Models/Department.php + + - + message: '#^Access to an undefined property App\\Models\\Department\:\:\$license\.$#' + identifier: property.notFound + count: 1 + path: app/Models/Department.php + + - + message: '#^Access to an undefined property App\\Models\\Department\:\:\$license_id\.$#' + identifier: property.notFound + count: 5 + path: app/Models/Department.php + + - + message: '#^Access to an undefined property App\\Models\\Department\:\:\$model\.$#' + identifier: property.notFound + count: 1 + path: app/Models/Department.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$company_id\.$#' + identifier: property.notFound + count: 2 + path: app/Models/Department.php + + - + message: '#^Call to function is_array\(\) with string will always evaluate to false\.$#' + identifier: function.impossibleType + count: 1 + path: app/Models/Department.php + + - + message: '#^Method App\\Models\\Department\:\:getLatestSignedAcceptance\(\) should return App\\Models\\Actionlog\|null but returns Illuminate\\Database\\Eloquent\\Model\|null\.$#' + identifier: return.type + count: 1 + path: app/Models/Department.php + + - + message: '#^PHPDoc tag @SuppressWarnings has invalid value \(\(PHPMD\.UnusedFormalParameter\)\)\: Unexpected token "\.UnusedFormalParameter\)", expected ''\)'' at offset 351 on line 10$#' + identifier: phpDoc.parseError + count: 1 + path: app/Models/Department.php + + - + message: '#^PHPDoc type array of property App\\Models\\Department\:\:\$fillable is not covariant with PHPDoc type list\ of overridden property Illuminate\\Database\\Eloquent\\Model\:\:\$fillable\.$#' + identifier: property.phpDocType + count: 1 + path: app/Models/Department.php + + - + message: '#^Parameter \$order of method App\\Models\\Department\:\:scopeOrderCompany\(\) has invalid type App\\Models\\text\.$#' + identifier: class.notFound + count: 1 + path: app/Models/Department.php + + - + message: '#^Parameter \$order of method App\\Models\\Department\:\:scopeOrderLocation\(\) has invalid type App\\Models\\text\.$#' + identifier: class.notFound + count: 1 + path: app/Models/Department.php + + - + message: '#^Parameter \$order of method App\\Models\\Department\:\:scopeOrderManager\(\) has invalid type App\\Models\\text\.$#' + identifier: class.notFound + count: 1 + path: app/Models/Department.php + + - + message: '#^Property App\\Models\\Department\:\:\$searchableAttributes \(array\) on left side of \?\? is not nullable\.$#' + identifier: nullCoalesce.property + count: 1 + path: app/Models/Department.php + + - + message: '#^Property App\\Models\\Department\:\:\$searchableRelations \(array\) on left side of \?\? is not nullable\.$#' + identifier: nullCoalesce.property + count: 1 + path: app/Models/Department.php + + - + message: '#^Strict comparison using \=\=\= between class\-string\ and ''App\\\\Models\\\\LicenseSeat'' will always evaluate to false\.$#' + identifier: identical.alwaysFalse + count: 1 + path: app/Models/Department.php + + - + message: '#^Unsafe access to private property App\\Models\\Department\:\:\$customFieldFilterMapCache through static\:\:\.$#' + identifier: staticClassAccess.privateProperty + count: 4 + path: app/Models/Department.php + + - + message: '#^Using nullsafe method call on non\-nullable type Psr\\Http\\Message\\ResponseInterface\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 2 + path: app/Models/Department.php + + - + message: '#^Using nullsafe property access "\?\-\>company_id" in isset\(\) is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: app/Models/Department.php + + - + message: '#^Access to an undefined property App\\Models\\Depreciable\:\:\$depreciation\.$#' + identifier: property.notFound + count: 1 + path: app/Models/Depreciable.php + + - + message: '#^Access to an undefined property App\\Models\\Depreciable\:\:\$purchase_cost\.$#' + identifier: property.notFound + count: 8 + path: app/Models/Depreciable.php + + - + message: '#^Access to an undefined property App\\Models\\Depreciable\:\:\$purchase_date\.$#' + identifier: property.notFound + count: 4 + path: app/Models/Depreciable.php + + - + message: '#^Method App\\Models\\Depreciable\:\:getLinearDepreciatedValue\(\) should return float\|int but returns null\.$#' + identifier: return.type + count: 1 + path: app/Models/Depreciable.php + + - + message: '#^PHPDoc tag @param has invalid value \(onlyHalfFirstYear Boolean always applied only second half of the first year\)\: Unexpected token "Boolean", expected variable at offset 37 on line 2$#' + identifier: phpDoc.parseError + count: 1 + path: app/Models/Depreciable.php + + - + message: '#^Access to an undefined property App\\Models\\Depreciation\:\:\$deleted_at\.$#' + identifier: property.notFound + count: 1 + path: app/Models/Depreciation.php + + - + message: '#^Call to function is_array\(\) with string will always evaluate to false\.$#' + identifier: function.impossibleType + count: 1 + path: app/Models/Depreciation.php + + - + message: '#^PHPDoc tag @SuppressWarnings has invalid value \(\(PHPMD\.UnusedFormalParameter\)\)\: Unexpected token "\.UnusedFormalParameter\)", expected ''\)'' at offset 351 on line 10$#' + identifier: phpDoc.parseError + count: 1 + path: app/Models/Depreciation.php + + - + message: '#^PHPDoc type array of property App\\Models\\Depreciation\:\:\$fillable is not covariant with PHPDoc type list\ of overridden property Illuminate\\Database\\Eloquent\\Model\:\:\$fillable\.$#' + identifier: property.phpDocType + count: 1 + path: app/Models/Depreciation.php + + - + message: '#^Property App\\Models\\Depreciation\:\:\$searchableAttributes \(array\) on left side of \?\? is not nullable\.$#' + identifier: nullCoalesce.property + count: 1 + path: app/Models/Depreciation.php + + - + message: '#^Property App\\Models\\Depreciation\:\:\$searchableRelations \(array\) on left side of \?\? is not nullable\.$#' + identifier: nullCoalesce.property + count: 1 + path: app/Models/Depreciation.php + + - + message: '#^Unsafe access to private property App\\Models\\Depreciation\:\:\$customFieldFilterMapCache through static\:\:\.$#' + identifier: staticClassAccess.privateProperty + count: 4 + path: app/Models/Depreciation.php + + - + message: '#^Call to function is_array\(\) with string will always evaluate to false\.$#' + identifier: function.impossibleType + count: 1 + path: app/Models/Group.php + + - + message: '#^Call to function is_array\(\) with string\|null will always evaluate to false\.$#' + identifier: function.impossibleType + count: 1 + path: app/Models/Group.php + + - + message: '#^PHPDoc tag @SuppressWarnings has invalid value \(\(PHPMD\.UnusedFormalParameter\)\)\: Unexpected token "\.UnusedFormalParameter\)", expected ''\)'' at offset 351 on line 10$#' + identifier: phpDoc.parseError + count: 1 + path: app/Models/Group.php + + - + message: '#^Property App\\Models\\Group\:\:\$searchableAttributes \(array\) on left side of \?\? is not nullable\.$#' + identifier: nullCoalesce.property + count: 1 + path: app/Models/Group.php + + - + message: '#^Property App\\Models\\Group\:\:\$searchableRelations \(array\) on left side of \?\? is not nullable\.$#' + identifier: nullCoalesce.property + count: 1 + path: app/Models/Group.php + + - + message: '#^Unsafe access to private property App\\Models\\Group\:\:\$customFieldFilterMapCache through static\:\:\.$#' + identifier: staticClassAccess.privateProperty + count: 4 + path: app/Models/Group.php + + - + message: '#^Method App\\Models\\Labels\\DefaultLabel\:\:getLabelColumnSpacing\(\) should return int but returns float\.$#' + identifier: return.type + count: 1 + path: app/Models/Labels/DefaultLabel.php + + - + message: '#^Method App\\Models\\Labels\\DefaultLabel\:\:getLabelRowSpacing\(\) should return int but returns float\.$#' + identifier: return.type + count: 1 + path: app/Models/Labels/DefaultLabel.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$assigned\.$#' + identifier: property.notFound + count: 1 + path: app/Models/Labels/FieldOption.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$warranty_expires\.$#' + identifier: property.notFound + count: 1 + path: app/Models/Labels/FieldOption.php + + - + message: '#^Dead catch \- Exception is never thrown in the try block\.$#' + identifier: catch.neverThrown + count: 1 + path: app/Models/Labels/FieldOption.php + + - + message: '#^Call to function is_bool\(\) with bool will always evaluate to true\.$#' + identifier: function.alreadyNarrowedType + count: 4 + path: app/Models/Labels/Label.php + + - + message: '#^Call to function is_int\(\) with int will always evaluate to true\.$#' + identifier: function.alreadyNarrowedType + count: 1 + path: app/Models/Labels/Label.php + + - + message: '#^Call to function is_numeric\(\) with float will always evaluate to true\.$#' + identifier: function.alreadyNarrowedType + count: 6 + path: app/Models/Labels/Label.php + + - + message: '#^Call to function is_string\(\) with float will always evaluate to false\.$#' + identifier: function.impossibleType + count: 6 + path: app/Models/Labels/Label.php + + - + message: '#^Class App\\Models\\Labels\\Arrayable not found\.$#' + identifier: class.notFound + count: 1 + path: app/Models/Labels/Label.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$path$#' + identifier: parameter.notFound + count: 1 + path: app/Models/Labels/Label.php + + - + message: '#^Result of \|\| is always false\.$#' + identifier: booleanOr.alwaysFalse + count: 6 + path: app/Models/Labels/Label.php + + - + message: '#^Call to method AddPage\(\) on an unknown class App\\Models\\Labels\\TCPDF\.$#' + identifier: class.notFound + count: 1 + path: app/Models/Labels/Sheet.php + + - + message: '#^Call to method EndTemplate\(\) on an unknown class App\\Models\\Labels\\TCPDF\.$#' + identifier: class.notFound + count: 1 + path: app/Models/Labels/Sheet.php + + - + message: '#^Call to method GetLineWidth\(\) on an unknown class App\\Models\\Labels\\TCPDF\.$#' + identifier: class.notFound + count: 1 + path: app/Models/Labels/Sheet.php + + - + message: '#^Call to method Rect\(\) on an unknown class App\\Models\\Labels\\TCPDF\.$#' + identifier: class.notFound + count: 1 + path: app/Models/Labels/Sheet.php + + - + message: '#^Call to method StartTemplate\(\) on an unknown class App\\Models\\Labels\\TCPDF\.$#' + identifier: class.notFound + count: 1 + path: app/Models/Labels/Sheet.php + + - + message: '#^Call to method get\(\) on an unknown class App\\Models\\Labels\\Collection\.$#' + identifier: class.notFound + count: 1 + path: app/Models/Labels/Sheet.php + + - + message: '#^Call to method printTemplate\(\) on an unknown class App\\Models\\Labels\\TCPDF\.$#' + identifier: class.notFound + count: 1 + path: app/Models/Labels/Sheet.php + + - + message: '#^Call to method setLineWidth\(\) on an unknown class App\\Models\\Labels\\TCPDF\.$#' + identifier: class.notFound + count: 2 + path: app/Models/Labels/Sheet.php + + - + message: '#^Call to method toArray\(\) on an unknown class App\\Models\\Labels\\Collection\.$#' + identifier: class.notFound + count: 1 + path: app/Models/Labels/Sheet.php + + - + message: '#^Parameter \$data of method App\\Models\\Labels\\Sheet\:\:writeAll\(\) has invalid type App\\Models\\Labels\\Collection\.$#' + identifier: class.notFound + count: 1 + path: app/Models/Labels/Sheet.php + + - + message: '#^Parameter \$pdf of method App\\Models\\Labels\\Sheet\:\:writeAll\(\) has invalid type App\\Models\\Labels\\TCPDF\.$#' + identifier: class.notFound + count: 1 + path: app/Models/Labels/Sheet.php + + - + message: '#^Method App\\Models\\Labels\\Sheets\\Avery\\L4736\:\:getLabelColumnSpacing\(\) should return int but returns float\.$#' + identifier: return.type + count: 1 + path: app/Models/Labels/Sheets/Avery/L4736.php + + - + message: '#^Method App\\Models\\Labels\\Sheets\\Avery\\L4736\:\:getLabelRowSpacing\(\) should return int but returns float\.$#' + identifier: return.type + count: 1 + path: app/Models/Labels/Sheets/Avery/L4736.php + + - + message: '#^Constant App\\Models\\Labels\\Sheets\\Avery\\L4736_A\:\:LABEL_MARGIN is unused\.$#' + identifier: classConstant.unused + count: 1 + path: app/Models/Labels/Sheets/Avery/L4736_A.php + + - + message: '#^Constant App\\Models\\Labels\\Sheets\\Avery\\L4736_A\:\:TAG_SIZE is unused\.$#' + identifier: classConstant.unused + count: 1 + path: app/Models/Labels/Sheets/Avery/L4736_A.php + + - + message: '#^Method App\\Models\\Labels\\Sheets\\Avery\\L6009\:\:getLabelColumnSpacing\(\) should return int but returns float\.$#' + identifier: return.type + count: 1 + path: app/Models/Labels/Sheets/Avery/L6009.php + + - + message: '#^Method App\\Models\\Labels\\Sheets\\Avery\\L6009\:\:getLabelRowSpacing\(\) should return int but returns float\.$#' + identifier: return.type + count: 1 + path: app/Models/Labels/Sheets/Avery/L6009.php + + - + message: '#^Constant App\\Models\\Labels\\Sheets\\Avery\\L6009_A\:\:LABEL_MARGIN is unused\.$#' + identifier: classConstant.unused + count: 1 + path: app/Models/Labels/Sheets/Avery/L6009_A.php + + - + message: '#^Constant App\\Models\\Labels\\Sheets\\Avery\\L6009_A\:\:TAG_SIZE is unused\.$#' + identifier: classConstant.unused + count: 1 + path: app/Models/Labels/Sheets/Avery/L6009_A.php + + - + message: '#^Method App\\Models\\Labels\\Sheets\\Avery\\L7162\:\:getLabelColumnSpacing\(\) should return int but returns float\.$#' + identifier: return.type + count: 1 + path: app/Models/Labels/Sheets/Avery/L7162.php + + - + message: '#^Method App\\Models\\Labels\\Sheets\\Avery\\L7162\:\:getLabelRowSpacing\(\) should return int but returns float\.$#' + identifier: return.type + count: 1 + path: app/Models/Labels/Sheets/Avery/L7162.php + + - + message: '#^Method App\\Models\\Labels\\Sheets\\Avery\\L7163\:\:getLabelColumnSpacing\(\) should return int but returns float\.$#' + identifier: return.type + count: 1 + path: app/Models/Labels/Sheets/Avery/L7163.php + + - + message: '#^Method App\\Models\\Labels\\Sheets\\Avery\\L7163\:\:getLabelRowSpacing\(\) should return int but returns float\.$#' + identifier: return.type + count: 1 + path: app/Models/Labels/Sheets/Avery/L7163.php + + - + message: '#^Constant App\\Models\\Labels\\Sheets\\Avery\\L7163_A\:\:LABEL_MARGIN is unused\.$#' + identifier: classConstant.unused + count: 1 + path: app/Models/Labels/Sheets/Avery/L7163_A.php + + - + message: '#^Method App\\Models\\Labels\\Sheets\\Avery\\_3490\:\:getLabelColumnSpacing\(\) should return int but returns float\.$#' + identifier: return.type + count: 1 + path: app/Models/Labels/Sheets/Avery/_3490.php + + - + message: '#^Method App\\Models\\Labels\\Sheets\\Avery\\_3490\:\:getLabelRowSpacing\(\) should return int but returns float\.$#' + identifier: return.type + count: 1 + path: app/Models/Labels/Sheets/Avery/_3490.php + + - + message: '#^Constant App\\Models\\Labels\\Sheets\\Avery\\_3490_A\:\:TAG_SIZE is unused\.$#' + identifier: classConstant.unused + count: 1 + path: app/Models/Labels/Sheets/Avery/_3490_A.php + + - + message: '#^Method App\\Models\\Labels\\Sheets\\Avery\\_5267\:\:getLabelColumnSpacing\(\) should return int but returns float\.$#' + identifier: return.type + count: 1 + path: app/Models/Labels/Sheets/Avery/_5267.php + + - + message: '#^Method App\\Models\\Labels\\Sheets\\Avery\\_5267\:\:getLabelRowSpacing\(\) should return int but returns float\.$#' + identifier: return.type + count: 1 + path: app/Models/Labels/Sheets/Avery/_5267.php + + - + message: '#^Constant App\\Models\\Labels\\Sheets\\Avery\\_5267_A\:\:FIELD_MARGIN is unused\.$#' + identifier: classConstant.unused + count: 1 + path: app/Models/Labels/Sheets/Avery/_5267_A.php + + - + message: '#^Constant App\\Models\\Labels\\Sheets\\Avery\\_5267_A\:\:TAG_SIZE is unused\.$#' + identifier: classConstant.unused + count: 1 + path: app/Models/Labels/Sheets/Avery/_5267_A.php + + - + message: '#^Method App\\Models\\Labels\\Sheets\\Avery\\_5520\:\:getLabelColumnSpacing\(\) should return int but returns float\.$#' + identifier: return.type + count: 1 + path: app/Models/Labels/Sheets/Avery/_5520.php + + - + message: '#^Method App\\Models\\Labels\\Sheets\\Avery\\_5520\:\:getLabelRowSpacing\(\) should return int but returns float\.$#' + identifier: return.type + count: 1 + path: app/Models/Labels/Sheets/Avery/_5520.php + + - + message: '#^Constant App\\Models\\Labels\\Sheets\\Avery\\_5520_A\:\:TAG_SIZE is unused\.$#' + identifier: classConstant.unused + count: 1 + path: app/Models/Labels/Sheets/Avery/_5520_A.php + + - + message: '#^Constant App\\Models\\Labels\\Sheets\\Avery\\_5520_B\:\:TAG_SIZE is unused\.$#' + identifier: classConstant.unused + count: 1 + path: app/Models/Labels/Sheets/Avery/_5520_B.php + + - + message: '#^Constant App\\Models\\Labels\\Tapes\\Brother\\TZe_241\:\:LABEL_MARGIN is unused\.$#' + identifier: classConstant.unused + count: 1 + path: app/Models/Labels/Tapes/Brother/TZe_241.php + + - + message: '#^Constant App\\Models\\Labels\\Tapes\\Brother\\TZe_24mm_C\:\:FIELD_MARGIN is unused\.$#' + identifier: classConstant.unused + count: 1 + path: app/Models/Labels/Tapes/Brother/TZe_24mm_C.php + + - + message: '#^Constant App\\Models\\Labels\\Tapes\\Brother\\TZe_24mm_C\:\:FIELD_SIZE is unused\.$#' + identifier: classConstant.unused + count: 1 + path: app/Models/Labels/Tapes/Brother/TZe_24mm_C.php + + - + message: '#^Constant App\\Models\\Labels\\Tapes\\Brother\\TZe_24mm_C\:\:LABEL_MARGIN is unused\.$#' + identifier: classConstant.unused + count: 1 + path: app/Models/Labels/Tapes/Brother/TZe_24mm_C.php + + - + message: '#^Constant App\\Models\\Labels\\Tapes\\Brother\\TZe_24mm_C\:\:LABEL_SIZE is unused\.$#' + identifier: classConstant.unused + count: 1 + path: app/Models/Labels/Tapes/Brother/TZe_24mm_C.php + + - + message: '#^Constant App\\Models\\Labels\\Tapes\\Brother\\TZe_24mm_C\:\:TITLE_MARGIN is unused\.$#' + identifier: classConstant.unused + count: 1 + path: app/Models/Labels/Tapes/Brother/TZe_24mm_C.php + + - + message: '#^Constant App\\Models\\Labels\\Tapes\\Brother\\TZe_24mm_C\:\:TITLE_SIZE is unused\.$#' + identifier: classConstant.unused + count: 1 + path: app/Models/Labels/Tapes/Brother/TZe_24mm_C.php + + - + message: '#^Constant App\\Models\\Labels\\Tapes\\Brother\\TZe_24mm_D\:\:LABEL_MARGIN is unused\.$#' + identifier: classConstant.unused + count: 1 + path: app/Models/Labels/Tapes/Brother/TZe_24mm_D.php + + - + message: '#^Constant App\\Models\\Labels\\Tapes\\Brother\\TZe_24mm_E\:\:LABEL_MARGIN is unused\.$#' + identifier: classConstant.unused + count: 1 + path: app/Models/Labels/Tapes/Brother/TZe_24mm_E.php + + - + message: '#^Constant App\\Models\\Labels\\Tapes\\Dymo\\LabelWriter_11354\:\:LABEL_MARGIN is unused\.$#' + identifier: classConstant.unused + count: 1 + path: app/Models/Labels/Tapes/Dymo/LabelWriter_11354.php + + - + message: '#^Constant App\\Models\\Labels\\Tapes\\Dymo\\LabelWriter_1933081\:\:LABEL_MARGIN is unused\.$#' + identifier: classConstant.unused + count: 1 + path: app/Models/Labels/Tapes/Dymo/LabelWriter_1933081.php + + - + message: '#^Constant App\\Models\\Labels\\Tapes\\Dymo\\LabelWriter_2112283\:\:LABEL_MARGIN is unused\.$#' + identifier: classConstant.unused + count: 1 + path: app/Models/Labels/Tapes/Dymo/LabelWriter_2112283.php + + - + message: '#^Constant App\\Models\\Labels\\Tapes\\Dymo\\LabelWriter_2112284\:\:LABEL_MARGIN is unused\.$#' + identifier: classConstant.unused + count: 1 + path: app/Models/Labels/Tapes/Dymo/LabelWriter_2112284.php + + - + message: '#^Property App\\Models\\Labels\\Tapes\\Generic\\Continuous_53mm\:\:\$tapeHeight is never read, only written\.$#' + identifier: property.onlyWritten + count: 1 + path: app/Models/Labels/Tapes/Generic/Continuous_53mm.php + + - + message: '#^Property App\\Models\\Labels\\Tapes\\Generic\\Continuous_Landscape_0_59in\:\:\$tapeHeight is never read, only written\.$#' + identifier: property.onlyWritten + count: 1 + path: app/Models/Labels/Tapes/Generic/Continuous_Landscape_0_59in.php + + - + message: '#^Variable \$labelWidth might not be defined\.$#' + identifier: variable.undefined + count: 1 + path: app/Models/Labels/Tapes/Generic/Continuous_Landscape_0_59in_A.php + + - + message: '#^Property App\\Models\\Labels\\Tapes\\Generic\\Tape_53mm\:\:\$tapeHeight is never read, only written\.$#' + identifier: property.onlyWritten + count: 1 + path: app/Models/Labels/Tapes/Generic/Tape_53mm.php + + - + message: '#^Access to an undefined property App\\Models\\Setting\:\:\$ldap_phone\.$#' + identifier: property.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 + count: 2 + path: app/Models/Ldap.php + + - + message: '#^Method App\\Models\\Ldap\:\:bindAdminToLdap\(\) should return bool but return statement is missing\.$#' + identifier: return.missing + count: 2 + path: app/Models/Ldap.php + + - + message: '#^Method App\\Models\\Ldap\:\:connectToLdap\(\) has invalid return type App\\Models\\connection\.$#' + identifier: class.notFound + count: 1 + path: app/Models/Ldap.php + + - + message: '#^Method App\\Models\\Ldap\:\:connectToLdap\(\) should return App\\Models\\connection but returns LDAP\\Connection\.$#' + identifier: return.type + count: 1 + path: app/Models/Ldap.php + + - + message: '#^Method App\\Models\\Ldap\:\:findAndBindUserLdap\(\) should return bool but returns array\.$#' + identifier: return.type + count: 1 + path: app/Models/Ldap.php + + - + message: '#^Method App\\Models\\Ldap\:\:findAndBindUserLdap\(\) should return bool but returns array\\.$#' + identifier: return.type + count: 1 + 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: 2 + path: app/Models/Ldap.php + + - + message: '#^Property App\\Models\\User\:\:\$activated \(bool\) does not accept int\.$#' + identifier: assign.propertyType + count: 1 + path: app/Models/Ldap.php + + - + message: '#^Property App\\Models\\User\:\:\$ldap_import \(bool\) does not accept int\.$#' + identifier: assign.propertyType + count: 1 + path: app/Models/Ldap.php + + - + message: '#^Strict comparison using \!\=\= between mixed and null will always evaluate to true\.$#' + identifier: notIdentical.alwaysTrue + count: 1 + path: app/Models/Ldap.php + + - + message: '#^Ternary operator condition is always false\.$#' + identifier: ternary.alwaysFalse + count: 1 + path: app/Models/Ldap.php + + - + message: '#^Access to an undefined property App\\Models\\Actionlog\:\:\$created_by\.$#' + identifier: property.notFound + count: 6 + path: app/Models/License.php + + - + message: '#^Access to an undefined property App\\Models\\License\:\:\$license\.$#' + identifier: property.notFound + count: 1 + path: app/Models/License.php + + - + message: '#^Access to an undefined property App\\Models\\License\:\:\$license_id\.$#' + identifier: property.notFound + count: 5 + path: app/Models/License.php + + - + message: '#^Access to an undefined property App\\Models\\License\:\:\$model\.$#' + identifier: property.notFound + count: 1 + path: app/Models/License.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$company_id\.$#' + identifier: property.notFound + count: 2 + path: app/Models/License.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:withTrashed\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Models/License.php + + - + message: '#^Call to function is_array\(\) with string will always evaluate to false\.$#' + identifier: function.impossibleType + count: 1 + path: app/Models/License.php + + - + message: '#^Method App\\Models\\License\:\:adjustSeatCount\(\) should return Illuminate\\Database\\Eloquent\\Relations\\Relation but returns false\.$#' + identifier: return.type + count: 1 + path: app/Models/License.php + + - + message: '#^Method App\\Models\\License\:\:adjustSeatCount\(\) should return Illuminate\\Database\\Eloquent\\Relations\\Relation but returns true\.$#' + identifier: return.type + count: 3 + path: app/Models/License.php + + - + message: '#^Method App\\Models\\License\:\:getLatestSignedAcceptance\(\) should return App\\Models\\Actionlog\|null but returns Illuminate\\Database\\Eloquent\\Model\|null\.$#' + identifier: return.type + count: 1 + path: app/Models/License.php + + - + message: '#^Method App\\Models\\License\:\:totalSeatsByLicenseID\(\) should return Illuminate\\Database\\Eloquent\\Relations\\Relation but returns int\<0, max\>\.$#' + identifier: return.type + count: 1 + path: app/Models/License.php + + - + message: '#^PHPDoc tag @SuppressWarnings has invalid value \(\(PHPMD\.UnusedFormalParameter\)\)\: Unexpected token "\.UnusedFormalParameter\)", expected ''\)'' at offset 351 on line 10$#' + identifier: phpDoc.parseError + count: 1 + path: app/Models/License.php + + - + message: '#^PHPDoc type array of property App\\Models\\License\:\:\$fillable is not covariant with PHPDoc type list\ of overridden property Illuminate\\Database\\Eloquent\\Model\:\:\$fillable\.$#' + identifier: property.phpDocType + count: 1 + path: app/Models/License.php + + - + message: '#^Parameter \$order of method App\\Models\\License\:\:scopeOrderCompany\(\) has invalid type App\\Models\\text\.$#' + identifier: class.notFound + count: 1 + path: app/Models/License.php + + - + message: '#^Property App\\Models\\License\:\:\$guarded \(array\\) does not accept default value of type string\.$#' + identifier: property.defaultValue + count: 1 + path: app/Models/License.php + + - + message: '#^Property App\\Models\\License\:\:\$searchableAttributes \(array\) on left side of \?\? is not nullable\.$#' + identifier: nullCoalesce.property + count: 1 + path: app/Models/License.php + + - + message: '#^Property App\\Models\\License\:\:\$searchableRelations \(array\) on left side of \?\? is not nullable\.$#' + identifier: nullCoalesce.property + count: 1 + path: app/Models/License.php + + - + message: '#^Strict comparison using \=\=\= between class\-string\ and ''App\\\\Models\\\\LicenseSeat'' will always evaluate to false\.$#' + identifier: identical.alwaysFalse + count: 1 + path: app/Models/License.php + + - + message: '#^Unsafe access to private property App\\Models\\License\:\:\$customFieldFilterMapCache through static\:\:\.$#' + identifier: staticClassAccess.privateProperty + count: 4 + path: app/Models/License.php + + - + message: '#^Using nullsafe method call on non\-nullable type Psr\\Http\\Message\\ResponseInterface\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 2 + path: app/Models/License.php + + - + message: '#^Using nullsafe property access "\?\-\>company_id" in isset\(\) is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: app/Models/License.php + + - + message: '#^Access to an undefined property App\\Models\\Actionlog\:\:\$created_by\.$#' + identifier: property.notFound + count: 4 + path: app/Models/LicenseSeat.php + + - + message: '#^Access to an undefined property App\\Models\\LicenseSeat\:\:\$model\.$#' + identifier: property.notFound + count: 1 + path: app/Models/LicenseSeat.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:withTrashed\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Models/LicenseSeat.php + + - + message: '#^Call to function is_array\(\) with string will always evaluate to false\.$#' + identifier: function.impossibleType + count: 1 + path: app/Models/LicenseSeat.php + + - + message: '#^Method App\\Models\\LicenseSeat\:\:getLatestSignedAcceptance\(\) should return App\\Models\\Actionlog\|null but returns Illuminate\\Database\\Eloquent\\Model\|null\.$#' + identifier: return.type + count: 1 + path: app/Models/LicenseSeat.php + + - + message: '#^Method App\\Models\\LicenseSeat\:\:location\(\) should return string but returns false\.$#' + identifier: return.type + count: 1 + path: app/Models/LicenseSeat.php + + - + message: '#^PHPDoc tag @SuppressWarnings has invalid value \(\(PHPMD\.UnusedFormalParameter\)\)\: Unexpected token "\.UnusedFormalParameter\)", expected ''\)'' at offset 351 on line 10$#' + identifier: phpDoc.parseError + count: 1 + path: app/Models/LicenseSeat.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$acceptedBy$#' + identifier: parameter.notFound + count: 1 + path: app/Models/LicenseSeat.php + + - + message: '#^PHPDoc type array of property App\\Models\\LicenseSeat\:\:\$fillable is not covariant with PHPDoc type list\ of overridden property Illuminate\\Database\\Eloquent\\Model\:\:\$fillable\.$#' + identifier: property.phpDocType + count: 1 + path: app/Models/LicenseSeat.php + + - + message: '#^Parameter \$order of method App\\Models\\LicenseSeat\:\:scopeOrderDepartments\(\) has invalid type App\\Models\\text\.$#' + identifier: class.notFound + count: 1 + path: app/Models/LicenseSeat.php + + - + message: '#^Property App\\Models\\LicenseSeat\:\:\$guarded \(array\\) does not accept default value of type string\.$#' + identifier: property.defaultValue + count: 1 + path: app/Models/LicenseSeat.php + + - + message: '#^Property App\\Models\\LicenseSeat\:\:\$searchableAttributes \(array\) on left side of \?\? is not nullable\.$#' + identifier: nullCoalesce.property + count: 1 + path: app/Models/LicenseSeat.php + + - + message: '#^Property App\\Models\\LicenseSeat\:\:\$searchableRelations \(array\) on left side of \?\? is not nullable\.$#' + identifier: nullCoalesce.property + count: 1 + path: app/Models/LicenseSeat.php + + - + message: '#^Unsafe access to private property App\\Models\\LicenseSeat\:\:\$customFieldFilterMapCache through static\:\:\.$#' + identifier: staticClassAccess.privateProperty + count: 4 + path: app/Models/LicenseSeat.php + + - + message: '#^Using nullsafe method call on non\-nullable type Psr\\Http\\Message\\ResponseInterface\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 2 + path: app/Models/LicenseSeat.php + + - + message: '#^Using nullsafe property access "\?\-\>company_id" in isset\(\) is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: app/Models/LicenseSeat.php + + - + message: '#^Access to an undefined property App\\Models\\Actionlog\:\:\$created_by\.$#' + identifier: property.notFound + count: 4 + path: app/Models/Location.php + + - + message: '#^Access to an undefined property App\\Models\\Location\:\:\$license\.$#' + identifier: property.notFound + count: 1 + path: app/Models/Location.php + + - + message: '#^Access to an undefined property App\\Models\\Location\:\:\$license_id\.$#' + identifier: property.notFound + count: 5 + path: app/Models/Location.php + + - + message: '#^Access to an undefined property App\\Models\\Location\:\:\$model\.$#' + identifier: property.notFound + count: 1 + path: app/Models/Location.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$company_id\.$#' + identifier: property.notFound + count: 2 + path: app/Models/Location.php + + - + message: '#^Call to function is_array\(\) with string will always evaluate to false\.$#' + identifier: function.impossibleType + count: 1 + path: app/Models/Location.php + + - + message: '#^Call to method leftJoin\(\) on an unknown class App\\Models\\Illuminate\\Database\\Query\\Builder\.$#' + identifier: class.notFound + count: 1 + path: app/Models/Location.php + + - + message: '#^Method App\\Models\\Location\:\:getLatestSignedAcceptance\(\) should return App\\Models\\Actionlog\|null but returns Illuminate\\Database\\Eloquent\\Model\|null\.$#' + identifier: return.type + count: 1 + path: app/Models/Location.php + + - + message: '#^Method App\\Models\\Location\:\:scopeOrderParent\(\) has invalid return type App\\Models\\Illuminate\\Database\\Query\\Builder\.$#' + identifier: class.notFound + count: 1 + path: app/Models/Location.php + + - + message: '#^PHPDoc tag @SuppressWarnings has invalid value \(\(PHPMD\.UnusedFormalParameter\)\)\: Unexpected token "\.UnusedFormalParameter\)", expected ''\)'' at offset 351 on line 10$#' + identifier: phpDoc.parseError + count: 1 + path: app/Models/Location.php + + - + message: '#^PHPDoc type array of property App\\Models\\Location\:\:\$fillable is not covariant with PHPDoc type list\ of overridden property Illuminate\\Database\\Eloquent\\Model\:\:\$fillable\.$#' + identifier: property.phpDocType + count: 1 + path: app/Models/Location.php + + - + message: '#^Parameter \$order of method App\\Models\\Location\:\:scopeOrderCompany\(\) has invalid type App\\Models\\text\.$#' + identifier: class.notFound + count: 1 + path: app/Models/Location.php + + - + message: '#^Parameter \$order of method App\\Models\\Location\:\:scopeOrderManager\(\) has invalid type App\\Models\\text\.$#' + identifier: class.notFound + count: 1 + path: app/Models/Location.php + + - + message: '#^Parameter \$order of method App\\Models\\Location\:\:scopeOrderParent\(\) has invalid type App\\Models\\text\.$#' + identifier: class.notFound + count: 1 + path: app/Models/Location.php + + - + message: '#^Parameter \$query of method App\\Models\\Location\:\:scopeOrderParent\(\) has invalid type App\\Models\\Illuminate\\Database\\Query\\Builder\.$#' + identifier: class.notFound + count: 1 + path: app/Models/Location.php + + - + message: '#^Property App\\Models\\Location\:\:\$searchableAttributes \(array\) on left side of \?\? is not nullable\.$#' + identifier: nullCoalesce.property + count: 1 + path: app/Models/Location.php + + - + message: '#^Property App\\Models\\Location\:\:\$searchableRelations \(array\) on left side of \?\? is not nullable\.$#' + identifier: nullCoalesce.property + count: 1 + path: app/Models/Location.php + + - + message: '#^Strict comparison using \=\=\= between class\-string\ and ''App\\\\Models\\\\LicenseSeat'' will always evaluate to false\.$#' + identifier: identical.alwaysFalse + count: 1 + path: app/Models/Location.php + + - + message: '#^Unsafe access to private property App\\Models\\Location\:\:\$customFieldFilterMapCache through static\:\:\.$#' + identifier: staticClassAccess.privateProperty + count: 4 + path: app/Models/Location.php + + - + message: '#^Using nullsafe method call on non\-nullable type Psr\\Http\\Message\\ResponseInterface\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 2 + path: app/Models/Location.php + + - + message: '#^Using nullsafe property access "\?\-\>company_id" in isset\(\) is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: app/Models/Location.php + + - + message: '#^Access to an undefined property App\\Models\\Actionlog\:\:\$created_by\.$#' + identifier: property.notFound + count: 4 + path: app/Models/Maintenance.php + + - + message: '#^Access to an undefined property App\\Models\\Maintenance\:\:\$license\.$#' + identifier: property.notFound + count: 1 + path: app/Models/Maintenance.php + + - + message: '#^Access to an undefined property App\\Models\\Maintenance\:\:\$license_id\.$#' + identifier: property.notFound + count: 5 + path: app/Models/Maintenance.php + + - + message: '#^Access to an undefined property App\\Models\\Maintenance\:\:\$model\.$#' + identifier: property.notFound + count: 1 + path: app/Models/Maintenance.php + + - + message: '#^Call to function is_array\(\) with string will always evaluate to false\.$#' + identifier: function.impossibleType + count: 1 + path: app/Models/Maintenance.php + + - + message: '#^Method App\\Models\\Maintenance\:\:getLatestSignedAcceptance\(\) should return App\\Models\\Actionlog\|null but returns Illuminate\\Database\\Eloquent\\Model\|null\.$#' + identifier: return.type + count: 1 + path: app/Models/Maintenance.php + + - + message: '#^PHPDoc tag @SuppressWarnings has invalid value \(\(PHPMD\.UnusedFormalParameter\)\)\: Unexpected token "\.UnusedFormalParameter\)", expected ''\)'' at offset 351 on line 10$#' + identifier: phpDoc.parseError + count: 1 + path: app/Models/Maintenance.php + + - + message: '#^PHPDoc type array of property App\\Models\\Maintenance\:\:\$fillable is not covariant with PHPDoc type list\ of overridden property Illuminate\\Database\\Eloquent\\Model\:\:\$fillable\.$#' + identifier: property.phpDocType + count: 1 + path: app/Models/Maintenance.php + + - + message: '#^Property App\\Models\\Maintenance\:\:\$searchableAttributes \(array\) on left side of \?\? is not nullable\.$#' + identifier: nullCoalesce.property + count: 1 + path: app/Models/Maintenance.php + + - + message: '#^Property App\\Models\\Maintenance\:\:\$searchableRelations \(array\) on left side of \?\? is not nullable\.$#' + identifier: nullCoalesce.property + count: 1 + path: app/Models/Maintenance.php + + - + message: '#^Strict comparison using \=\=\= between class\-string\ and ''App\\\\Models\\\\LicenseSeat'' will always evaluate to false\.$#' + identifier: identical.alwaysFalse + count: 1 + path: app/Models/Maintenance.php + + - + message: '#^Unsafe access to private property App\\Models\\Maintenance\:\:\$customFieldFilterMapCache through static\:\:\.$#' + identifier: staticClassAccess.privateProperty + count: 4 + path: app/Models/Maintenance.php + + - + message: '#^Using nullsafe method call on non\-nullable type Psr\\Http\\Message\\ResponseInterface\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 2 + path: app/Models/Maintenance.php + + - + message: '#^Using nullsafe property access "\?\-\>company_id" in isset\(\) is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: app/Models/Maintenance.php + + - + message: '#^Access to an undefined property App\\Models\\MaintenanceType\:\:\$presenter\.$#' + identifier: property.notFound + count: 1 + path: app/Models/MaintenanceType.php + + - + message: '#^Call to function is_array\(\) with string will always evaluate to false\.$#' + identifier: function.impossibleType + count: 1 + path: app/Models/Manufacturer.php + + - + message: '#^PHPDoc tag @SuppressWarnings has invalid value \(\(PHPMD\.UnusedFormalParameter\)\)\: Unexpected token "\.UnusedFormalParameter\)", expected ''\)'' at offset 351 on line 10$#' + identifier: phpDoc.parseError + count: 1 + path: app/Models/Manufacturer.php + + - + message: '#^PHPDoc type array of property App\\Models\\Manufacturer\:\:\$fillable is not covariant with PHPDoc type list\ of overridden property Illuminate\\Database\\Eloquent\\Model\:\:\$fillable\.$#' + identifier: property.phpDocType + count: 1 + path: app/Models/Manufacturer.php + + - + message: '#^Property App\\Models\\Manufacturer\:\:\$searchableAttributes \(array\) on left side of \?\? is not nullable\.$#' + identifier: nullCoalesce.property + count: 1 + path: app/Models/Manufacturer.php + + - + message: '#^Property App\\Models\\Manufacturer\:\:\$searchableRelations \(array\) on left side of \?\? is not nullable\.$#' + identifier: nullCoalesce.property + count: 1 + path: app/Models/Manufacturer.php + + - + message: '#^Unsafe access to private property App\\Models\\Manufacturer\:\:\$customFieldFilterMapCache through static\:\:\.$#' + identifier: staticClassAccess.privateProperty + count: 4 + path: app/Models/Manufacturer.php + + - + message: '#^Call to function is_array\(\) with string will always evaluate to false\.$#' + identifier: function.impossibleType + count: 1 + path: app/Models/PredefinedKit.php + + - + message: '#^PHPDoc tag @SuppressWarnings has invalid value \(\(PHPMD\.UnusedFormalParameter\)\)\: Unexpected token "\.UnusedFormalParameter\)", expected ''\)'' at offset 351 on line 10$#' + identifier: phpDoc.parseError + count: 1 + path: app/Models/PredefinedKit.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$accessoriy_id$#' + identifier: parameter.notFound + count: 1 + path: app/Models/PredefinedKit.php + + - + message: '#^PHPDoc type array of property App\\Models\\PredefinedKit\:\:\$fillable is not covariant with PHPDoc type list\ of overridden property Illuminate\\Database\\Eloquent\\Model\:\:\$fillable\.$#' + identifier: property.phpDocType + count: 1 + path: app/Models/PredefinedKit.php + + - + message: '#^Property App\\Models\\PredefinedKit\:\:\$searchableAttributes \(array\) on left side of \?\? is not nullable\.$#' + identifier: nullCoalesce.property + count: 1 + path: app/Models/PredefinedKit.php + + - + message: '#^Property App\\Models\\PredefinedKit\:\:\$searchableRelations \(array\) on left side of \?\? is not nullable\.$#' + identifier: nullCoalesce.property + count: 1 + path: app/Models/PredefinedKit.php + + - + message: '#^Unsafe access to private property App\\Models\\PredefinedKit\:\:\$customFieldFilterMapCache through static\:\:\.$#' + identifier: staticClassAccess.privateProperty + count: 4 + path: app/Models/PredefinedKit.php + + - + message: '#^Call to function is_null\(\) with int will always evaluate to false\.$#' + identifier: function.impossibleType + count: 2 + path: app/Models/ReportTemplate.php + + - + message: '#^Access to undefined constant Illuminate\\Contracts\\Foundation\\Application\:\:VERSION\.$#' + identifier: classConstant.notFound + count: 1 + path: app/Models/Setting.php + + - + message: '#^PHPDoc tag @return with type string is incompatible with native type Illuminate\\Database\\Eloquent\\Casts\\Attribute\.$#' + identifier: return.phpDocType + count: 1 + path: app/Models/Setting.php + + - + message: '#^PHPDoc tag @var above a method has no effect\.$#' + identifier: varTag.misplaced + count: 2 + path: app/Models/Setting.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$category\.$#' + identifier: property.notFound + count: 2 + path: app/Models/SnipeModel.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$image\.$#' + identifier: property.notFound + count: 1 + path: app/Models/SnipeModel.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$model\.$#' + identifier: property.notFound + count: 1 + path: app/Models/SnipeModel.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$name\.$#' + identifier: property.notFound + count: 1 + path: app/Models/SnipeModel.php + + - + message: '#^Cannot call method availableForCheckIn\(\) on class\-string\|object\.$#' + identifier: method.nonObject + count: 1 + path: app/Models/SnipeModel.php + + - + message: '#^Strict comparison using \=\=\= between string and null will always evaluate to false\.$#' + identifier: identical.alwaysFalse + count: 1 + path: app/Models/SnipeModel.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$email\.$#' + identifier: property.notFound + count: 3 + path: app/Models/SnipeSCIMConfig.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$manager_id\.$#' + identifier: property.notFound + count: 1 + path: app/Models/SnipeSCIMConfig.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$mobile\.$#' + identifier: property.notFound + count: 2 + path: app/Models/SnipeSCIMConfig.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$phone\.$#' + identifier: property.notFound + count: 2 + path: app/Models/SnipeSCIMConfig.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:companies\(\)\.$#' + identifier: method.notFound + count: 2 + path: app/Models/SnipeSCIMConfig.php + + - + message: '#^Using nullsafe property access on non\-nullable type ArieTimmerman\\Laravel\\SCIMServer\\Parser\\AttributePath\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: app/Models/SnipeSCIMConfig.php + + - + message: '#^Variable \$subNode might not be defined\.$#' + identifier: variable.undefined + count: 1 + path: app/Models/SnipeSCIMConfig.php + + - + message: '#^Call to function is_array\(\) with string will always evaluate to false\.$#' + identifier: function.impossibleType + count: 1 + path: app/Models/Statuslabel.php + + - + message: '#^Method App\\Models\\Statuslabel\:\:getStatuslabelTypesForDB\(\) should return string but returns array\\.$#' + identifier: return.type + count: 1 + path: app/Models/Statuslabel.php + + - + message: '#^Method App\\Models\\Statuslabel\:\:scopeArchived\(\) should return Illuminate\\Database\\Query\\Builder but returns Illuminate\\Database\\Eloquent\\Builder\\.$#' + identifier: return.type + count: 1 + path: app/Models/Statuslabel.php + + - + message: '#^Method App\\Models\\Statuslabel\:\:scopeDeployable\(\) should return Illuminate\\Database\\Query\\Builder but returns Illuminate\\Database\\Eloquent\\Builder\\.$#' + identifier: return.type + count: 1 + path: app/Models/Statuslabel.php + + - + message: '#^Method App\\Models\\Statuslabel\:\:scopePending\(\) should return Illuminate\\Database\\Query\\Builder but returns Illuminate\\Database\\Eloquent\\Builder\\.$#' + identifier: return.type + count: 1 + path: app/Models/Statuslabel.php + + - + message: '#^Method App\\Models\\Statuslabel\:\:scopeUndeployable\(\) should return Illuminate\\Database\\Query\\Builder but returns Illuminate\\Database\\Eloquent\\Builder\\.$#' + identifier: return.type + count: 1 + path: app/Models/Statuslabel.php + + - + message: '#^PHPDoc tag @SuppressWarnings has invalid value \(\(PHPMD\.UnusedFormalParameter\)\)\: Unexpected token "\.UnusedFormalParameter\)", expected ''\)'' at offset 351 on line 10$#' + identifier: phpDoc.parseError + count: 1 + path: app/Models/Statuslabel.php + + - + message: '#^Property App\\Models\\Statuslabel\:\:\$searchableAttributes \(array\) on left side of \?\? is not nullable\.$#' + identifier: nullCoalesce.property + count: 1 + path: app/Models/Statuslabel.php + + - + message: '#^Property App\\Models\\Statuslabel\:\:\$searchableRelations \(array\) on left side of \?\? is not nullable\.$#' + identifier: nullCoalesce.property + count: 1 + path: app/Models/Statuslabel.php + + - + message: '#^Unsafe access to private property App\\Models\\Statuslabel\:\:\$customFieldFilterMapCache through static\:\:\.$#' + identifier: staticClassAccess.privateProperty + count: 4 + path: app/Models/Statuslabel.php + + - + message: '#^Access to an undefined property App\\Models\\Actionlog\:\:\$created_by\.$#' + identifier: property.notFound + count: 4 + path: app/Models/Supplier.php + + - + message: '#^Access to an undefined property App\\Models\\Supplier\:\:\$license\.$#' + identifier: property.notFound + count: 1 + path: app/Models/Supplier.php + + - + message: '#^Access to an undefined property App\\Models\\Supplier\:\:\$license_id\.$#' + identifier: property.notFound + count: 5 + path: app/Models/Supplier.php + + - + message: '#^Access to an undefined property App\\Models\\Supplier\:\:\$model\.$#' + identifier: property.notFound + count: 1 + path: app/Models/Supplier.php + + - + message: '#^Call to function is_array\(\) with string will always evaluate to false\.$#' + identifier: function.impossibleType + count: 1 + path: app/Models/Supplier.php + + - + message: '#^Method App\\Models\\Supplier\:\:getLatestSignedAcceptance\(\) should return App\\Models\\Actionlog\|null but returns Illuminate\\Database\\Eloquent\\Model\|null\.$#' + identifier: return.type + count: 1 + path: app/Models/Supplier.php + + - + message: '#^PHPDoc tag @SuppressWarnings has invalid value \(\(PHPMD\.UnusedFormalParameter\)\)\: Unexpected token "\.UnusedFormalParameter\)", expected ''\)'' at offset 351 on line 10$#' + identifier: phpDoc.parseError + count: 1 + path: app/Models/Supplier.php + + - + message: '#^PHPDoc type array of property App\\Models\\Supplier\:\:\$fillable is not covariant with PHPDoc type list\ of overridden property Illuminate\\Database\\Eloquent\\Model\:\:\$fillable\.$#' + identifier: property.phpDocType + count: 1 + path: app/Models/Supplier.php + + - + message: '#^Property App\\Models\\Supplier\:\:\$searchableAttributes \(array\) on left side of \?\? is not nullable\.$#' + identifier: nullCoalesce.property + count: 1 + path: app/Models/Supplier.php + + - + message: '#^Property App\\Models\\Supplier\:\:\$searchableRelations \(array\) on left side of \?\? is not nullable\.$#' + identifier: nullCoalesce.property + count: 1 + path: app/Models/Supplier.php + + - + message: '#^Strict comparison using \=\=\= between class\-string\ and ''App\\\\Models\\\\LicenseSeat'' will always evaluate to false\.$#' + identifier: identical.alwaysFalse + count: 1 + path: app/Models/Supplier.php + + - + message: '#^Unsafe access to private property App\\Models\\Supplier\:\:\$customFieldFilterMapCache through static\:\:\.$#' + identifier: staticClassAccess.privateProperty + count: 4 + path: app/Models/Supplier.php + + - + message: '#^Using nullsafe method call on non\-nullable type Psr\\Http\\Message\\ResponseInterface\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 2 + path: app/Models/Supplier.php + + - + message: '#^Using nullsafe property access "\?\-\>company_id" in isset\(\) is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: app/Models/Supplier.php + + - + message: '#^Access to an undefined property App\\Models\\Actionlog\:\:\$created_by\.$#' + identifier: property.notFound + count: 5 + path: app/Models/User.php + + - + message: '#^Access to an undefined property App\\Models\\Setting\:\:\$link_dark_color\.$#' + identifier: property.notFound + count: 1 + path: app/Models/User.php + + - + message: '#^Access to an undefined property App\\Models\\Setting\:\:\$link_light_color\.$#' + identifier: property.notFound + count: 1 + path: app/Models/User.php + + - + message: '#^Access to an undefined property App\\Models\\Setting\:\:\$nav_link_color\.$#' + identifier: property.notFound + count: 1 + path: app/Models/User.php + + - + message: '#^Access to an undefined property App\\Models\\User\:\:\$accessory_cost\.$#' + identifier: property.notFound + count: 1 + path: app/Models/User.php + + - + message: '#^Access to an undefined property App\\Models\\User\:\:\$asset_cost\.$#' + identifier: property.notFound + count: 1 + path: app/Models/User.php + + - + message: '#^Access to an undefined property App\\Models\\User\:\:\$assignedMaintenances\.$#' + identifier: property.notFound + count: 1 + path: app/Models/User.php + + - + message: '#^Access to an undefined property App\\Models\\User\:\:\$company_id\.$#' + identifier: property.notFound + count: 2 + path: app/Models/User.php + + - + message: '#^Access to an undefined property App\\Models\\User\:\:\$license\.$#' + identifier: property.notFound + count: 1 + path: app/Models/User.php + + - + message: '#^Access to an undefined property App\\Models\\User\:\:\$license_cost\.$#' + identifier: property.notFound + count: 1 + path: app/Models/User.php + + - + message: '#^Access to an undefined property App\\Models\\User\:\:\$license_id\.$#' + identifier: property.notFound + count: 5 + path: app/Models/User.php + + - + message: '#^Access to an undefined property App\\Models\\User\:\:\$maintenance_cost\.$#' + identifier: property.notFound + count: 1 + path: app/Models/User.php + + - + message: '#^Access to an undefined property App\\Models\\User\:\:\$model\.$#' + identifier: property.notFound + count: 1 + path: app/Models/User.php + + - + message: '#^Access to an undefined property App\\Models\\User\:\:\$total_user_cost\.$#' + identifier: property.notFound + count: 1 + path: app/Models/User.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$company_id\.$#' + identifier: property.notFound + count: 2 + path: app/Models/User.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#' + identifier: property.notFound + count: 1 + path: app/Models/User.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\HasMany\\:\:withTrashed\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Models/User.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\MorphMany\\:\:withTrashed\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Models/User.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Query\\Builder\:\:orWhereHas\(\)\.$#' + identifier: method.notFound + count: 2 + path: app/Models/User.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Query\\Builder\:\:orWhereMultipleColumns\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Models/User.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Query\\Builder\:\:whereHas\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Models/User.php + + - + message: '#^Call to function is_array\(\) with string will always evaluate to false\.$#' + identifier: function.impossibleType + count: 1 + path: app/Models/User.php + + - + message: '#^Call to function is_array\(\) with string\|null will always evaluate to false\.$#' + identifier: function.impossibleType + count: 1 + path: app/Models/User.php + + - + message: '#^Call to function is_object\(\) with string\|null will always evaluate to false\.$#' + identifier: function.impossibleType + count: 2 + path: app/Models/User.php + + - + message: '#^Call to method leftJoinSub\(\) on an unknown class App\\Models\\Illuminate\\Database\\Query\\Builder\.$#' + identifier: class.notFound + count: 1 + path: app/Models/User.php + + - + message: '#^Cannot call method where\(\) on string\.$#' + identifier: method.nonObject + count: 1 + path: app/Models/User.php + + - + message: '#^Cannot call method whereNull\(\) on string\.$#' + identifier: method.nonObject + count: 1 + path: app/Models/User.php + + - + message: '#^Method App\\Models\\User\:\:allAssignedCount\(\) should return Illuminate\\Database\\Eloquent\\Relations\\Relation but returns int\<0, max\>\.$#' + identifier: return.type + count: 1 + path: app/Models/User.php + + - + message: '#^Method App\\Models\\User\:\:getLatestSignedAcceptance\(\) should return App\\Models\\Actionlog\|null but returns Illuminate\\Database\\Eloquent\\Model\|null\.$#' + identifier: return.type + count: 1 + path: app/Models/User.php + + - + message: '#^Method App\\Models\\User\:\:scopeOrderCompany\(\) has invalid return type App\\Models\\Illuminate\\Database\\Query\\Builder\.$#' + identifier: class.notFound + count: 1 + path: app/Models/User.php + + - + message: '#^PHPDoc tag @param for parameter \$query with type Illuminate\\Database\\Query\\Builder is incompatible with native type Illuminate\\Database\\Eloquent\\Builder\.$#' + identifier: parameter.phpDocType + count: 1 + path: app/Models/User.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$terms$#' + identifier: parameter.notFound + count: 1 + path: app/Models/User.php + + - + message: '#^Parameter \$order of method App\\Models\\User\:\:scopeOrderCompany\(\) has invalid type App\\Models\\text\.$#' + identifier: class.notFound + count: 1 + path: app/Models/User.php + + - + message: '#^Parameter \$query of method App\\Models\\User\:\:scopeOrderCompany\(\) has invalid type App\\Models\\Illuminate\\Database\\Query\\Builder\.$#' + identifier: class.notFound + count: 1 + path: app/Models/User.php + + - + message: '#^Property App\\Models\\User\:\:\$searchableAttributes \(array\) on left side of \?\? is not nullable\.$#' + identifier: nullCoalesce.property + count: 1 + path: app/Models/User.php + + - + message: '#^Property App\\Models\\User\:\:\$searchableRelationAliases \(array\\) on left side of \?\? is not nullable\.$#' + identifier: nullCoalesce.property + count: 1 + path: app/Models/User.php + + - + message: '#^Property App\\Models\\User\:\:\$searchableRelationFilterColumns \(array\\>\) on left side of \?\? is not nullable\.$#' + identifier: nullCoalesce.property + count: 1 + path: app/Models/User.php + + - + message: '#^Property App\\Models\\User\:\:\$searchableRelations \(array\) on left side of \?\? is not nullable\.$#' + identifier: nullCoalesce.property + count: 1 + path: app/Models/User.php + + - + message: '#^Property App\\Models\\User\:\:\$searchableVirtualColumns \(array\\>\) on left side of \?\? is not nullable\.$#' + identifier: nullCoalesce.property + count: 1 + path: app/Models/User.php + + - + message: '#^Strict comparison using \=\=\= between class\-string\ and ''App\\\\Models\\\\LicenseSeat'' will always evaluate to false\.$#' + identifier: identical.alwaysFalse + count: 1 + path: app/Models/User.php + + - + message: '#^Unsafe access to private property App\\Models\\User\:\:\$customFieldFilterMapCache through static\:\:\.$#' + identifier: staticClassAccess.privateProperty + count: 4 + path: app/Models/User.php + + - + message: '#^Using nullsafe method call on non\-nullable type Psr\\Http\\Message\\ResponseInterface\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 2 + path: app/Models/User.php + + - + message: '#^Using nullsafe property access "\?\-\>company_id" in isset\(\) is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: app/Models/User.php + + - + message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemAcceptedNotification\:\:\$accepted_date\.$#' + identifier: property.notFound + count: 2 + path: app/Notifications/AcceptanceItemAcceptedNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemAcceptedNotification\:\:\$assigned_to\.$#' + identifier: property.notFound + count: 4 + path: app/Notifications/AcceptanceItemAcceptedNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemAcceptedNotification\:\:\$company_name\.$#' + identifier: property.notFound + count: 2 + path: app/Notifications/AcceptanceItemAcceptedNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemAcceptedNotification\:\:\$custom_fields\.$#' + identifier: property.notFound + count: 2 + path: app/Notifications/AcceptanceItemAcceptedNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemAcceptedNotification\:\:\$file\.$#' + identifier: property.notFound + count: 1 + path: app/Notifications/AcceptanceItemAcceptedNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemAcceptedNotification\:\:\$item_model\.$#' + identifier: property.notFound + count: 2 + path: app/Notifications/AcceptanceItemAcceptedNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemAcceptedNotification\:\:\$item_name\.$#' + identifier: property.notFound + count: 4 + path: app/Notifications/AcceptanceItemAcceptedNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemAcceptedNotification\:\:\$item_serial\.$#' + identifier: property.notFound + count: 2 + path: app/Notifications/AcceptanceItemAcceptedNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemAcceptedNotification\:\:\$item_status\.$#' + identifier: property.notFound + count: 2 + path: app/Notifications/AcceptanceItemAcceptedNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemAcceptedNotification\:\:\$item_tag\.$#' + identifier: property.notFound + count: 2 + path: app/Notifications/AcceptanceItemAcceptedNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemAcceptedNotification\:\:\$note\.$#' + identifier: property.notFound + count: 2 + path: app/Notifications/AcceptanceItemAcceptedNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemAcceptedNotification\:\:\$qty\.$#' + identifier: property.notFound + count: 2 + path: app/Notifications/AcceptanceItemAcceptedNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemAcceptedNotification\:\:\$settings\.$#' + identifier: property.notFound + count: 2 + path: app/Notifications/AcceptanceItemAcceptedNotification.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$notifiable$#' + identifier: parameter.notFound + count: 2 + path: app/Notifications/AcceptanceItemAcceptedNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemAcceptedToUserNotification\:\:\$accepted_date\.$#' + identifier: property.notFound + count: 2 + path: app/Notifications/AcceptanceItemAcceptedToUserNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemAcceptedToUserNotification\:\:\$assigned_to\.$#' + identifier: property.notFound + count: 2 + path: app/Notifications/AcceptanceItemAcceptedToUserNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemAcceptedToUserNotification\:\:\$company_name\.$#' + identifier: property.notFound + count: 2 + path: app/Notifications/AcceptanceItemAcceptedToUserNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemAcceptedToUserNotification\:\:\$custom_fields\.$#' + identifier: property.notFound + count: 2 + path: app/Notifications/AcceptanceItemAcceptedToUserNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemAcceptedToUserNotification\:\:\$file\.$#' + identifier: property.notFound + count: 2 + path: app/Notifications/AcceptanceItemAcceptedToUserNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemAcceptedToUserNotification\:\:\$item_model\.$#' + identifier: property.notFound + count: 2 + path: app/Notifications/AcceptanceItemAcceptedToUserNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemAcceptedToUserNotification\:\:\$item_name\.$#' + identifier: property.notFound + count: 2 + path: app/Notifications/AcceptanceItemAcceptedToUserNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemAcceptedToUserNotification\:\:\$item_serial\.$#' + identifier: property.notFound + count: 2 + path: app/Notifications/AcceptanceItemAcceptedToUserNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemAcceptedToUserNotification\:\:\$item_status\.$#' + identifier: property.notFound + count: 2 + path: app/Notifications/AcceptanceItemAcceptedToUserNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemAcceptedToUserNotification\:\:\$item_tag\.$#' + identifier: property.notFound + count: 2 + path: app/Notifications/AcceptanceItemAcceptedToUserNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemAcceptedToUserNotification\:\:\$note\.$#' + identifier: property.notFound + count: 2 + path: app/Notifications/AcceptanceItemAcceptedToUserNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemAcceptedToUserNotification\:\:\$qty\.$#' + identifier: property.notFound + count: 6 + path: app/Notifications/AcceptanceItemAcceptedToUserNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemAcceptedToUserNotification\:\:\$settings\.$#' + identifier: property.notFound + count: 3 + path: app/Notifications/AcceptanceItemAcceptedToUserNotification.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$notifiable$#' + identifier: parameter.notFound + count: 2 + path: app/Notifications/AcceptanceItemAcceptedToUserNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemDeclinedNotification\:\:\$admin\.$#' + identifier: property.notFound + count: 2 + path: app/Notifications/AcceptanceItemDeclinedNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemDeclinedNotification\:\:\$assigned_to\.$#' + identifier: property.notFound + count: 5 + path: app/Notifications/AcceptanceItemDeclinedNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemDeclinedNotification\:\:\$company_name\.$#' + identifier: property.notFound + count: 2 + path: app/Notifications/AcceptanceItemDeclinedNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemDeclinedNotification\:\:\$declined_date\.$#' + identifier: property.notFound + count: 2 + path: app/Notifications/AcceptanceItemDeclinedNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemDeclinedNotification\:\:\$item_model\.$#' + identifier: property.notFound + count: 2 + path: app/Notifications/AcceptanceItemDeclinedNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemDeclinedNotification\:\:\$item_name\.$#' + identifier: property.notFound + count: 3 + path: app/Notifications/AcceptanceItemDeclinedNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemDeclinedNotification\:\:\$item_serial\.$#' + identifier: property.notFound + count: 2 + path: app/Notifications/AcceptanceItemDeclinedNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemDeclinedNotification\:\:\$item_status\.$#' + identifier: property.notFound + count: 2 + path: app/Notifications/AcceptanceItemDeclinedNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemDeclinedNotification\:\:\$item_tag\.$#' + identifier: property.notFound + count: 2 + path: app/Notifications/AcceptanceItemDeclinedNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemDeclinedNotification\:\:\$note\.$#' + identifier: property.notFound + count: 2 + path: app/Notifications/AcceptanceItemDeclinedNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemDeclinedNotification\:\:\$qty\.$#' + identifier: property.notFound + count: 2 + path: app/Notifications/AcceptanceItemDeclinedNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\AcceptanceItemDeclinedNotification\:\:\$settings\.$#' + identifier: property.notFound + count: 2 + path: app/Notifications/AcceptanceItemDeclinedNotification.php + + - + message: '#^Attribute class App\\Notifications\\AllowDynamicProperties does not exist\.$#' + identifier: attribute.notFound + count: 1 + path: app/Notifications/AcceptanceItemDeclinedNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\AuditNotification\:\:\$settings\.$#' + identifier: property.notFound + count: 5 + path: app/Notifications/AuditNotification.php + + - + message: '#^Using nullsafe property access "\?\-\>display_name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: app/Notifications/AuditNotification.php + + - + message: '#^Variable \$note on left side of \?\? always exists and is not nullable\.$#' + identifier: nullCoalesce.variable + count: 1 + path: app/Notifications/AuditNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\CheckinAccessoryNotification\:\:\$admin\.$#' + identifier: property.notFound + count: 3 + path: app/Notifications/CheckinAccessoryNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\CheckinAccessoryNotification\:\:\$item\.$#' + identifier: property.notFound + count: 4 + path: app/Notifications/CheckinAccessoryNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\CheckinAccessoryNotification\:\:\$note\.$#' + identifier: property.notFound + count: 4 + path: app/Notifications/CheckinAccessoryNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\CheckinAccessoryNotification\:\:\$settings\.$#' + identifier: property.notFound + count: 7 + path: app/Notifications/CheckinAccessoryNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\CheckinAccessoryNotification\:\:\$target\.$#' + identifier: property.notFound + count: 2 + path: app/Notifications/CheckinAccessoryNotification.php + + - + message: '#^Attribute class App\\Notifications\\AllowDynamicProperties does not exist\.$#' + identifier: attribute.notFound + count: 1 + path: app/Notifications/CheckinAccessoryNotification.php + + - + message: '#^Ternary operator condition is always true\.$#' + identifier: ternary.alwaysTrue + count: 3 + path: app/Notifications/CheckinAccessoryNotification.php + + - + message: '#^Using nullsafe property access "\?\-\>display_name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: app/Notifications/CheckinAccessoryNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\CheckinAssetNotification\:\:\$admin\.$#' + identifier: property.notFound + count: 3 + path: app/Notifications/CheckinAssetNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\CheckinAssetNotification\:\:\$expected_checkin\.$#' + identifier: property.notFound + count: 1 + path: app/Notifications/CheckinAssetNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\CheckinAssetNotification\:\:\$item\.$#' + identifier: property.notFound + count: 4 + path: app/Notifications/CheckinAssetNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\CheckinAssetNotification\:\:\$note\.$#' + identifier: property.notFound + count: 4 + path: app/Notifications/CheckinAssetNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\CheckinAssetNotification\:\:\$settings\.$#' + identifier: property.notFound + count: 7 + path: app/Notifications/CheckinAssetNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\CheckinAssetNotification\:\:\$target\.$#' + identifier: property.notFound + count: 2 + path: app/Notifications/CheckinAssetNotification.php + + - + message: '#^Attribute class App\\Notifications\\AllowDynamicProperties does not exist\.$#' + identifier: attribute.notFound + count: 1 + path: app/Notifications/CheckinAssetNotification.php + + - + message: '#^Ternary operator condition is always true\.$#' + identifier: ternary.alwaysTrue + count: 1 + path: app/Notifications/CheckinAssetNotification.php + + - + message: '#^Using nullsafe property access "\?\-\>display_name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: app/Notifications/CheckinAssetNotification.php + + - + message: '#^Using nullsafe property access "\?\-\>name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: app/Notifications/CheckinAssetNotification.php + + - + message: '#^Using nullsafe property access on non\-nullable type mixed\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: app/Notifications/CheckinAssetNotification.php + + - + message: '#^Variable \$notifyBy might not be defined\.$#' + identifier: variable.undefined + count: 1 + path: app/Notifications/CheckinAssetNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\CheckinComponentNotification\:\:\$admin\.$#' + identifier: property.notFound + count: 3 + path: app/Notifications/CheckinComponentNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\CheckinComponentNotification\:\:\$item\.$#' + identifier: property.notFound + count: 4 + path: app/Notifications/CheckinComponentNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\CheckinComponentNotification\:\:\$note\.$#' + identifier: property.notFound + count: 4 + path: app/Notifications/CheckinComponentNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\CheckinComponentNotification\:\:\$settings\.$#' + identifier: property.notFound + count: 7 + path: app/Notifications/CheckinComponentNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\CheckinComponentNotification\:\:\$target\.$#' + identifier: property.notFound + count: 4 + path: app/Notifications/CheckinComponentNotification.php + + - + message: '#^Attribute class App\\Notifications\\AllowDynamicProperties does not exist\.$#' + identifier: attribute.notFound + count: 1 + path: app/Notifications/CheckinComponentNotification.php + + - + message: '#^Property App\\Notifications\\CheckinComponentNotification\:\:\$params is unused\.$#' + identifier: property.unused + count: 1 + path: app/Notifications/CheckinComponentNotification.php + + - + message: '#^Ternary operator condition is always true\.$#' + identifier: ternary.alwaysTrue + count: 1 + path: app/Notifications/CheckinComponentNotification.php + + - + message: '#^Using nullsafe property access "\?\-\>display_name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: app/Notifications/CheckinComponentNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\CheckinLicenseSeatNotification\:\:\$admin\.$#' + identifier: property.notFound + count: 3 + path: app/Notifications/CheckinLicenseSeatNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\CheckinLicenseSeatNotification\:\:\$item\.$#' + identifier: property.notFound + count: 4 + path: app/Notifications/CheckinLicenseSeatNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\CheckinLicenseSeatNotification\:\:\$note\.$#' + identifier: property.notFound + count: 4 + path: app/Notifications/CheckinLicenseSeatNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\CheckinLicenseSeatNotification\:\:\$settings\.$#' + identifier: property.notFound + count: 7 + path: app/Notifications/CheckinLicenseSeatNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\CheckinLicenseSeatNotification\:\:\$target\.$#' + identifier: property.notFound + count: 4 + path: app/Notifications/CheckinLicenseSeatNotification.php + + - + message: '#^Attribute class App\\Notifications\\AllowDynamicProperties does not exist\.$#' + identifier: attribute.notFound + count: 1 + path: app/Notifications/CheckinLicenseSeatNotification.php + + - + message: '#^Property App\\Notifications\\CheckinLicenseSeatNotification\:\:\$params is unused\.$#' + identifier: property.unused + count: 1 + path: app/Notifications/CheckinLicenseSeatNotification.php + + - + message: '#^Ternary operator condition is always true\.$#' + identifier: ternary.alwaysTrue + count: 1 + path: app/Notifications/CheckinLicenseSeatNotification.php + + - + message: '#^Using nullsafe property access "\?\-\>display_name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: app/Notifications/CheckinLicenseSeatNotification.php + + - + message: '#^Access to an undefined property App\\Models\\Accessory\:\:\$checkout_qty\.$#' + identifier: property.notFound + count: 1 + path: app/Notifications/CheckoutAccessoryNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\CheckoutAccessoryNotification\:\:\$acceptance\.$#' + identifier: property.notFound + count: 2 + path: app/Notifications/CheckoutAccessoryNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\CheckoutAccessoryNotification\:\:\$admin\.$#' + identifier: property.notFound + count: 4 + path: app/Notifications/CheckoutAccessoryNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\CheckoutAccessoryNotification\:\:\$checkout_qty\.$#' + identifier: property.notFound + count: 4 + path: app/Notifications/CheckoutAccessoryNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\CheckoutAccessoryNotification\:\:\$item\.$#' + identifier: property.notFound + count: 11 + path: app/Notifications/CheckoutAccessoryNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\CheckoutAccessoryNotification\:\:\$note\.$#' + identifier: property.notFound + count: 5 + path: app/Notifications/CheckoutAccessoryNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\CheckoutAccessoryNotification\:\:\$settings\.$#' + identifier: property.notFound + count: 7 + path: app/Notifications/CheckoutAccessoryNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\CheckoutAccessoryNotification\:\:\$target\.$#' + identifier: property.notFound + count: 6 + path: app/Notifications/CheckoutAccessoryNotification.php + + - + message: '#^Attribute class App\\Notifications\\AllowDynamicProperties does not exist\.$#' + identifier: attribute.notFound + count: 1 + path: app/Notifications/CheckoutAccessoryNotification.php + + - + message: '#^Ternary operator condition is always true\.$#' + identifier: ternary.alwaysTrue + count: 1 + path: app/Notifications/CheckoutAccessoryNotification.php + + - + message: '#^Using nullsafe property access "\?\-\>display_name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 2 + path: app/Notifications/CheckoutAccessoryNotification.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$last_checkout\.$#' + identifier: property.notFound + count: 1 + path: app/Notifications/CheckoutAssetNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\CheckoutAssetNotification\:\:\$admin\.$#' + identifier: property.notFound + count: 3 + path: app/Notifications/CheckoutAssetNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\CheckoutAssetNotification\:\:\$expected_checkin\.$#' + identifier: property.notFound + count: 2 + path: app/Notifications/CheckoutAssetNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\CheckoutAssetNotification\:\:\$item\.$#' + identifier: property.notFound + count: 4 + path: app/Notifications/CheckoutAssetNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\CheckoutAssetNotification\:\:\$last_checkout\.$#' + identifier: property.notFound + count: 1 + path: app/Notifications/CheckoutAssetNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\CheckoutAssetNotification\:\:\$note\.$#' + identifier: property.notFound + count: 4 + path: app/Notifications/CheckoutAssetNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\CheckoutAssetNotification\:\:\$settings\.$#' + identifier: property.notFound + count: 6 + path: app/Notifications/CheckoutAssetNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\CheckoutAssetNotification\:\:\$target\.$#' + identifier: property.notFound + count: 4 + path: app/Notifications/CheckoutAssetNotification.php + + - + message: '#^Attribute class App\\Notifications\\AllowDynamicProperties does not exist\.$#' + identifier: attribute.notFound + count: 1 + path: app/Notifications/CheckoutAssetNotification.php + + - + message: '#^Constructor of class App\\Notifications\\CheckoutAssetNotification has an unused parameter \$acceptance\.$#' + identifier: constructor.unusedParameter + count: 1 + path: app/Notifications/CheckoutAssetNotification.php + + - + message: '#^Ternary operator condition is always true\.$#' + identifier: ternary.alwaysTrue + count: 1 + path: app/Notifications/CheckoutAssetNotification.php + + - + message: '#^Using nullsafe property access "\?\-\>display_name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 2 + path: app/Notifications/CheckoutAssetNotification.php + + - + message: '#^Access to an undefined property App\\Models\\Component\:\:\$checkout_qty\.$#' + identifier: property.notFound + count: 1 + path: app/Notifications/CheckoutComponentNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\CheckoutComponentNotification\:\:\$acceptance\.$#' + identifier: property.notFound + count: 1 + path: app/Notifications/CheckoutComponentNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\CheckoutComponentNotification\:\:\$admin\.$#' + identifier: property.notFound + count: 3 + path: app/Notifications/CheckoutComponentNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\CheckoutComponentNotification\:\:\$item\.$#' + identifier: property.notFound + count: 4 + path: app/Notifications/CheckoutComponentNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\CheckoutComponentNotification\:\:\$note\.$#' + identifier: property.notFound + count: 4 + path: app/Notifications/CheckoutComponentNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\CheckoutComponentNotification\:\:\$qty\.$#' + identifier: property.notFound + count: 1 + path: app/Notifications/CheckoutComponentNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\CheckoutComponentNotification\:\:\$settings\.$#' + identifier: property.notFound + count: 7 + path: app/Notifications/CheckoutComponentNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\CheckoutComponentNotification\:\:\$target\.$#' + identifier: property.notFound + count: 4 + path: app/Notifications/CheckoutComponentNotification.php + + - + message: '#^Attribute class App\\Notifications\\AllowDynamicProperties does not exist\.$#' + identifier: attribute.notFound + count: 1 + path: app/Notifications/CheckoutComponentNotification.php + + - + message: '#^Property App\\Notifications\\CheckoutComponentNotification\:\:\$params is unused\.$#' + identifier: property.unused + count: 1 + path: app/Notifications/CheckoutComponentNotification.php + + - + message: '#^Ternary operator condition is always true\.$#' + identifier: ternary.alwaysTrue + count: 1 + path: app/Notifications/CheckoutComponentNotification.php + + - + message: '#^Using nullsafe property access "\?\-\>display_name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 2 + path: app/Notifications/CheckoutComponentNotification.php + + - + message: '#^Access to an undefined property App\\Models\\Consumable\:\:\$checkout_qty\.$#' + identifier: property.notFound + count: 1 + path: app/Notifications/CheckoutConsumableNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\CheckoutConsumableNotification\:\:\$acceptance\.$#' + identifier: property.notFound + count: 1 + path: app/Notifications/CheckoutConsumableNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\CheckoutConsumableNotification\:\:\$admin\.$#' + identifier: property.notFound + count: 3 + path: app/Notifications/CheckoutConsumableNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\CheckoutConsumableNotification\:\:\$item\.$#' + identifier: property.notFound + count: 4 + path: app/Notifications/CheckoutConsumableNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\CheckoutConsumableNotification\:\:\$note\.$#' + identifier: property.notFound + count: 4 + path: app/Notifications/CheckoutConsumableNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\CheckoutConsumableNotification\:\:\$qty\.$#' + identifier: property.notFound + count: 1 + path: app/Notifications/CheckoutConsumableNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\CheckoutConsumableNotification\:\:\$settings\.$#' + identifier: property.notFound + count: 7 + path: app/Notifications/CheckoutConsumableNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\CheckoutConsumableNotification\:\:\$target\.$#' + identifier: property.notFound + count: 4 + path: app/Notifications/CheckoutConsumableNotification.php + + - + message: '#^Attribute class App\\Notifications\\AllowDynamicProperties does not exist\.$#' + identifier: attribute.notFound + count: 1 + path: app/Notifications/CheckoutConsumableNotification.php + + - + message: '#^Property App\\Notifications\\CheckoutConsumableNotification\:\:\$params is unused\.$#' + identifier: property.unused + count: 1 + path: app/Notifications/CheckoutConsumableNotification.php + + - + message: '#^Ternary operator condition is always true\.$#' + identifier: ternary.alwaysTrue + count: 1 + path: app/Notifications/CheckoutConsumableNotification.php + + - + message: '#^Using nullsafe property access "\?\-\>display_name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 2 + path: app/Notifications/CheckoutConsumableNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\CheckoutLicenseSeatNotification\:\:\$acceptance\.$#' + identifier: property.notFound + count: 1 + path: app/Notifications/CheckoutLicenseSeatNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\CheckoutLicenseSeatNotification\:\:\$admin\.$#' + identifier: property.notFound + count: 3 + path: app/Notifications/CheckoutLicenseSeatNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\CheckoutLicenseSeatNotification\:\:\$item\.$#' + identifier: property.notFound + count: 4 + path: app/Notifications/CheckoutLicenseSeatNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\CheckoutLicenseSeatNotification\:\:\$note\.$#' + identifier: property.notFound + count: 4 + path: app/Notifications/CheckoutLicenseSeatNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\CheckoutLicenseSeatNotification\:\:\$settings\.$#' + identifier: property.notFound + count: 7 + path: app/Notifications/CheckoutLicenseSeatNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\CheckoutLicenseSeatNotification\:\:\$target\.$#' + identifier: property.notFound + count: 4 + path: app/Notifications/CheckoutLicenseSeatNotification.php + + - + message: '#^Attribute class App\\Notifications\\AllowDynamicProperties does not exist\.$#' + identifier: attribute.notFound + count: 1 + path: app/Notifications/CheckoutLicenseSeatNotification.php + + - + message: '#^Property App\\Notifications\\CheckoutLicenseSeatNotification\:\:\$params is unused\.$#' + identifier: property.unused + count: 1 + path: app/Notifications/CheckoutLicenseSeatNotification.php + + - + message: '#^Ternary operator condition is always true\.$#' + identifier: ternary.alwaysTrue + count: 1 + path: app/Notifications/CheckoutLicenseSeatNotification.php + + - + message: '#^Using nullsafe property access "\?\-\>display_name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 2 + path: app/Notifications/CheckoutLicenseSeatNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\CurrentInventory\:\:\$user\.$#' + identifier: property.notFound + count: 5 + path: app/Notifications/CurrentInventory.php + + - + message: '#^Attribute class App\\Notifications\\AllowDynamicProperties does not exist\.$#' + identifier: attribute.notFound + count: 1 + path: app/Notifications/CurrentInventory.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$notifiable$#' + identifier: parameter.notFound + count: 1 + path: app/Notifications/CurrentInventory.php + + - + message: '#^Access to an undefined property App\\Notifications\\ExpectedCheckinAdminNotification\:\:\$assets\.$#' + identifier: property.notFound + count: 2 + path: app/Notifications/ExpectedCheckinAdminNotification.php + + - + message: '#^Attribute class App\\Notifications\\AllowDynamicProperties does not exist\.$#' + identifier: attribute.notFound + count: 1 + path: app/Notifications/ExpectedCheckinAdminNotification.php + + - + message: '#^Property App\\Notifications\\ExpectedCheckinAdminNotification\:\:\$params is unused\.$#' + identifier: property.unused + count: 1 + path: app/Notifications/ExpectedCheckinAdminNotification.php + + - + message: '#^Attribute class App\\Notifications\\AllowDynamicProperties does not exist\.$#' + identifier: attribute.notFound + count: 1 + path: app/Notifications/ExpectedCheckinNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\ExpiringAssetsNotification\:\:\$assets\.$#' + identifier: property.notFound + count: 2 + path: app/Notifications/ExpiringAssetsNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\ExpiringAssetsNotification\:\:\$threshold\.$#' + identifier: property.notFound + count: 2 + path: app/Notifications/ExpiringAssetsNotification.php + + - + message: '#^Attribute class App\\Notifications\\AllowDynamicProperties does not exist\.$#' + identifier: attribute.notFound + count: 1 + path: app/Notifications/ExpiringAssetsNotification.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$asset$#' + identifier: parameter.notFound + count: 1 + path: app/Notifications/ExpiringAssetsNotification.php + + - + message: '#^Property App\\Notifications\\ExpiringAssetsNotification\:\:\$params is unused\.$#' + identifier: property.unused + count: 1 + path: app/Notifications/ExpiringAssetsNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\ExpiringLicenseNotification\:\:\$licenses\.$#' + identifier: property.notFound + count: 2 + path: app/Notifications/ExpiringLicenseNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\ExpiringLicenseNotification\:\:\$threshold\.$#' + identifier: property.notFound + count: 2 + path: app/Notifications/ExpiringLicenseNotification.php + + - + message: '#^Attribute class App\\Notifications\\AllowDynamicProperties does not exist\.$#' + identifier: attribute.notFound + count: 1 + path: app/Notifications/ExpiringLicenseNotification.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$asset$#' + identifier: parameter.notFound + count: 1 + path: app/Notifications/ExpiringLicenseNotification.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$notifiable$#' + identifier: parameter.notFound + count: 1 + path: app/Notifications/ExpiringLicenseNotification.php + + - + message: '#^Property App\\Notifications\\ExpiringLicenseNotification\:\:\$params is unused\.$#' + identifier: property.unused + count: 1 + path: app/Notifications/ExpiringLicenseNotification.php + + - + message: '#^Attribute class App\\Notifications\\AllowDynamicProperties does not exist\.$#' + identifier: attribute.notFound + count: 1 + path: app/Notifications/FirstAdminNotification.php + + - + message: '#^Access to an undefined property \$this\(App\\Notifications\\InventoryAlert\)\:\:\$threshold\.$#' + identifier: property.notFound + count: 1 + path: app/Notifications/InventoryAlert.php + + - + message: '#^Access to an undefined property App\\Notifications\\InventoryAlert\:\:\$items\.$#' + identifier: property.notFound + count: 2 + path: app/Notifications/InventoryAlert.php + + - + message: '#^Access to an undefined property App\\Notifications\\InventoryAlert\:\:\$threshold\.$#' + identifier: property.notFound + count: 2 + path: app/Notifications/InventoryAlert.php + + - + message: '#^Property App\\Notifications\\InventoryAlert\:\:\$params is unused\.$#' + identifier: property.unused + count: 1 + path: app/Notifications/InventoryAlert.php + + - + message: '#^Attribute class App\\Notifications\\AllowDynamicProperties does not exist\.$#' + identifier: attribute.notFound + count: 1 + path: app/Notifications/MailTest.php + + - + message: '#^Access to an undefined property App\\Notifications\\RequestAssetCancelation\:\:\$expected_checkin\.$#' + identifier: property.notFound + count: 3 + path: app/Notifications/RequestAssetCancelation.php + + - + message: '#^Access to an undefined property App\\Notifications\\RequestAssetCancelation\:\:\$item\.$#' + identifier: property.notFound + count: 6 + path: app/Notifications/RequestAssetCancelation.php + + - + message: '#^Access to an undefined property App\\Notifications\\RequestAssetCancelation\:\:\$item_quantity\.$#' + identifier: property.notFound + count: 3 + path: app/Notifications/RequestAssetCancelation.php + + - + message: '#^Access to an undefined property App\\Notifications\\RequestAssetCancelation\:\:\$last_checkout\.$#' + identifier: property.notFound + count: 2 + path: app/Notifications/RequestAssetCancelation.php + + - + message: '#^Access to an undefined property App\\Notifications\\RequestAssetCancelation\:\:\$note\.$#' + identifier: property.notFound + count: 3 + path: app/Notifications/RequestAssetCancelation.php + + - + message: '#^Access to an undefined property App\\Notifications\\RequestAssetCancelation\:\:\$requested_date\.$#' + identifier: property.notFound + count: 2 + path: app/Notifications/RequestAssetCancelation.php + + - + message: '#^Access to an undefined property App\\Notifications\\RequestAssetCancelation\:\:\$settings\.$#' + identifier: property.notFound + count: 5 + path: app/Notifications/RequestAssetCancelation.php + + - + message: '#^Access to an undefined property App\\Notifications\\RequestAssetCancelation\:\:\$target\.$#' + identifier: property.notFound + count: 3 + path: app/Notifications/RequestAssetCancelation.php + + - + message: '#^Attribute class App\\Notifications\\AllowDynamicProperties does not exist\.$#' + identifier: attribute.notFound + count: 1 + path: app/Notifications/RequestAssetCancelation.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$notifiable$#' + identifier: parameter.notFound + count: 2 + path: app/Notifications/RequestAssetCancelation.php + + - + message: '#^Property App\\Notifications\\RequestAssetCancelation\:\:\$params is unused\.$#' + identifier: property.unused + count: 1 + path: app/Notifications/RequestAssetCancelation.php + + - + message: '#^Access to an undefined property App\\Notifications\\RequestAssetNotification\:\:\$expected_checkin\.$#' + identifier: property.notFound + count: 2 + path: app/Notifications/RequestAssetNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\RequestAssetNotification\:\:\$item\.$#' + identifier: property.notFound + count: 6 + path: app/Notifications/RequestAssetNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\RequestAssetNotification\:\:\$item_quantity\.$#' + identifier: property.notFound + count: 3 + path: app/Notifications/RequestAssetNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\RequestAssetNotification\:\:\$item_type\.$#' + identifier: property.notFound + count: 1 + path: app/Notifications/RequestAssetNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\RequestAssetNotification\:\:\$last_checkout\.$#' + identifier: property.notFound + count: 2 + path: app/Notifications/RequestAssetNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\RequestAssetNotification\:\:\$note\.$#' + identifier: property.notFound + count: 3 + path: app/Notifications/RequestAssetNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\RequestAssetNotification\:\:\$requested_date\.$#' + identifier: property.notFound + count: 2 + path: app/Notifications/RequestAssetNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\RequestAssetNotification\:\:\$settings\.$#' + identifier: property.notFound + count: 5 + path: app/Notifications/RequestAssetNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\RequestAssetNotification\:\:\$target\.$#' + identifier: property.notFound + count: 3 + path: app/Notifications/RequestAssetNotification.php + + - + message: '#^Attribute class App\\Notifications\\AllowDynamicProperties does not exist\.$#' + identifier: attribute.notFound + count: 1 + path: app/Notifications/RequestAssetNotification.php + + - + message: '#^PHPDoc tag @param references unknown parameter\: \$notifiable$#' + identifier: parameter.notFound + count: 1 + path: app/Notifications/RequestAssetNotification.php + + - + message: '#^Property App\\Notifications\\RequestAssetNotification\:\:\$params is unused\.$#' + identifier: property.unused + count: 1 + path: app/Notifications/RequestAssetNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\SendUpcomingAuditNotification\:\:\$assets\.$#' + identifier: property.notFound + count: 4 + path: app/Notifications/SendUpcomingAuditNotification.php + + - + message: '#^Access to an undefined property App\\Notifications\\SendUpcomingAuditNotification\:\:\$threshold\.$#' + identifier: property.notFound + count: 3 + path: app/Notifications/SendUpcomingAuditNotification.php + + - + message: '#^Attribute class App\\Notifications\\AllowDynamicProperties does not exist\.$#' + identifier: attribute.notFound + count: 1 + path: app/Notifications/SendUpcomingAuditNotification.php + + - + message: '#^Access to an undefined property App\\Models\\User\:\:\$expire_date\.$#' + identifier: property.notFound + count: 1 + path: app/Notifications/WelcomeNotification.php + + - + message: '#^Access to an undefined property App\\Models\\User\:\:\$token\.$#' + identifier: property.notFound + count: 1 + path: app/Notifications/WelcomeNotification.php + + - + message: '#^Attribute class App\\Notifications\\AllowDynamicProperties does not exist\.$#' + identifier: attribute.notFound + count: 1 + path: app/Notifications/WelcomeNotification.php + + - + message: '#^Access to an undefined property App\\Models\\Actionlog\:\:\$created_by\.$#' + identifier: property.notFound + count: 3 + path: app/Observers/AccessoryObserver.php + + - + message: '#^Access to an undefined property App\\Models\\Actionlog\:\:\$created_by\.$#' + identifier: property.notFound + count: 4 + path: app/Observers/AssetModelObserver.php + + - + message: '#^Access to an undefined property App\\Models\\Actionlog\:\:\$created_by\.$#' + identifier: property.notFound + count: 4 + path: app/Observers/AssetObserver.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$asset_eol_date\.$#' + identifier: property.notFound + count: 4 + path: app/Observers/AssetObserver.php + + - + message: '#^Using nullsafe property access on non\-nullable type mixed\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: app/Observers/AssetObserver.php + + - + message: '#^Access to an undefined property App\\Models\\Actionlog\:\:\$created_by\.$#' + identifier: property.notFound + count: 3 + path: app/Observers/ComponentObserver.php + + - + message: '#^Access to an undefined property App\\Models\\Actionlog\:\:\$created_by\.$#' + identifier: property.notFound + count: 3 + path: app/Observers/ConsumableObserver.php + + - + message: '#^Access to an undefined property App\\Models\\Consumable\:\:\$uploads\.$#' + identifier: property.notFound + count: 1 + path: app/Observers/ConsumableObserver.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:detach\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Observers/ConsumableObserver.php + + - + message: '#^Access to an undefined property App\\Models\\Actionlog\:\:\$created_by\.$#' + identifier: property.notFound + count: 3 + path: app/Observers/LicenseObserver.php + + - + message: '#^Access to an undefined property App\\Models\\Actionlog\:\:\$created_by\.$#' + identifier: property.notFound + count: 4 + path: app/Observers/LocationObserver.php + + - + message: '#^Access to an undefined property App\\Models\\Actionlog\:\:\$created_by\.$#' + identifier: property.notFound + count: 3 + path: app/Observers/MaintenanceObserver.php + + - + message: '#^Access to an undefined property App\\Models\\Actionlog\:\:\$created_by\.$#' + identifier: property.notFound + count: 4 + path: app/Observers/UserObserver.php + + - + message: '#^Method App\\Policies\\AccessoryPolicy\:\:columnName\(\) should return bool but returns string\.$#' + identifier: return.type + count: 1 + path: app/Policies/AccessoryPolicy.php + + - + message: '#^Method App\\Policies\\AssetModelPolicy\:\:columnName\(\) should return bool but returns string\.$#' + identifier: return.type + count: 1 + path: app/Policies/AssetModelPolicy.php + + - + message: '#^Method App\\Policies\\AssetPolicy\:\:columnName\(\) should return bool but returns string\.$#' + identifier: return.type + count: 1 + path: app/Policies/AssetPolicy.php + + - + message: '#^Method App\\Policies\\CategoryPolicy\:\:columnName\(\) should return bool but returns string\.$#' + identifier: return.type + count: 1 + path: app/Policies/CategoryPolicy.php + + - + message: '#^PHPDoc tag @param for parameter \$user with type App\\User is not subtype of native type App\\Models\\User\.$#' + identifier: parameter.phpDocType + count: 3 + path: app/Policies/CheckoutablePermissionsPolicy.php + + - + message: '#^Parameter \$user of method App\\Policies\\CheckoutablePermissionsPolicy\:\:checkin\(\) has invalid type App\\User\.$#' + identifier: class.notFound + count: 1 + path: app/Policies/CheckoutablePermissionsPolicy.php + + - + message: '#^Parameter \$user of method App\\Policies\\CheckoutablePermissionsPolicy\:\:checkout\(\) has invalid type App\\User\.$#' + identifier: class.notFound + count: 1 + path: app/Policies/CheckoutablePermissionsPolicy.php + + - + message: '#^Parameter \$user of method App\\Policies\\CheckoutablePermissionsPolicy\:\:manage\(\) has invalid type App\\User\.$#' + identifier: class.notFound + count: 1 + path: app/Policies/CheckoutablePermissionsPolicy.php + + - + message: '#^Method App\\Policies\\CompanyPolicy\:\:columnName\(\) should return bool but returns string\.$#' + identifier: return.type + count: 1 + path: app/Policies/CompanyPolicy.php + + - + message: '#^Method App\\Policies\\ComponentPolicy\:\:columnName\(\) should return bool but returns string\.$#' + identifier: return.type + count: 1 + path: app/Policies/ComponentPolicy.php + + - + message: '#^Method App\\Policies\\ConsumablePolicy\:\:columnName\(\) should return bool but returns string\.$#' + identifier: return.type + count: 1 + path: app/Policies/ConsumablePolicy.php + + - + message: '#^Method App\\Policies\\CustomFieldPolicy\:\:columnName\(\) should return bool but returns string\.$#' + identifier: return.type + count: 1 + path: app/Policies/CustomFieldPolicy.php + + - + message: '#^Method App\\Policies\\CustomFieldsetPolicy\:\:columnName\(\) should return bool but returns string\.$#' + identifier: return.type + count: 1 + path: app/Policies/CustomFieldsetPolicy.php + + - + message: '#^Method App\\Policies\\DepartmentPolicy\:\:columnName\(\) should return bool but returns string\.$#' + identifier: return.type + count: 1 + path: app/Policies/DepartmentPolicy.php + + - + message: '#^Method App\\Policies\\DepreciationPolicy\:\:columnName\(\) should return bool but returns string\.$#' + identifier: return.type + count: 1 + path: app/Policies/DepreciationPolicy.php + + - + message: '#^Method App\\Policies\\LicensePolicy\:\:columnName\(\) should return bool but returns string\.$#' + identifier: return.type + count: 1 + path: app/Policies/LicensePolicy.php + + - + message: '#^Method App\\Policies\\LocationPolicy\:\:columnName\(\) should return bool but returns string\.$#' + identifier: return.type + count: 1 + path: app/Policies/LocationPolicy.php + + - + message: '#^Access to an undefined property App\\Models\\Maintenance\:\:\$asset\.$#' + identifier: property.notFound + count: 6 + path: app/Policies/MaintenancePolicy.php + + - + message: '#^Method App\\Policies\\MaintenanceTypePolicy\:\:columnName\(\) should return bool but returns string\.$#' + identifier: return.type + count: 1 + path: app/Policies/MaintenanceTypePolicy.php + + - + message: '#^Method App\\Policies\\ManufacturerPolicy\:\:columnName\(\) should return bool but returns string\.$#' + identifier: return.type + count: 1 + path: app/Policies/ManufacturerPolicy.php + + - + message: '#^Method App\\Policies\\PredefinedKitPolicy\:\:columnName\(\) should return bool but returns string\.$#' + identifier: return.type + count: 1 + path: app/Policies/PredefinedKitPolicy.php + + - + message: '#^Method App\\Policies\\StatuslabelPolicy\:\:columnName\(\) should return bool but returns string\.$#' + identifier: return.type + count: 1 + path: app/Policies/StatuslabelPolicy.php + + - + message: '#^Method App\\Policies\\SupplierPolicy\:\:columnName\(\) should return bool but returns string\.$#' + identifier: return.type + count: 1 + path: app/Policies/SupplierPolicy.php + + - + message: '#^Method App\\Policies\\UserPolicy\:\:columnName\(\) should return bool but returns string\.$#' + identifier: return.type + count: 1 + path: app/Policies/UserPolicy.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$name\.$#' + identifier: property.notFound + count: 1 + path: app/Presenters/AccessoryPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\AccessoryPresenter\:\:\$display_name\.$#' + identifier: property.notFound + count: 2 + path: app/Presenters/AccessoryPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\AccessoryPresenter\:\:\$id\.$#' + identifier: property.notFound + count: 2 + path: app/Presenters/AccessoryPresenter.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$item\.$#' + identifier: property.notFound + count: 3 + path: app/Presenters/ActionlogPresenter.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$target\.$#' + identifier: property.notFound + count: 1 + path: app/Presenters/ActionlogPresenter.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$user\.$#' + identifier: property.notFound + count: 2 + path: app/Presenters/ActionlogPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\ActionlogPresenter\:\:\$action_type\.$#' + identifier: property.notFound + count: 22 + path: app/Presenters/ActionlogPresenter.php + + - + message: '#^Call to an undefined method App\\Presenters\\ActionlogPresenter\:\:itemType\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Presenters/ActionlogPresenter.php + + - + message: '#^Access to an undefined property \$this\(App\\Presenters\\AssetModelPresenter\)\:\:\$name\.$#' + identifier: property.notFound + count: 1 + path: app/Presenters/AssetModelPresenter.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$manufacturer\.$#' + identifier: property.notFound + count: 1 + path: app/Presenters/AssetModelPresenter.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$note\.$#' + identifier: property.notFound + count: 1 + path: app/Presenters/AssetModelPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\AssetModelPresenter\:\:\$deleted_at\.$#' + identifier: property.notFound + count: 2 + path: app/Presenters/AssetModelPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\AssetModelPresenter\:\:\$display_name\.$#' + identifier: property.notFound + count: 2 + path: app/Presenters/AssetModelPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\AssetModelPresenter\:\:\$eol\.$#' + identifier: property.notFound + count: 1 + path: app/Presenters/AssetModelPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\AssetModelPresenter\:\:\$id\.$#' + identifier: property.notFound + count: 3 + path: app/Presenters/AssetModelPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\AssetModelPresenter\:\:\$model_number\.$#' + identifier: property.notFound + count: 1 + path: app/Presenters/AssetModelPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\AssetModelPresenter\:\:\$name\.$#' + identifier: property.notFound + count: 2 + path: app/Presenters/AssetModelPresenter.php + + - + message: '#^Method App\\Presenters\\AssetModelPresenter\:\:note\(\) should return string but return statement is missing\.$#' + identifier: return.missing + count: 1 + path: app/Presenters/AssetModelPresenter.php + + - + message: '#^Access to an undefined property \$this\(App\\Presenters\\AssetPresenter\)\:\:\$name\.$#' + identifier: property.notFound + count: 1 + path: app/Presenters/AssetPresenter.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$asset_tag\.$#' + identifier: property.notFound + count: 1 + path: app/Presenters/AssetPresenter.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$assigned\.$#' + identifier: property.notFound + count: 2 + path: app/Presenters/AssetPresenter.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$assigned_to\.$#' + identifier: property.notFound + count: 1 + path: app/Presenters/AssetPresenter.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$model\.$#' + identifier: property.notFound + count: 3 + path: app/Presenters/AssetPresenter.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$name\.$#' + identifier: property.notFound + count: 2 + path: app/Presenters/AssetPresenter.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$status\.$#' + identifier: property.notFound + count: 4 + path: app/Presenters/AssetPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\AssetPresenter\:\:\$asset_tag\.$#' + identifier: property.notFound + count: 3 + path: app/Presenters/AssetPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\AssetPresenter\:\:\$deleted_at\.$#' + identifier: property.notFound + count: 4 + path: app/Presenters/AssetPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\AssetPresenter\:\:\$display_name\.$#' + identifier: property.notFound + count: 4 + path: app/Presenters/AssetPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\AssetPresenter\:\:\$fullName\.$#' + identifier: property.notFound + count: 1 + path: app/Presenters/AssetPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\AssetPresenter\:\:\$id\.$#' + identifier: property.notFound + count: 4 + path: app/Presenters/AssetPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\AssetPresenter\:\:\$image\.$#' + identifier: property.notFound + count: 2 + path: app/Presenters/AssetPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\AssetPresenter\:\:\$purchase_date\.$#' + identifier: property.notFound + count: 2 + path: app/Presenters/AssetPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\AssetPresenter\:\:\$status\.$#' + identifier: property.notFound + count: 1 + path: app/Presenters/AssetPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\AssetPresenter\:\:\$warranty_months\.$#' + identifier: property.notFound + count: 1 + path: app/Presenters/AssetPresenter.php + + - + message: '#^Method App\\Presenters\\AssetPresenter\:\:eol_date\(\) should return string\|false but return statement is missing\.$#' + identifier: return.missing + count: 1 + path: app/Presenters/AssetPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\CategoryPresenter\:\:\$deleted_at\.$#' + identifier: property.notFound + count: 2 + path: app/Presenters/CategoryPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\CategoryPresenter\:\:\$display_name\.$#' + identifier: property.notFound + count: 3 + path: app/Presenters/CategoryPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\CategoryPresenter\:\:\$id\.$#' + identifier: property.notFound + count: 3 + path: app/Presenters/CategoryPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\CategoryPresenter\:\:\$name\.$#' + identifier: property.notFound + count: 1 + path: app/Presenters/CategoryPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\CategoryPresenter\:\:\$tag_color\.$#' + identifier: property.notFound + count: 2 + path: app/Presenters/CategoryPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\CompanyPresenter\:\:\$display_name\.$#' + identifier: property.notFound + count: 4 + path: app/Presenters/CompanyPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\CompanyPresenter\:\:\$id\.$#' + identifier: property.notFound + count: 3 + path: app/Presenters/CompanyPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\CompanyPresenter\:\:\$tag_color\.$#' + identifier: property.notFound + count: 2 + path: app/Presenters/CompanyPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\ComponentPresenter\:\:\$display_name\.$#' + identifier: property.notFound + count: 2 + path: app/Presenters/ComponentPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\ComponentPresenter\:\:\$id\.$#' + identifier: property.notFound + count: 2 + path: app/Presenters/ComponentPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\ConsumablePresenter\:\:\$id\.$#' + identifier: property.notFound + count: 2 + path: app/Presenters/ConsumablePresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\ConsumablePresenter\:\:\$name\.$#' + identifier: property.notFound + count: 1 + path: app/Presenters/ConsumablePresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\CustomFieldsetPresenter\:\:\$display_name\.$#' + identifier: property.notFound + count: 2 + path: app/Presenters/CustomFieldsetPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\CustomFieldsetPresenter\:\:\$id\.$#' + identifier: property.notFound + count: 1 + path: app/Presenters/CustomFieldsetPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\DepartmentPresenter\:\:\$display_name\.$#' + identifier: property.notFound + count: 4 + path: app/Presenters/DepartmentPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\DepartmentPresenter\:\:\$id\.$#' + identifier: property.notFound + count: 3 + path: app/Presenters/DepartmentPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\DepartmentPresenter\:\:\$name\.$#' + identifier: property.notFound + count: 2 + path: app/Presenters/DepartmentPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\DepartmentPresenter\:\:\$tag_color\.$#' + identifier: property.notFound + count: 2 + path: app/Presenters/DepartmentPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\DepreciationPresenter\:\:\$display_name\.$#' + identifier: property.notFound + count: 3 + path: app/Presenters/DepreciationPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\DepreciationPresenter\:\:\$id\.$#' + identifier: property.notFound + count: 1 + path: app/Presenters/DepreciationPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\DepreciationPresenter\:\:\$tag_color\.$#' + identifier: property.notFound + count: 1 + path: app/Presenters/DepreciationPresenter.php + + - + message: '#^Access to an undefined property \$this\(App\\Presenters\\DepreciationReportPresenter\)\:\:\$name\.$#' + identifier: property.notFound + count: 1 + path: app/Presenters/DepreciationReportPresenter.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$asset_tag\.$#' + identifier: property.notFound + count: 1 + path: app/Presenters/DepreciationReportPresenter.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$assigned\.$#' + identifier: property.notFound + count: 3 + path: app/Presenters/DepreciationReportPresenter.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$model\.$#' + identifier: property.notFound + count: 3 + path: app/Presenters/DepreciationReportPresenter.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$name\.$#' + identifier: property.notFound + count: 2 + path: app/Presenters/DepreciationReportPresenter.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$status\.$#' + identifier: property.notFound + count: 4 + path: app/Presenters/DepreciationReportPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\DepreciationReportPresenter\:\:\$asset_tag\.$#' + identifier: property.notFound + count: 1 + path: app/Presenters/DepreciationReportPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\DepreciationReportPresenter\:\:\$display_name\.$#' + identifier: property.notFound + count: 2 + path: app/Presenters/DepreciationReportPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\DepreciationReportPresenter\:\:\$fullName\.$#' + identifier: property.notFound + count: 1 + path: app/Presenters/DepreciationReportPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\DepreciationReportPresenter\:\:\$id\.$#' + identifier: property.notFound + count: 2 + path: app/Presenters/DepreciationReportPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\DepreciationReportPresenter\:\:\$image\.$#' + identifier: property.notFound + count: 2 + path: app/Presenters/DepreciationReportPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\DepreciationReportPresenter\:\:\$purchase_date\.$#' + identifier: property.notFound + count: 2 + path: app/Presenters/DepreciationReportPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\DepreciationReportPresenter\:\:\$status\.$#' + identifier: property.notFound + count: 1 + path: app/Presenters/DepreciationReportPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\DepreciationReportPresenter\:\:\$warranty_months\.$#' + identifier: property.notFound + count: 1 + path: app/Presenters/DepreciationReportPresenter.php + + - + message: '#^Method App\\Presenters\\DepreciationReportPresenter\:\:eol_date\(\) should return string\|false but return statement is missing\.$#' + identifier: return.missing + count: 1 + path: app/Presenters/DepreciationReportPresenter.php + + - + message: '#^Variable \$imageAlt might not be defined\.$#' + identifier: variable.undefined + count: 1 + path: app/Presenters/DepreciationReportPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\LicensePresenter\:\:\$display_name\.$#' + identifier: property.notFound + count: 2 + path: app/Presenters/LicensePresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\LicensePresenter\:\:\$id\.$#' + identifier: property.notFound + count: 2 + path: app/Presenters/LicensePresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\LicensePresenter\:\:\$name\.$#' + identifier: property.notFound + count: 1 + path: app/Presenters/LicensePresenter.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$license\.$#' + identifier: property.notFound + count: 1 + path: app/Presenters/LicenseSeatPresenter.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$name\.$#' + identifier: property.notFound + count: 1 + path: app/Presenters/LocationPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\LocationPresenter\:\:\$display_name\.$#' + identifier: property.notFound + count: 4 + path: app/Presenters/LocationPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\LocationPresenter\:\:\$id\.$#' + identifier: property.notFound + count: 3 + path: app/Presenters/LocationPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\LocationPresenter\:\:\$name\.$#' + identifier: property.notFound + count: 1 + path: app/Presenters/LocationPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\LocationPresenter\:\:\$tag_color\.$#' + identifier: property.notFound + count: 2 + path: app/Presenters/LocationPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\ManufacturerPresenter\:\:\$display_name\.$#' + identifier: property.notFound + count: 4 + path: app/Presenters/ManufacturerPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\ManufacturerPresenter\:\:\$id\.$#' + identifier: property.notFound + count: 3 + path: app/Presenters/ManufacturerPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\ManufacturerPresenter\:\:\$tag_color\.$#' + identifier: property.notFound + count: 2 + path: app/Presenters/ManufacturerPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\PredefinedKitPresenter\:\:\$display_name\.$#' + identifier: property.notFound + count: 2 + path: app/Presenters/PredefinedKitPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\PredefinedKitPresenter\:\:\$id\.$#' + identifier: property.notFound + count: 2 + path: app/Presenters/PredefinedKitPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\PredefinedKitPresenter\:\:\$name\.$#' + identifier: property.notFound + count: 1 + path: app/Presenters/PredefinedKitPresenter.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$address\.$#' + identifier: property.notFound + count: 1 + path: app/Presenters/Presenter.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$address2\.$#' + identifier: property.notFound + count: 1 + path: app/Presenters/Presenter.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$city\.$#' + identifier: property.notFound + count: 1 + path: app/Presenters/Presenter.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$company\.$#' + identifier: property.notFound + count: 1 + path: app/Presenters/Presenter.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$country\.$#' + identifier: property.notFound + count: 1 + path: app/Presenters/Presenter.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$location\.$#' + identifier: property.notFound + count: 1 + path: app/Presenters/Presenter.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$model\.$#' + identifier: property.notFound + count: 4 + path: app/Presenters/Presenter.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$state\.$#' + identifier: property.notFound + count: 1 + path: app/Presenters/Presenter.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$zip\.$#' + identifier: property.notFound + count: 1 + path: app/Presenters/Presenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\Presenter\:\:\$model_name\.$#' + identifier: property.notFound + count: 1 + path: app/Presenters/Presenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\Presenter\:\:\$model_number\.$#' + identifier: property.notFound + count: 1 + path: app/Presenters/Presenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\Presenter\:\:\$serial\.$#' + identifier: property.notFound + count: 1 + path: app/Presenters/Presenter.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$name\.$#' + identifier: property.notFound + count: 1 + path: app/Presenters/SupplierPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\SupplierPresenter\:\:\$display_name\.$#' + identifier: property.notFound + count: 4 + path: app/Presenters/SupplierPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\SupplierPresenter\:\:\$id\.$#' + identifier: property.notFound + count: 3 + path: app/Presenters/SupplierPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\SupplierPresenter\:\:\$name\.$#' + identifier: property.notFound + count: 3 + path: app/Presenters/SupplierPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\SupplierPresenter\:\:\$tag_color\.$#' + identifier: property.notFound + count: 2 + path: app/Presenters/SupplierPresenter.php + + - + message: '#^Access to an undefined property App\\Models\\SnipeModel\:\:\$gravatar\.$#' + identifier: property.notFound + count: 1 + path: app/Presenters/UserPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\UserPresenter\:\:\$avatar\.$#' + identifier: property.notFound + count: 3 + path: app/Presenters/UserPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\UserPresenter\:\:\$deleted_at\.$#' + identifier: property.notFound + count: 2 + path: app/Presenters/UserPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\UserPresenter\:\:\$display_name\.$#' + identifier: property.notFound + count: 5 + path: app/Presenters/UserPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\UserPresenter\:\:\$email\.$#' + identifier: property.notFound + count: 2 + path: app/Presenters/UserPresenter.php + + - + message: '#^Access to an undefined property App\\Presenters\\UserPresenter\:\:\$id\.$#' + identifier: property.notFound + count: 3 + path: app/Presenters/UserPresenter.php + + - + message: '#^Call to an undefined method App\\Presenters\\UserPresenter\:\:isAvatarExternal\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Presenters/UserPresenter.php + + - + message: '#^Loose comparison using \=\= between ''''\|null and '''' will always evaluate to true\.$#' + identifier: equal.alwaysTrue + count: 1 + path: app/Presenters/UserPresenter.php + + - + message: '#^Method App\\Presenters\\UserPresenter\:\:gravatar\(\) should return string but returns false\.$#' + identifier: return.type + count: 1 + path: app/Presenters/UserPresenter.php + + - + message: '#^Called ''env'' outside of the config directory which returns null when the config is cached, use ''config''\.$#' + identifier: larastan.noEnvCallsOutsideOfConfig + count: 3 + path: app/Providers/AppServiceProvider.php + + - + message: '#^PHPDoc type array of property App\\Providers\\AuthServiceProvider\:\:\$policies is not covariant with PHPDoc type array\ of overridden property Illuminate\\Foundation\\Support\\Providers\\AuthServiceProvider\:\:\$policies\.$#' + identifier: property.phpDocType + count: 1 + path: app/Providers/AuthServiceProvider.php + + - + message: '#^Right side of \|\| is always false\.$#' + identifier: booleanOr.rightAlwaysFalse + count: 1 + path: app/Providers/AuthServiceProvider.php + + - + message: '#^Access to an undefined property App\\Models\\Accessory\:\:\$display_name\.$#' + identifier: property.notFound + count: 1 + path: app/Providers/BreadcrumbsServiceProvider.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$display_name\.$#' + identifier: property.notFound + count: 2 + path: app/Providers/BreadcrumbsServiceProvider.php + + - + message: '#^Access to an undefined property App\\Models\\AssetModel\:\:\$display_name\.$#' + identifier: property.notFound + count: 1 + path: app/Providers/BreadcrumbsServiceProvider.php + + - + message: '#^Access to an undefined property App\\Models\\Category\:\:\$display_name\.$#' + identifier: property.notFound + count: 1 + path: app/Providers/BreadcrumbsServiceProvider.php + + - + message: '#^Access to an undefined property App\\Models\\Company\:\:\$display_name\.$#' + identifier: property.notFound + count: 1 + path: app/Providers/BreadcrumbsServiceProvider.php + + - + message: '#^Access to an undefined property App\\Models\\Company\:\:\$parent\.$#' + identifier: property.notFound + count: 1 + path: app/Providers/BreadcrumbsServiceProvider.php + + - + message: '#^Access to an undefined property App\\Models\\Component\:\:\$display_name\.$#' + identifier: property.notFound + count: 2 + path: app/Providers/BreadcrumbsServiceProvider.php + + - + message: '#^Access to an undefined property App\\Models\\Consumable\:\:\$display_name\.$#' + identifier: property.notFound + count: 1 + path: app/Providers/BreadcrumbsServiceProvider.php + + - + message: '#^Access to an undefined property App\\Models\\CustomFieldset\:\:\$display_name\.$#' + identifier: property.notFound + count: 1 + path: app/Providers/BreadcrumbsServiceProvider.php + + - + message: '#^Access to an undefined property App\\Models\\Department\:\:\$display_name\.$#' + identifier: property.notFound + count: 1 + path: app/Providers/BreadcrumbsServiceProvider.php + + - + message: '#^Access to an undefined property App\\Models\\Depreciation\:\:\$display_name\.$#' + identifier: property.notFound + count: 1 + path: app/Providers/BreadcrumbsServiceProvider.php + + - + message: '#^Access to an undefined property App\\Models\\Group\:\:\$display_name\.$#' + identifier: property.notFound + count: 1 + path: app/Providers/BreadcrumbsServiceProvider.php + + - + message: '#^Access to an undefined property App\\Models\\License\:\:\$display_name\.$#' + identifier: property.notFound + count: 1 + path: app/Providers/BreadcrumbsServiceProvider.php + + - + message: '#^Access to an undefined property App\\Models\\Maintenance\:\:\$display_name\.$#' + identifier: property.notFound + count: 1 + path: app/Providers/BreadcrumbsServiceProvider.php + + - + message: '#^Access to an undefined property App\\Models\\PredefinedKit\:\:\$display_name\.$#' + identifier: property.notFound + count: 1 + path: app/Providers/BreadcrumbsServiceProvider.php + + - + message: '#^Access to an undefined property App\\Models\\Statuslabel\:\:\$display_name\.$#' + identifier: property.notFound + count: 1 + path: app/Providers/BreadcrumbsServiceProvider.php + + - + message: '#^Access to an undefined property App\\Models\\Supplier\:\:\$display_name\.$#' + identifier: property.notFound + count: 1 + path: app/Providers/BreadcrumbsServiceProvider.php + + - + message: '#^Access to an undefined property App\\Models\\User\:\:\$display_name\.$#' + identifier: property.notFound + count: 1 + path: app/Providers/BreadcrumbsServiceProvider.php + + - + message: '#^Cannot access property \$component_id on array\\|object\.$#' + identifier: property.nonObject + count: 1 + path: app/Providers/BreadcrumbsServiceProvider.php + + - + message: '#^PHPDoc type array of property App\\Providers\\EventServiceProvider\:\:\$listen is not covariant with PHPDoc type array\\> of overridden property Illuminate\\Foundation\\Support\\Providers\\EventServiceProvider\:\:\$listen\.$#' + identifier: property.phpDocType + count: 1 + path: app/Providers/EventServiceProvider.php + + - + message: '#^Call to function is_array\(\) with mixed will always evaluate to false\.$#' + identifier: function.impossibleType + count: 1 + path: app/Providers/ValidationServiceProvider.php + + - + message: '#^Using nullsafe property access "\?\-\>name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 2 + path: app/Providers/ValidationServiceProvider.php + + - + message: '#^Call to function is_null\(\) with App\\Models\\User will always evaluate to false\.$#' + identifier: function.impossibleType + count: 1 + path: app/Services/PredefinedKitCheckoutService.php + + - + message: '#^Call to method getMessage\(\) on an unknown class App\\Services\\CheckoutNotAllowed\.$#' + identifier: class.notFound + count: 1 + path: app/Services/PredefinedKitCheckoutService.php + + - + message: '#^Call to method getMessage\(\) on an unknown class App\\Services\\ModelNotFoundException\.$#' + identifier: class.notFound + count: 1 + path: app/Services/PredefinedKitCheckoutService.php + + - + message: '#^Caught class App\\Services\\CheckoutNotAllowed not found\.$#' + identifier: class.notFound + count: 1 + path: app/Services/PredefinedKitCheckoutService.php + + - + message: '#^Caught class App\\Services\\ModelNotFoundException not found\.$#' + identifier: class.notFound + count: 1 + path: app/Services/PredefinedKitCheckoutService.php + + - + message: '#^Call to method getAttributes\(\) on an unknown class App\\Services\\OneLogin\\Saml2\\Auth\.$#' + identifier: class.notFound + count: 1 + path: app/Services/Saml.php + + - + message: '#^Call to method getAttributesWithFriendlyName\(\) on an unknown class App\\Services\\OneLogin\\Saml2\\Auth\.$#' + identifier: class.notFound + count: 1 + path: app/Services/Saml.php + + - + message: '#^Call to method getLastAssertionId\(\) on an unknown class App\\Services\\OneLogin\\Saml2\\Auth\.$#' + identifier: class.notFound + count: 1 + path: app/Services/Saml.php + + - + message: '#^Call to method getLastAssertionNotOnOrAfter\(\) on an unknown class App\\Services\\OneLogin\\Saml2\\Auth\.$#' + identifier: class.notFound + count: 1 + path: app/Services/Saml.php + + - + message: '#^Call to method getNameId\(\) on an unknown class App\\Services\\OneLogin\\Saml2\\Auth\.$#' + identifier: class.notFound + count: 1 + path: app/Services/Saml.php + + - + message: '#^Call to method getNameIdFormat\(\) on an unknown class App\\Services\\OneLogin\\Saml2\\Auth\.$#' + identifier: class.notFound + count: 1 + path: app/Services/Saml.php + + - + message: '#^Call to method getNameIdNameQualifier\(\) on an unknown class App\\Services\\OneLogin\\Saml2\\Auth\.$#' + identifier: class.notFound + count: 1 + path: app/Services/Saml.php + + - + message: '#^Call to method getNameIdSPNameQualifier\(\) on an unknown class App\\Services\\OneLogin\\Saml2\\Auth\.$#' + identifier: class.notFound + count: 1 + path: app/Services/Saml.php + + - + message: '#^Call to method getSessionExpiration\(\) on an unknown class App\\Services\\OneLogin\\Saml2\\Auth\.$#' + identifier: class.notFound + count: 1 + path: app/Services/Saml.php + + - + message: '#^Call to method getSessionIndex\(\) on an unknown class App\\Services\\OneLogin\\Saml2\\Auth\.$#' + identifier: class.notFound + count: 1 + path: app/Services/Saml.php + + - + message: '#^Method App\\Services\\Saml\:\:getAuth\(\) has invalid return type App\\Services\\OneLogin\\Saml2\\Auth\.$#' + identifier: class.notFound + count: 1 + path: app/Services/Saml.php + + - + message: '#^Method App\\Services\\Saml\:\:saveDataToSession\(\) with return type void returns null but should not return anything\.$#' + identifier: return.void + count: 1 + path: app/Services/Saml.php + + - + message: '#^PHPDoc tag @throws with type App\\Services\\Error\|Exception is not subtype of Throwable$#' + identifier: throws.notThrowable + count: 1 + path: app/Services/Saml.php + + - + message: '#^Property App\\Services\\Saml\:\:\$_auth \(App\\Services\\OneLogin\\Saml2\\Auth\) does not accept OneLogin\\Saml2\\Auth\.$#' + identifier: assign.propertyType + count: 1 + path: app/Services/Saml.php + + - + message: '#^Property App\\Services\\Saml\:\:\$_auth has unknown class App\\Services\\OneLogin\\Saml2\\Auth as its type\.$#' + identifier: class.notFound + count: 1 + path: app/Services/Saml.php + + - + message: '#^Expression on left side of \?\? is not nullable\.$#' + identifier: nullCoalesce.expr + count: 2 + path: app/View/Label.php + + - + message: '#^Method App\\View\\Label\:\:getData\(\) should return array but returns Illuminate\\Support\\Collection\.$#' + identifier: return.type + count: 1 + path: app/View/Label.php + + - + message: '#^Method App\\View\\Label\:\:render\(\) should return string but return statement is missing\.$#' + identifier: return.missing + count: 1 + path: app/View/Label.php + + - + message: '#^Class App\\User not found\.$#' + identifier: class.notFound + count: 1 + path: config/services.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$category\.$#' + identifier: property.notFound + count: 2 + path: database/factories/AccessoryFactory.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#' + identifier: property.notFound + count: 3 + path: database/factories/AccessoryFactory.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:checkouts\(\)\.$#' + identifier: method.notFound + count: 1 + path: database/factories/AccessoryFactory.php + + - + message: '#^PHPDoc type string of property Database\\Factories\\AccessoryFactory\:\:\$model is not covariant with PHPDoc type class\-string\ of overridden property Illuminate\\Database\\Eloquent\\Factories\\Factory\\:\:\$model\.$#' + identifier: property.phpDocType + count: 1 + path: database/factories/AccessoryFactory.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#' + identifier: property.notFound + count: 2 + path: database/factories/ActionlogFactory.php + + - + message: '#^PHPDoc type string of property Database\\Factories\\ActionlogFactory\:\:\$model is not covariant with PHPDoc type class\-string\ of overridden property Illuminate\\Database\\Eloquent\\Factories\\Factory\\:\:\$model\.$#' + identifier: property.phpDocType + count: 1 + path: database/factories/ActionlogFactory.php + + - + message: '#^Using nullsafe property access "\?\-\>id" on left side of \?\? is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: database/factories/ActionlogFactory.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$asset_eol_date\.$#' + identifier: property.notFound + count: 1 + path: database/factories/AssetFactory.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#' + identifier: property.notFound + count: 2 + path: database/factories/AssetFactory.php + + - + message: '#^PHPDoc type string of property Database\\Factories\\AssetFactory\:\:\$model is not covariant with PHPDoc type class\-string\ of overridden property Illuminate\\Database\\Eloquent\\Factories\\Factory\\:\:\$model\.$#' + identifier: property.phpDocType + count: 1 + path: database/factories/AssetFactory.php + + - + message: '#^Using nullsafe property access "\?\-\>eol" on left side of \?\? is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: database/factories/AssetFactory.php + + - + message: '#^Call to an undefined method Faker\\Generator\:\:catchPhrase\(\)\.$#' + identifier: method.notFound + count: 1 + path: database/factories/AssetModelFactory.php + + - + message: '#^PHPDoc type string of property Database\\Factories\\AssetModelFactory\:\:\$model is not covariant with PHPDoc type class\-string\ of overridden property Illuminate\\Database\\Eloquent\\Factories\\Factory\\:\:\$model\.$#' + identifier: property.phpDocType + count: 1 + path: database/factories/AssetModelFactory.php + + - + message: '#^Call to an undefined method Faker\\Generator\:\:catchPhrase\(\)\.$#' + identifier: method.notFound + count: 1 + path: database/factories/CategoryFactory.php + + - + message: '#^PHPDoc type string of property Database\\Factories\\CategoryFactory\:\:\$model is not covariant with PHPDoc type class\-string\ of overridden property Illuminate\\Database\\Eloquent\\Factories\\Factory\\:\:\$model\.$#' + identifier: property.phpDocType + count: 1 + path: database/factories/CategoryFactory.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:assetlog\(\)\.$#' + identifier: method.notFound + count: 1 + path: database/factories/CheckoutAcceptanceFactory.php + + - + message: '#^PHPDoc type string of property Database\\Factories\\CompanyFactory\:\:\$model is not covariant with PHPDoc type class\-string\ of overridden property Illuminate\\Database\\Eloquent\\Factories\\Factory\\:\:\$model\.$#' + identifier: property.phpDocType + count: 1 + path: database/factories/CompanyFactory.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#' + identifier: property.notFound + count: 5 + path: database/factories/ComponentFactory.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:attach\(\)\.$#' + identifier: method.notFound + count: 1 + path: database/factories/ComponentFactory.php + + - + message: '#^PHPDoc type string of property Database\\Factories\\ComponentFactory\:\:\$model is not covariant with PHPDoc type class\-string\ of overridden property Illuminate\\Database\\Eloquent\\Factories\\Factory\\:\:\$model\.$#' + identifier: property.phpDocType + count: 1 + path: database/factories/ComponentFactory.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:attach\(\)\.$#' + identifier: method.notFound + count: 2 + path: database/factories/ConsumableFactory.php + + - + message: '#^PHPDoc type string of property Database\\Factories\\ConsumableFactory\:\:\$model is not covariant with PHPDoc type class\-string\ of overridden property Illuminate\\Database\\Eloquent\\Factories\\Factory\\:\:\$model\.$#' + identifier: property.phpDocType + count: 1 + path: database/factories/ConsumableFactory.php + + - + message: '#^Call to an undefined method Faker\\Generator\:\:catchPhrase\(\)\.$#' + identifier: method.notFound + count: 1 + path: database/factories/CustomFieldFactory.php + + - + message: '#^PHPDoc type string of property Database\\Factories\\CustomFieldFactory\:\:\$model is not covariant with PHPDoc type class\-string\ of overridden property Illuminate\\Database\\Eloquent\\Factories\\Factory\\:\:\$model\.$#' + identifier: property.phpDocType + count: 1 + path: database/factories/CustomFieldFactory.php + + - + message: '#^Call to an undefined method Faker\\Generator\:\:catchPhrase\(\)\.$#' + identifier: method.notFound + count: 1 + path: database/factories/CustomFieldsetFactory.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:attach\(\)\.$#' + identifier: method.notFound + count: 5 + path: database/factories/CustomFieldsetFactory.php + + - + message: '#^PHPDoc type string of property Database\\Factories\\CustomFieldsetFactory\:\:\$model is not covariant with PHPDoc type class\-string\ of overridden property Illuminate\\Database\\Eloquent\\Factories\\Factory\\:\:\$model\.$#' + identifier: property.phpDocType + count: 1 + path: database/factories/CustomFieldsetFactory.php + + - + message: '#^PHPDoc type string of property Database\\Factories\\DepartmentFactory\:\:\$model is not covariant with PHPDoc type class\-string\ of overridden property Illuminate\\Database\\Eloquent\\Factories\\Factory\\:\:\$model\.$#' + identifier: property.phpDocType + count: 1 + path: database/factories/DepartmentFactory.php + + - + message: '#^Call to an undefined method Faker\\Generator\:\:catchPhrase\(\)\.$#' + identifier: method.notFound + count: 1 + path: database/factories/DepreciationFactory.php + + - + message: '#^PHPDoc type string of property Database\\Factories\\DepreciationFactory\:\:\$model is not covariant with PHPDoc type class\-string\ of overridden property Illuminate\\Database\\Eloquent\\Factories\\Factory\\:\:\$model\.$#' + identifier: property.phpDocType + count: 1 + path: database/factories/DepreciationFactory.php + + - + message: '#^PHPDoc type string of property Database\\Factories\\GroupFactory\:\:\$model is not covariant with PHPDoc type class\-string\ of overridden property Illuminate\\Database\\Eloquent\\Factories\\Factory\\:\:\$model\.$#' + identifier: property.phpDocType + count: 1 + path: database/factories/GroupFactory.php + + - + message: '#^PHPDoc type string of property Database\\Factories\\LicenseFactory\:\:\$model is not covariant with PHPDoc type class\-string\ of overridden property Illuminate\\Database\\Eloquent\\Factories\\Factory\\:\:\$model\.$#' + identifier: property.phpDocType + count: 1 + path: database/factories/LicenseFactory.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$license\.$#' + identifier: property.notFound + count: 1 + path: database/factories/LicenseSeatFactory.php + + - + message: '#^Call to an undefined method Faker\\Generator\:\:secondaryAddress\(\)\.$#' + identifier: method.notFound + count: 1 + path: database/factories/LocationFactory.php + + - + message: '#^Call to an undefined method Faker\\Generator\:\:stateAbbr\(\)\.$#' + identifier: method.notFound + count: 1 + path: database/factories/LocationFactory.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$location_id\.$#' + identifier: property.notFound + count: 1 + path: database/factories/MaintenanceFactory.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#' + identifier: property.notFound + count: 1 + path: database/factories/MaintenanceFactory.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$name\.$#' + identifier: property.notFound + count: 1 + path: database/factories/MaintenanceFactory.php + + - + message: '#^PHPDoc type string of property Database\\Factories\\MaintenanceFactory\:\:\$model is not covariant with PHPDoc type class\-string\ of overridden property Illuminate\\Database\\Eloquent\\Factories\\Factory\\:\:\$model\.$#' + identifier: property.phpDocType + count: 1 + path: database/factories/MaintenanceFactory.php + + - + message: '#^PHPDoc type string of property Database\\Factories\\ManufacturerFactory\:\:\$model is not covariant with PHPDoc type class\-string\ of overridden property Illuminate\\Database\\Eloquent\\Factories\\Factory\\:\:\$model\.$#' + identifier: property.phpDocType + count: 1 + path: database/factories/ManufacturerFactory.php + + - + message: '#^PHPDoc type string of property Database\\Factories\\SettingFactory\:\:\$model is not covariant with PHPDoc type class\-string\ of overridden property Illuminate\\Database\\Eloquent\\Factories\\Factory\\:\:\$model\.$#' + identifier: property.phpDocType + count: 1 + path: database/factories/SettingFactory.php + + - + message: '#^PHPDoc type string of property Database\\Factories\\StatuslabelFactory\:\:\$model is not covariant with PHPDoc type class\-string\ of overridden property Illuminate\\Database\\Eloquent\\Factories\\Factory\\:\:\$model\.$#' + identifier: property.phpDocType + count: 1 + path: database/factories/StatuslabelFactory.php + + - + message: '#^Call to an undefined method Faker\\Generator\:\:postCode\(\)\.$#' + identifier: method.notFound + count: 1 + path: database/factories/SupplierFactory.php + + - + message: '#^Call to an undefined method Faker\\Generator\:\:secondaryAddress\(\)\.$#' + identifier: method.notFound + count: 1 + path: database/factories/SupplierFactory.php + + - + message: '#^Call to an undefined method Faker\\Generator\:\:stateAbbr\(\)\.$#' + identifier: method.notFound + count: 1 + path: database/factories/SupplierFactory.php + + - + message: '#^PHPDoc type string of property Database\\Factories\\SupplierFactory\:\:\$model is not covariant with PHPDoc type class\-string\ of overridden property Illuminate\\Database\\Eloquent\\Factories\\Factory\\:\:\$model\.$#' + identifier: property.phpDocType + count: 1 + path: database/factories/SupplierFactory.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#' + identifier: property.notFound + count: 1 + path: database/factories/UserFactory.php + + - + message: '#^Call to an undefined method Faker\\Generator\:\:stateAbbr\(\)\.$#' + identifier: method.notFound + count: 1 + path: database/factories/UserFactory.php + + - + message: '#^Call to an undefined method Faker\\Generator\:\:username\(\)\.$#' + identifier: method.notFound + count: 1 + path: database/factories/UserFactory.php + + - + message: '#^Variable \$pending_id might not be defined\.$#' + identifier: variable.undefined + count: 1 + path: database/migrations/2015_02_10_053310_migrate_data_to_new_statuses.php + + - + message: '#^Variable \$rtd_id might not be defined\.$#' + identifier: variable.undefined + count: 1 + path: database/migrations/2015_02_10_053310_migrate_data_to_new_statuses.php + + - + message: '#^Property AddThreadIdToAssetLogsTable\:\:\$actionlog has unknown class Actionlog as its type\.$#' + identifier: class.notFound + count: 1 + path: database/migrations/2015_07_29_230054_add_thread_id_to_asset_logs_table.php + + - + message: '#^Property AddThreadIdToAssetLogsTable\:\:\$actionlog is unused\.$#' + identifier: property.unused + count: 1 + path: database/migrations/2015_07_29_230054_add_thread_id_to_asset_logs_table.php + + - + message: '#^Property AddThreadIdToAssetLogsTable\:\:\$currentAssetId \(int\) does not accept null\.$#' + identifier: assign.propertyType + count: 1 + path: database/migrations/2015_07_29_230054_add_thread_id_to_asset_logs_table.php + + - + message: '#^Property AddThreadIdToAssetLogsTable\:\:\$currentAssetLogId \(int\) does not accept null\.$#' + identifier: assign.propertyType + count: 1 + path: database/migrations/2015_07_29_230054_add_thread_id_to_asset_logs_table.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:attach\(\)\.$#' + identifier: method.notFound + count: 1 + path: database/migrations/2015_09_22_003413_migrate_mac_address.php + + - + message: '#^Result of static method Illuminate\\Support\\Facades\\Schema\:\:table\(\) \(void\) is used\.$#' + identifier: staticMethod.void + count: 1 + path: database/migrations/2015_09_22_003413_migrate_mac_address.php + + - + message: '#^Property App\\Models\\Setting\:\:\$ldap_enabled \(string\|null\) does not accept int\.$#' + identifier: assign.propertyType + count: 1 + path: database/migrations/2015_11_26_195528_import_ldap_settings.php + + - + message: '#^Called ''first'' on Laravel collection, but could have been retrieved as a query\.$#' + identifier: larastan.noUnnecessaryCollectionCall + count: 1 + path: database/migrations/2016_11_01_030818_fix_forgotten_filename_in_action_logs.php + + - + message: '#^Method MakeAssetAssignedToPolymorphic\:\:down\(\) has invalid return type voidatom\.$#' + identifier: class.notFound + count: 1 + path: database/migrations/2016_12_27_212631_make_asset_assigned_to_polymorphic.php + + - + message: '#^Method MakeAssetAssignedToPolymorphic\:\:down\(\) should return voidatom but return statement is missing\.$#' + identifier: return.missing + count: 1 + path: database/migrations/2016_12_27_212631_make_asset_assigned_to_polymorphic.php + + - + message: '#^Function updateLegacyColumnName\(\) should return array but return statement is missing\.$#' + identifier: return.missing + count: 1 + path: database/migrations/2017_01_25_063357_fix_utf8_custom_field_column_names.php + + - + message: '#^Function updateLegacyColumnName\(\) should return array but returns null\.$#' + identifier: return.type + count: 1 + path: database/migrations/2017_01_25_063357_fix_utf8_custom_field_column_names.php + + - + message: '#^Result of static method Illuminate\\Support\\Facades\\Schema\:\:table\(\) \(void\) is used\.$#' + identifier: staticMethod.void + count: 1 + path: database/migrations/2017_01_25_063357_fix_utf8_custom_field_column_names.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$last_audit_date\.$#' + identifier: property.notFound + count: 1 + path: database/migrations/2017_12_26_170856_re_normalize_last_audit.php + + - + message: '#^If condition is always true\.$#' + identifier: if.alwaysTrue + count: 1 + path: database/migrations/2017_12_26_170856_re_normalize_last_audit.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Schema\\IndexDefinition\:\:unique\(\)\.$#' + identifier: method.notFound + count: 1 + path: database/migrations/2018_03_29_070121_add_drop_unique_requests.php + + - + message: '#^Property App\\Models\\Setting\:\:\$ad_append_domain \(bool\) does not accept int\.$#' + identifier: assign.propertyType + count: 1 + path: database/migrations/2020_02_04_172100_add_ad_append_domain_settings.php + + - + message: '#^Method Illuminate\\Database\\Schema\\Blueprint\:\:text\(\) invoked with 2 parameters, 1 required\.$#' + identifier: arguments.count + count: 2 + path: database/migrations/2021_12_27_151849_change_supplier_address_length.php + + - + message: '#^Access to an undefined property App\\Models\\Actionlog\:\:\$stored_eula_file\.$#' + identifier: property.notFound + count: 1 + path: database/migrations/2022_05_16_235350_remove_stored_eula_field.php + + - + message: '#^Access to an undefined property App\\Models\\Asset\:\:\$asset_eol_date\.$#' + identifier: property.notFound + count: 1 + path: database/migrations/2023_07_13_052204_denormalized_eol_and_add_column_for_explicit_date_to_assets.php + + - + message: '#^Method DenormalizedEolAndAddColumnForExplicitDateToAssets\:\:eolUpdateExpression\(\) should return Illuminate\\Database\\Query\\Expression but returns Illuminate\\Contracts\\Database\\Query\\Expression\.$#' + identifier: return.type + count: 3 + path: database/migrations/2023_07_13_052204_denormalized_eol_and_add_column_for_explicit_date_to_assets.php + + - + message: '#^Variable \$months might not be defined\.$#' + identifier: variable.undefined + count: 1 + path: database/migrations/2023_07_13_052204_denormalized_eol_and_add_column_for_explicit_date_to_assets.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Schema\\ColumnDefinition\:\:before\(\)\.$#' + identifier: method.notFound + count: 1 + path: database/migrations/2024_09_17_204302_change_user_id_to_created_by.php + + - + message: '#^Left side of \|\| is always true\.$#' + identifier: booleanOr.leftAlwaysTrue + count: 6 + path: database/migrations/2025_11_28_175733_add_link_colors_to_settings.php + + - + message: '#^Right side of \|\| is always true\.$#' + identifier: booleanOr.rightAlwaysTrue + count: 6 + path: database/migrations/2025_11_28_175733_add_link_colors_to_settings.php + + - + message: '#^Called ''pluck'' on Laravel collection, but could have been retrieved as a query\.$#' + identifier: larastan.noUnnecessaryCollectionCall + count: 2 + path: database/seeders/AccessorySeeder.php + + - + message: '#^Using nullsafe method call on non\-nullable type Illuminate\\Console\\Command\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: database/seeders/ActionlogSeeder.php + + - + message: '#^Access to an undefined property Database\\Seeders\\AssetSeeder\:\:\$adminuser\.$#' + identifier: property.notFound + count: 2 + path: database/seeders/AssetSeeder.php + + - + message: '#^Binary operation "\." between ''Deleting\: '' and non\-empty\-array\ results in an error\.$#' + identifier: binaryOp.invalid + count: 1 + path: database/seeders/AssetSeeder.php + + - + message: '#^Binary operation "\." between ''assets/'' and non\-empty\-array\ results in an error\.$#' + identifier: binaryOp.invalid + count: 1 + path: database/seeders/AssetSeeder.php + + - + message: '#^Called ''pluck'' on Laravel collection, but could have been retrieved as a query\.$#' + identifier: larastan.noUnnecessaryCollectionCall + count: 2 + path: database/seeders/AssetSeeder.php + + - + message: '#^Property Database\\Seeders\\AssetSeeder\:\:\$admin is unused\.$#' + identifier: property.unused + count: 1 + path: database/seeders/AssetSeeder.php + + - + message: '#^Using nullsafe method call on non\-nullable type Illuminate\\Console\\Command\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: database/seeders/AssetSeeder.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:attach\(\)\.$#' + identifier: method.notFound + count: 1 + path: database/seeders/ComponentSeeder.php + + - + message: '#^Called ''pluck'' on Laravel collection, but could have been retrieved as a query\.$#' + identifier: larastan.noUnnecessaryCollectionCall + count: 2 + path: database/seeders/ComponentSeeder.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\Relation\:\:attach\(\)\.$#' + identifier: method.notFound + count: 1 + path: database/seeders/ConsumableSeeder.php + + - + message: '#^Using nullsafe method call on non\-nullable type Illuminate\\Console\\Command\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: database/seeders/DatabaseSeeder.php + + - + message: '#^Called ''pluck'' on Laravel collection, but could have been retrieved as a query\.$#' + identifier: larastan.noUnnecessaryCollectionCall + count: 1 + path: database/seeders/DepartmentSeeder.php + + - + message: '#^Access to an undefined property App\\Models\\Import\:\:\$created_by\.$#' + identifier: property.notFound + count: 1 + path: database/seeders/ImportSeeder.php + + - + message: '#^Using nullsafe method call on non\-nullable type Illuminate\\Console\\Command\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 2 + path: database/seeders/ImportSeeder.php + + - + message: '#^Called ''pluck'' on Laravel collection, but could have been retrieved as a query\.$#' + identifier: larastan.noUnnecessaryCollectionCall + count: 1 + path: database/seeders/LicenseSeeder.php + + - + message: '#^Access to an undefined property App\\Models\\Setting\:\:\$header_color\.$#' + identifier: property.notFound + count: 1 + path: database/seeders/SettingsSeeder.php + + - + message: '#^Access to an undefined property App\\Models\\User\:\:\$enable_sound\.$#' + identifier: property.notFound + count: 1 + path: database/seeders/SettingsSeeder.php + + - + message: '#^Property App\\Models\\Setting\:\:\$full_multiple_companies_support \(bool\) does not accept int\.$#' + identifier: assign.propertyType + count: 1 + path: database/seeders/SettingsSeeder.php + + - + message: '#^Property App\\Models\\Setting\:\:\$ldap_enabled \(string\|null\) does not accept int\.$#' + identifier: assign.propertyType + count: 1 + path: database/seeders/SettingsSeeder.php + + - + message: '#^Property App\\Models\\Setting\:\:\$pwd_secure_min \(int\) does not accept string\.$#' + identifier: assign.propertyType + count: 1 + path: database/seeders/SettingsSeeder.php + + - + message: '#^Property App\\Models\\Setting\:\:\$thumbnail_max_h \(int\|null\) does not accept string\.$#' + identifier: assign.propertyType + count: 1 + path: database/seeders/SettingsSeeder.php + + - + message: '#^Property App\\Models\\User\:\:\$enable_confetti \(bool\) does not accept int\.$#' + identifier: assign.propertyType + count: 1 + path: database/seeders/SettingsSeeder.php + + - + message: '#^Called ''pluck'' on Laravel collection, but could have been retrieved as a query\.$#' + identifier: larastan.noUnnecessaryCollectionCall + count: 2 + path: database/seeders/UserSeeder.php + + - + message: '#^Using nullsafe method call on non\-nullable type Illuminate\\Console\\Command\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: database/seeders/UserSeeder.php + + - + message: '#^Property App\\Models\\Setting\:\:\$alerts_enabled \(bool\) does not accept int\.$#' + identifier: assign.propertyType + count: 1 + path: routes/console.php + + - + message: '#^Class App\\Mail\\CheckoutComponentMail constructor invoked with 0 parameters, 5 required\.$#' + identifier: arguments.count + count: 1 + path: routes/web.php + + - + message: '#^Match expression does not handle remaining value\: string$#' + identifier: match.unhandled + count: 2 + path: routes/web.php diff --git a/phpstan.neon.dist b/phpstan.neon.dist index d5edda6884..cf3bc2ad9f 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -1,12 +1,44 @@ includes: - - ./vendor/nunomaduro/larastan/extension.neon + - ./vendor/larastan/larastan/extension.neon + - phpstan-baseline.neon parameters: paths: - app - config - - database/migrations - - resources/lang - - resources/views + - database + - routes + # Level 4 catches dead code branches, always-false instanceof, + # unreachable code after return, and most type-mismatch classes + # of bug. Anything higher (5+) starts flagging Laravel-magic paths + # that need bigger config investments to satisfy. Raise later if + # the noise budget allows. Baseline captures pre-existing findings + # so CI stays green on this PR; new findings on future PRs will + # still fail the check. Unused-parameter detection is handled by + # PHPMD (see phpmd-ruleset.xml) since PHPStan intentionally omits + # that check to avoid false positives on interface-conforming + # methods. level: 4 + + # Snipe-IT supports PHP 8.2 through 8.5. Setting phpVersion to the + # MINIMUM supported version makes PHPStan flag any 8.3+ syntax + # (typed class constants, json_validate, property hooks, etc.) + # that would break on an 8.2 deployment. The analyzer itself runs + # under whatever version CI provides; only the target check moves. + phpVersion: 80200 + + parallel: + maximumNumberOfProcesses: 4 + + # Larastan already understands Laravel Eloquent shapes at level 4. + # Ignore common false positives so signal stays useful. + ignoreErrors: + # $model->save() returns bool but analyzers sometimes flag it as + # unused when the caller doesn't branch on it; Snipe-IT has + # deliberate fire-and-forget saves in observers where the + # return value adds no information. + - + message: '#Call to an undefined method Illuminate\\Database\\Eloquent\\Builder#' + paths: + - app/Models/*.php