forked from swarrot/swarrot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon.dist
37 lines (33 loc) · 1.81 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
parameters:
level: max
inferPrivatePropertyTypeFromConstructor: true
checkMissingIterableValueType: false
paths:
- src
excludes_analyse:
- vendor
ignoreErrors:
-
message: "#^Property Swarrot\\\\Processor\\\\Doctrine\\\\ConnectionProcessor\\:\\:\\$connections \\(array\\<Doctrine\\\\DBAL\\\\Connection\\>\\) does not accept array\\<object\\>\\.$#"
count: 1
path: src/Swarrot/Processor/Doctrine/ConnectionProcessor.php
-
message: "#^Else branch is unreachable because ternary operator condition is always true\\.$#"
count: 1
path: src/Swarrot/Processor/Doctrine/ConnectionProcessor.php
-
message: "#^Method Swarrot\\\\Broker\\\\MessagePublisher\\\\PeclPackageMessagePublisher\\:\\:__construct\\(\\) has parameter \\$timeout with no typehint specified\\.$#"
count: 1
path: src/Swarrot/Broker/MessagePublisher/PeclPackageMessagePublisher.php
-
message: "#^Method Swarrot\\\\Broker\\\\MessagePublisher\\\\PhpAmqpLibMessagePublisher\\:\\:__construct\\(\\) has parameter \\$timeout with no typehint specified\\.$#"
count: 1
path: src/Swarrot/Broker/MessagePublisher/PhpAmqpLibMessagePublisher.php
-
message: "#^Parameter \\#1 \\$delivery_tag of method PhpAmqpLib\\\\Channel\\\\AMQPChannel\\:\\:basic_ack\\(\\) expects int, string given\\.$#"
count: 1
path: src/Swarrot/Broker/MessageProvider/PhpAmqpLibMessageProvider.php
-
message: "#^Parameter \\#1 \\$delivery_tag of method PhpAmqpLib\\\\Channel\\\\AMQPChannel\\:\\:basic_nack\\(\\) expects int, string given\\.$#"
count: 1
path: src/Swarrot/Broker/MessageProvider/PhpAmqpLibMessageProvider.php