-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon
29 lines (28 loc) · 1.17 KB
/
phpstan.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
parameters:
level: 7
paths:
- app
- config
- database/factories
- database/seeders
- tests
excludePaths:
- app/Http/Requests/StoreTale.php
- app/Providers/MacrosServiceProvider.php
- app/Services/FilmPolski.php
stubFiles:
- phpstan.stub
ignoreErrors:
- identifier: missingType.generics
- '#^Access to an undefined property App\\Models\\Actor\|App\\Models\\Credit::\$(as|characters|credit_nr|nr|type)\.$#'
- '#^Access to an undefined property App\\Models\\Artist::\$appearances\.$#'
- '#^Access to an undefined property App\\Models\\Tale::\$popularity\.$#'
- '#^Call to an undefined method App\\Models\\Actor\|App\\Models\\Credit::(ofType|isCustom)\(\)\.$#'
- '#^Cannot call method assertExitCode\(\) on Illuminate\\Testing\\PendingCommand\|int\.$#'
tmpDir: .cache/phpstan
includes:
- vendor/phpstan/phpstan/conf/bleedingEdge.neon
- vendor/larastan/larastan/extension.neon
- vendor/php-standard-library/phpstan-extension/extension.neon
- vendor/phpstan/phpstan-mockery/extension.neon
- vendor/phpstan/phpstan-phpunit/extension.neon