-
-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathphpstan.neon
More file actions
28 lines (27 loc) · 885 Bytes
/
phpstan.neon
File metadata and controls
28 lines (27 loc) · 885 Bytes
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
includes:
- ./vendor/larastan/larastan/extension.neon
- phpstan-baseline.neon
parameters:
paths:
- src
level: 5
excludePaths:
# Exclude PHP Parser files
- src/Parse/PHP/ArrayFile.php
- src/Parse/PHP/ArrayPrinter.php
- src/Foundation/Console/KeyGenerateCommand.php
- src/Scaffold/GeneratorCommand.php
ignoreErrors:
- message: '#Call to private method select\(\)#'
paths:
- src/Database/Relations/Concerns/CanBeCounted.php
- message: '#Anonymous function should return static\(.*\) but returns static\(.*\)#'
paths:
- src/Support/Traits/Singleton.php
reportUnmatched: false
disableSchemaScan: true
databaseMigrationsPath:
- src/Auth/Migrations
- src/Database/Migrations
stubFiles:
- tests/stubs/Facades.stub