aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/brick/math/psalm-baseline.xml
blob: fe05b998cdffabb66f20c3c89d436c04a9b78886 (plain) (blame)
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
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="3.8.5@e6ec5fa22a7b9e61670a24d07b3119aff80dcd89">
  <file src="src/Internal/Calculator/BcMathCalculator.php">
    <InvalidNullableReturnType occurrences="3">
      <code>string</code>
      <code>string</code>
      <code>string</code>
    </InvalidNullableReturnType>
    <InvalidReturnStatement occurrences="1">
      <code>[$q, $r]</code>
    </InvalidReturnStatement>
    <InvalidReturnType occurrences="1">
      <code>array</code>
    </InvalidReturnType>
    <NullableReturnStatement occurrences="3">
      <code>\bcdiv($a, $b, 0)</code>
      <code>\bcmod($a, $b)</code>
      <code>\bcpowmod($base, $exp, $mod, 0)</code>
    </NullableReturnStatement>
  </file>
  <file src="src/Internal/Calculator/NativeCalculator.php">
    <InvalidOperand occurrences="6">
      <code>$a</code>
      <code>$a</code>
      <code>$a</code>
      <code>$b</code>
      <code>$blockA</code>
      <code>$blockA</code>
    </InvalidOperand>
    <LoopInvalidation occurrences="4">
      <code>$i</code>
      <code>$i</code>
      <code>$i</code>
      <code>$j</code>
    </LoopInvalidation>
    <PossiblyInvalidArgument occurrences="1">
      <code>$e / 2</code>
    </PossiblyInvalidArgument>
  </file>
</files>