-
Notifications
You must be signed in to change notification settings - Fork 26
/
psalm-baseline.xml
49 lines (49 loc) · 1.64 KB
/
psalm-baseline.xml
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
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="5.26.1@d747f6500b38ac4f7dfc5edbcae6e4b637d7add0">
<file src="src/Cache/ApcuCache.php">
<MixedAssignment>
<code><![CDATA[$cached]]></code>
<code><![CDATA[$msgstr]]></code>
<code><![CDATA[$msgstr]]></code>
</MixedAssignment>
<RedundantConditionGivenDocblockType>
<code><![CDATA[assert(is_array($translations))]]></code>
<code><![CDATA[is_array($translations)]]></code>
</RedundantConditionGivenDocblockType>
</file>
<file src="src/Loader.php">
<MixedInferredReturnType>
<code><![CDATA[string]]></code>
</MixedInferredReturnType>
<MixedReturnStatement>
<code><![CDATA[$GLOBALS['lang']]]></code>
</MixedReturnStatement>
</file>
<file src="src/StringReader.php">
<MixedAssignment>
<code><![CDATA[$result]]></code>
</MixedAssignment>
<MixedInferredReturnType>
<code><![CDATA[int]]></code>
</MixedInferredReturnType>
<MixedReturnStatement>
<code><![CDATA[$result < 0 ? PHP_INT_MAX : $result]]></code>
<code><![CDATA[$result < 0 ? PHP_INT_MAX : $result]]></code>
</MixedReturnStatement>
<MixedReturnTypeCoercion>
<code><![CDATA[$data]]></code>
<code><![CDATA[int[]]]></code>
</MixedReturnTypeCoercion>
</file>
<file src="src/Translator.php">
<MixedAssignment>
<code><![CDATA[$evaluatedPlural]]></code>
</MixedAssignment>
<PossiblyNullOperand>
<code><![CDATA[$this->pluralCount]]></code>
</PossiblyNullOperand>
<PossiblyUndefinedArrayOffset>
<code><![CDATA[$nplurals[1]]]></code>
</PossiblyUndefinedArrayOffset>
</file>
</files>