aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/brick/math/psalm-baseline.xml
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/brick/math/psalm-baseline.xml')
-rw-r--r--vendor/brick/math/psalm-baseline.xml40
1 files changed, 40 insertions, 0 deletions
diff --git a/vendor/brick/math/psalm-baseline.xml b/vendor/brick/math/psalm-baseline.xml
new file mode 100644
index 000000000..fe05b998c
--- /dev/null
+++ b/vendor/brick/math/psalm-baseline.xml
@@ -0,0 +1,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>