-
Notifications
You must be signed in to change notification settings - Fork 8
/
phpstan-low.neon
60 lines (46 loc) · 2.86 KB
/
phpstan-low.neon
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
51
52
53
54
55
56
57
58
parameters:
excludePaths:
- %rootDir%/../../../tests/tmp/*
checkGenericClassInNonGenericObjectType: false
checkMissingIterableValueType: false
bootstrapFiles:
- %rootDir%/../../../phpstanConstants.php
ignoreErrors:
- '#PHPDoc tag \@throws with type Elasticsearch\\Common\\Exceptions\\ElasticsearchException is not subtype of Throwable#'
- '#Call to function array_key_exists\(\) with string and array<int, mixed> will always evaluate to false.#'
-
message: "#^Method Spameri\\\\Elastic\\\\Diagnostics\\\\PanelLogger\\:\\:emergency\\(\\) should return null but return statement is missing\\.$#"
count: 1
path: src/Diagnostics/PanelLogger.php
-
message: "#^Return type \\(void\\) of method Spameri\\\\Elastic\\\\Diagnostics\\\\PanelLogger\\:\\:alert\\(\\) should be compatible with return type \\(null\\) of method Psr\\\\Log\\\\LoggerInterface\\:\\:alert\\(\\)$#"
count: 1
path: src/Diagnostics/PanelLogger.php
-
message: "#^Return type \\(void\\) of method Spameri\\\\Elastic\\\\Diagnostics\\\\PanelLogger\\:\\:critical\\(\\) should be compatible with return type \\(null\\) of method Psr\\\\Log\\\\LoggerInterface\\:\\:critical\\(\\)$#"
count: 1
path: src/Diagnostics/PanelLogger.php
-
message: "#^Return type \\(void\\) of method Spameri\\\\Elastic\\\\Diagnostics\\\\PanelLogger\\:\\:debug\\(\\) should be compatible with return type \\(null\\) of method Psr\\\\Log\\\\LoggerInterface\\:\\:debug\\(\\)$#"
count: 1
path: src/Diagnostics/PanelLogger.php
-
message: "#^Return type \\(void\\) of method Spameri\\\\Elastic\\\\Diagnostics\\\\PanelLogger\\:\\:error\\(\\) should be compatible with return type \\(null\\) of method Psr\\\\Log\\\\LoggerInterface\\:\\:error\\(\\)$#"
count: 1
path: src/Diagnostics/PanelLogger.php
-
message: "#^Return type \\(void\\) of method Spameri\\\\Elastic\\\\Diagnostics\\\\PanelLogger\\:\\:info\\(\\) should be compatible with return type \\(null\\) of method Psr\\\\Log\\\\LoggerInterface\\:\\:info\\(\\)$#"
count: 1
path: src/Diagnostics/PanelLogger.php
-
message: "#^Return type \\(void\\) of method Spameri\\\\Elastic\\\\Diagnostics\\\\PanelLogger\\:\\:log\\(\\) should be compatible with return type \\(null\\) of method Psr\\\\Log\\\\LoggerInterface\\:\\:log\\(\\)$#"
count: 1
path: src/Diagnostics/PanelLogger.php
-
message: "#^Return type \\(void\\) of method Spameri\\\\Elastic\\\\Diagnostics\\\\PanelLogger\\:\\:notice\\(\\) should be compatible with return type \\(null\\) of method Psr\\\\Log\\\\LoggerInterface\\:\\:notice\\(\\)$#"
count: 1
path: src/Diagnostics/PanelLogger.php
-
message: "#^Return type \\(void\\) of method Spameri\\\\Elastic\\\\Diagnostics\\\\PanelLogger\\:\\:warning\\(\\) should be compatible with return type \\(null\\) of method Psr\\\\Log\\\\LoggerInterface\\:\\:warning\\(\\)$#"
count: 1
path: src/Diagnostics/PanelLogger.php