-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathphpstan.neon
More file actions
35 lines (27 loc) · 1.38 KB
/
Copy pathphpstan.neon
File metadata and controls
35 lines (27 loc) · 1.38 KB
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
parameters:
paths:
- src
level: 5
ignoreErrors:
# ext-amqp is a native extension; its stubs are not always available to
# static analysis, and its setters/flags are resolved at runtime.
- '#Call to an undefined static method AMQP[A-Za-z]+::[a-zA-Z_]+\(\)#'
- '#Access to an undefined property AMQP[A-Za-z]+::\$[a-zA-Z_]+#'
- '#Class AMQP[A-Za-z]+ not found#'
# Illuminate\Console\Command inherits SUCCESS/FAILURE/INVALID from
# Symfony's Command. Without the Laravel extension loaded PHPStan does
# not follow that far up the hierarchy.
- '#Access to undefined constant iamfarhad\\LaravelRabbitMQ\\Console\\Commands\\[A-Za-z]+::(SUCCESS|FAILURE|INVALID)#'
# Illuminate\Queue\Worker's API differs across the supported Laravel
# range; the consumer reflects over it rather than assuming one shape.
- '#Call to an undefined method Illuminate\\Queue\\Worker::[a-zA-Z_]+\(\)#'
# Deliberately unbounded: --watch runs until interrupted.
-
message: '#While loop condition is always true#'
path: src/Console/Commands/PoolStatsCommand.php
- identifier: missingType.iterableValue
- identifier: missingType.generics
treatPhpDocTypesAsCertain: false
reportUnmatchedIgnoredErrors: false
bootstrapFiles:
- vendor/autoload.php