forked from swarrot/SwarrotBundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon.dist
50 lines (42 loc) · 1.78 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
47
48
49
50
parameters:
level: max
inferPrivatePropertyTypeFromConstructor: true
checkMissingIterableValueType: false
paths:
- .
excludes_analyse:
- Tests
- vendor
ignoreErrors:
-
message: "#^Else branch is unreachable because previous condition is always true\\.$#"
count: 1
path: Broker/Publisher.php
-
message: "#^Cannot cast array\\<string\\>\\|bool\\|string\\|null to int\\.$#"
count: 1
path: Command/SwarrotCommand.php
-
message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\TreeBuilder\\:\\:root\\(\\)\\.$#"
count: 1
path: DependencyInjection/Configuration.php
-
message: "#^Cannot cast array\\<string\\>\\|bool\\|string\\|null to int\\.$#"
count: 1
path: Processor/MaxExecutionTime/MaxExecutionTimeProcessorConfigurator.php
-
message: "#^Cannot cast array\\<string\\>\\|bool\\|string\\|null to int\\.$#"
count: 1
path: Processor/MaxMessages/MaxMessagesProcessorConfigurator.php
-
message: "#^Cannot cast array\\<string\\>\\|string\\|null to string\\.$#"
count: 1
path: Processor/Retry/RetryProcessorConfigurator.php
-
message: "#^Cannot cast array\\<string\\>\\|bool\\|string\\|null to int\\.$#"
count: 1
path: Processor/Retry/RetryProcessorConfigurator.php
-
message: "#^Method Swarrot\\\\SwarrotBundle\\\\DataCollector\\\\SwarrotDataCollector\\:\\:collect\\(\\) has parameter \\$exception with no typehint specified\\.$#"
count: 1
path: DataCollector/SwarrotDataCollector.php