forked from bezhanSalleh/filament-shield
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon.dist
46 lines (45 loc) · 1.88 KB
/
phpstan.neon.dist
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
35
36
37
38
39
40
41
42
43
44
45
46
includes:
- phpstan-baseline.neon
parameters:
level: 4
paths:
- src
- tests
- resources
reportUnmatchedIgnoredErrors: false
excludePaths:
analyse:
- src/FilamentShield.php
- src/Resources/RoleResource/Pages/CreateRole.php
- src/Resources/RoleResource/Pages/EditRole.php
ignoreErrors:
- '#PHPDoc tag @var#'
- '#Call to method getModel\(\) on an unknown class BezhanSalleh\\FilamentShield\\Commands\\EloquentUserProvider#'
- '#Call to method getProvider\(\) on an unknown class BezhanSalleh\\FilamentShield\\Commands\\SessionGuard#'
-
message: '#Call to an undefined static method [a-zA-Z0-9\\_]+::whereName\(\)#'
path: src/Commands/MakeShieldSuperAdminCommand.php
-
message: '#Access to an undefined property [a-zA-Z0-9\\_]+::\$permissions#'
path: src/Resources/RoleResource.php
-
message: '#Call to an undefined method Illuminate\\Foundation\\Auth\\User::hasRole\(\)#'
paths:
- src/Resources/RoleResource/Pages/ListRoles.php
- src/Pages/ShieldSetting.php
-
message: '#Access to an undefined property [a-zA-Z0-9\\_]+::\$form#'
paths:
- src/Resources/RoleResource/Pages/EditRole.php
- src/Resources/RoleResource/Pages/CreateRole.php
-
message: '#Access to an undefined property [a-zA-Z0-9\\_]+::\$onlyWidgets#'
path: src/Commands/MakeShieldGenerateCommand.php
-
message: '#Access to an undefined property [a-zA-Z0-9\\_]+::\$[a-zA-Z0-9\\_]#'
path: src/Commands/MakeShieldSeederCommand.php
-
message: '#Missing typehint for iterable value#'
tmpDir: build/phpstan
checkOctaneCompatibility: true
checkModelProperties: true