-
Notifications
You must be signed in to change notification settings - Fork 4
/
phpstan.neon
20 lines (19 loc) · 903 Bytes
/
phpstan.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
parameters:
level: 7
inferPrivatePropertyTypeFromConstructor: true
checkGenericClassInNonGenericObjectType: false
paths:
- src
- tests
ignoreErrors:
- '#Call to method getPacketIdentifier\(\) on an unknown class unreal4u\\MQTT\\Internals\\PacketIdentifierFunctionality\.#'
- '#Call to an undefined method Psr\\Log\\LoggerInterface::withName\(\)\.#'
-
message: '#Property unreal4u\\MQTT\\Client::\$lastCommunication \(DateTimeImmutable\) does not accept DateTimeImmutable\|false\.#'
path: %currentWorkingDirectory%/src/Client.php
-
message: '#Cannot call method format\(\) on DateTimeImmutable\|false\.#'
path: %currentWorkingDirectory%/src/Client.php
-
message: '#Property unreal4u\\MQTT\\Protocol\\Connect\\Parameters::\$bitFlag has no typehint specified\.#'
path: %currentWorkingDirectory%/src/Protocol/Connect/Parameters.php