forked from area17/twill
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.neon
34 lines (28 loc) · 808 Bytes
/
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
30
31
32
33
34
includes:
- ./vendor/nunomaduro/larastan/extension.neon
- phpstan-baseline.neon
parameters:
paths:
- src
- routes
- config
- tests
# 8 is the highest level
# Todo: Increment when feeling brave.
level: 1
databaseMigrationsPath:
- migrations/default
- migrations/optional
ignoreErrors:
# See: https://github.com/nunomaduro/larastan/issues/1080
- '#Access to an undefined property A17\\Twill\\Models\\(\w*)::\$(\w*)#'
excludePaths:
- tests/*
# Fixed with new capsule manager.
- src/Services/Capsules/HasCapsules.php
# Fatal errors due to socialite and key missing.
- src/Http/Controllers/Admin/LoginController.php
- src/Models/User.php
# Not needed
- src/Rector/LaravelAwareRectorRule.php
- src/DuskServiceProvider.php