-
-
Notifications
You must be signed in to change notification settings - Fork 61
Expand file tree
/
Copy pathphpstan.neon
More file actions
27 lines (27 loc) · 675 Bytes
/
phpstan.neon
File metadata and controls
27 lines (27 loc) · 675 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
parameters:
level: 6
inferPrivatePropertyTypeFromConstructor: true
checkMissingIterableValueType: false
bootstrapFiles:
- examples/bootstrap.php
paths:
- src
- tests
excludePaths:
- src/Tools/Common.php
ignoreErrors:
- '#Call to an undefined method \S+::setTopic\(\).#'
- '#Method Simps\\MQTT\\Message\\[a-zA-Z]+::getContents\(\) has no return type specified.#'
-
message: '#Method \S+ has no return type specified.#'
paths:
- tests/*
- src/Client.php
- src/BaseClient.php
- src/WebSocketClient.php
-
message: '#Property \S+ has no type specified.#'
paths:
- tests/*
- src/Message/*
- src/Property/PacketMap.php