summaryrefslogtreecommitdiffstats
path: root/vendor/paragonie/sodium_compat/psalm-below-3.xml
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/paragonie/sodium_compat/psalm-below-3.xml')
-rw-r--r--vendor/paragonie/sodium_compat/psalm-below-3.xml43
1 files changed, 43 insertions, 0 deletions
diff --git a/vendor/paragonie/sodium_compat/psalm-below-3.xml b/vendor/paragonie/sodium_compat/psalm-below-3.xml
new file mode 100644
index 0000000..0da3cd9
--- /dev/null
+++ b/vendor/paragonie/sodium_compat/psalm-below-3.xml
@@ -0,0 +1,43 @@
+<?xml version="1.0"?>
+<psalm
+ useDocblockTypes="true"
+ totallyTyped="true"
+>
+ <projectFiles>
+ <directory name="src" />
+ </projectFiles>
+ <issueHandlers>
+ <InvalidFunctionCall errorLevel="suppress" />
+ <!--
+ Previous issue type is suppressed because we have to use a string
+ as a function name for PHP 5.2 compatibility. When testing, be sure
+ to change this to "info".
+ -->
+
+ <UndefinedFunction errorLevel="info" />
+ <!--
+ Inconsistently erroneous.
+ -->
+
+ <DuplicateClass errorLevel="info" />
+ <!--
+ Psalm isn't correctly identifying the guard conditions that return
+ early if a class already exists.
+ -->
+ <RedundantConditionGivenDocblockType errorLevel="suppress" />
+
+ <TooFewArguments errorLevel="info" />
+
+ <DocblockTypeContradiction errorLevel="info" />
+ <RedundantCondition errorLevel="info" />
+ <!--
+ Redundancy is good for PHP <7
+ -->
+
+ <TypeDoesNotContainType errorLevel="info" />
+ <!--
+ This mostly fails on `PHP_INT_SIZE === 4`
+ -->
+
+ </issueHandlers>
+</psalm>