forked from mongodb/laravel-mongodb
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan.neon.dist
More file actions
29 lines (22 loc) · 731 Bytes
/
Copy pathphpstan.neon.dist
File metadata and controls
29 lines (22 loc) · 731 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
29
includes:
- ./phpstan-baseline.neon
parameters:
tmpDir: .cache/phpstan
paths:
- src
- tests/PHPStan
level: 2
editorUrl: 'phpstorm://open?file=%%file%%&line=%%line%%'
universalObjectCratesClasses:
- MongoDB\BSON\Document
- Illuminate\Queue\Jobs\DatabaseJobRecord
ignoreErrors:
- '#Unsafe usage of new static#'
- '#Call to an undefined method [a-zA-Z0-9\\_\<\>\(\)]+::[a-zA-Z]+\(\)#'
services:
errorFormatter.sarif:
class: MongoDB\Laravel\Tests\PHPStan\SarifErrorFormatter
arguments:
relativePathHelper: @simpleRelativePathHelper
currentWorkingDirectory: %currentWorkingDirectory%
pretty: true