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