forked from AnimeThemes/animethemes-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.neon
31 lines (27 loc) · 1.2 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
30
31
includes:
- ./vendor/nunomaduro/larastan/extension.neon
parameters:
checkModelProperties: true
checkOctaneCompatibility: true
checkMissingIterableValueType: false
paths:
- app
- config
- database
- elastic
- routes
- tests
# The level 8 is the highest level
level: 5
ignoreErrors:
- '#Call to an undefined method Mockery\\ExpectationInterface|Mockery\\HigherOrderMessage::once\(\).#'
- '#Strict comparison using === between class-string<Laravel\\Nova\\Resource> and null will always evaluate to false.#'
- '#Call to an undefined method ProtoneMedia\\LaravelFFMpeg\\Drivers\\PHPFFMpeg::export\(\).#'
- '#Call to an undefined method ProtoneMedia\\LaravelFFMpeg\\Drivers\\PHPFFMpeg::getProcessOutput\(\).#'
- '#Call to an undefined static method Illuminate\\Support\\Facades\\Config::bool\(\).#'
-
message: '#Unreachable statement - code above always terminates.#'
path: app/Http/Middleware/ThrottleRequestsWithService.php
-
message: '#Method App\\Rules\\Wiki\\Submission\\SubmissionRule::#'
path: app/Rules/Wiki/Submission/SubmissionRule.php