Files
monica/phpstan.neon
T

30 lines
1.5 KiB
Plaintext

includes:
- ./vendor/nunomaduro/larastan/extension.neon
parameters:
paths:
- app
- database/factories
- database/seeders
- routes
inferPrivatePropertyTypeFromConstructor: true
level: 5
ignoreErrors:
- '#Access to an undefined property App\\Models\\Post::\$excerpt\.#'
- '#Access to an undefined property App\\Models\\Post::\$year\.#'
- '#Access to an undefined property App\\Models\\Label::\$contacts_count\.#'
- '#Access to an undefined property App\\Models\\Tag::\$posts_count\.#'
- '#Access to an undefined property App\\Models\\Module::\$position\.#'
- '#Access to an undefined property App\\Models\\.*::\$pivot\.#'
- '#Access to an undefined property Sabre\\VObject\\Component\\VCard::\$.*\.#'
- message: '#Call to an undefined method Illuminate\\Database\\Eloquent\\Builder<App\\Models\\Note>::unsearchable\(\)\.#'
path: */app/Models/Contact.php
- message: '#Call to an undefined method Illuminate\\Database\\Eloquent\\Builder<App\\Models\\Note>::unsearchable\(\)\.#'
path: */app/Models/Vault.php
- message: '#Call to an undefined method Illuminate\\Database\\Eloquent\\Builder<App\\Models\\Contact>::unsearchable\(\)\.#'
path: */app/Models/Vault.php
- message: '#Parameter \#1 \$value of function count expects array\|Countable, App\\Models\\Contact given\.#'
path: */app/Domains/Vault/ManageVault/Web/ViewHelpers/VaultIndexViewHelper.php