-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathphpstan-baseline.neon
More file actions
97 lines (82 loc) · 3.04 KB
/
phpstan-baseline.neon
File metadata and controls
97 lines (82 loc) · 3.04 KB
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
parameters:
ignoreErrors:
-
message: '#^Call to function assert\(\) with true will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: src/Cache/ApcuCache.php
-
message: '#^Call to function is_array\(\) with array\<string, string\> will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: src/Cache/ApcuCache.php
-
message: '#^Only booleans are allowed in \|\|, mixed given on the right side\.$#'
identifier: booleanOr.rightNotBoolean
count: 1
path: src/Cache/ApcuCache.php
-
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
identifier: empty.notAllowed
count: 1
path: src/Loader.php
-
message: '#^Method PhpMyAdmin\\MoTranslator\\Loader\:\:detectlocale\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: src/Loader.php
-
message: '#^Offset ''lang'' on array\{0\: non\-falsy\-string, lang\: non\-falsy\-string, 1\: non\-falsy\-string, country\?\: string, 2\?\: string, charset\?\: string, 3\?\: string, modifier\?\: non\-empty\-string, \.\.\.\} on left side of \?\? always exists and is not nullable\.$#'
identifier: nullCoalesce.offset
count: 1
path: src/Loader.php
-
message: '#^Strict comparison using \!\=\= between non\-falsy\-string and '''' will always evaluate to true\.$#'
identifier: notIdentical.alwaysTrue
count: 1
path: src/Loader.php
-
message: '#^Casting to int something that''s already int\.$#'
identifier: cast.useless
count: 1
path: src/MoParser.php
-
message: '#^Method PhpMyAdmin\\MoTranslator\\StringReader\:\:readint\(\) should return int but returns mixed\.$#'
identifier: return.type
count: 1
path: src/StringReader.php
-
message: '#^Method PhpMyAdmin\\MoTranslator\\StringReader\:\:readintarray\(\) should return array\<int\> but returns array\.$#'
identifier: return.type
count: 1
path: src/StringReader.php
-
message: '#^Foreach overwrites \$header with its value variable\.$#'
identifier: foreach.valueOverwrite
count: 1
path: src/Translator.php
-
message: '#^Only numeric types are allowed in \-, int\|null given on the left side\.$#'
identifier: minus.leftNonNumeric
count: 1
path: src/Translator.php
-
message: '#^Dynamic call to static method PHPUnit\\Framework\\Assert\:\:markTestSkipped\(\)\.$#'
identifier: staticMethod.dynamicCall
count: 1
path: tests/Cache/ApcuCacheFactoryTest.php
-
message: '#^Dynamic call to static method PHPUnit\\Framework\\Assert\:\:markTestSkipped\(\)\.$#'
identifier: staticMethod.dynamicCall
count: 1
path: tests/Cache/ApcuCacheTest.php
-
message: '#^Dynamic call to static method PHPUnit\\Framework\\Assert\:\:isInstanceOf\(\)\.$#'
identifier: staticMethod.dynamicCall
count: 1
path: tests/LoaderTest.php
-
message: '#^Dynamic call to static method PHPUnit\\Framework\\Assert\:\:markTestSkipped\(\)\.$#'
identifier: staticMethod.dynamicCall
count: 1
path: tests/LoaderTest.php