forked from BigBrotherTeam/BigBrother
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathphpstan.neon
61 lines (57 loc) · 2.21 KB
/
phpstan.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
parameters:
level: 5
excludes_analyse:
- src\fallendead\libs
paths:
- src
scanDirectories:
- \library
bootstrapFiles:
- \vendor\pocketmine\pocketmine-mp\tests\phpstan\bootstrap.php
- \library\bootstrap.php
- \vendor\autoload.php
ignoreErrors:
-
message: '#^Comparison operation \"\>\" between 1 and 4 is always false\.$#'
count: 3
path: \src\shoghicp\BigBrother\network\ProtocolInterface.php
-
message: '#^Comparison operation \"\>\" between 1 and 1 is always false\.$#'
count: 1
path: \src\shoghicp\BigBrother\network\ProtocolInterface.php
-
message: '#^Comparison operation \"\>\" between 1 and 3 is always false\.$#'
count: 3
path: \src\shoghicp\BigBrother\network\Translator.php
-
message: '#^Comparison operation \"\>\" between 1 and 4 is always false\.$#'
count: 2
path: \src\shoghicp\BigBrother\network\Translator.php
-
message: '#^Comparison operation \"\>\" between 1 and 4 is always false\.$#'
count: 1
path: \src\shoghicp\BigBrother\network\protocol\Play\Server\EntityPropertiesPacket.php
-
message: '#^Comparison operation \"\>\" between 1 and 4 is always false\.$#'
count: 1
path: \src\shoghicp\BigBrother\utils\Binary.php
-
message: '#^Comparison operation \"\>\" between 1 and 3 is always false\.$#'
count: 4
path: \src\shoghicp\BigBrother\utils\InventoryUtils.php
-
message: '#^PHPDoc tag \@param has invalid value \([^\)]*\): Unexpected token \"\&\", expected variable at offset \d*$#'
count: 5
path: \src\shoghicp\BigBrother\utils\ConvertUtils.php
-
message: '#^PHPDoc tag \@param has invalid value \([^\)]*\): Unexpected token \"\&\", expected variable at offset \d*$#'
count: 3
path: \src\shoghicp\BigBrother\utils\Binary.php
-
message: '#^PHPDoc tag \@param has invalid value \([^\)]*\): Unexpected token \"\&\", expected variable at offset \d*$#'
count: 1
path: \src\shoghicp\BigBrother\network\ServerThread.php
-
message: '#^Else branch is unreachable because previous condition is always true\.$#'
count: 1
path: \src\shoghicp\BigBrother\BigBrother.php