Browse code

Added README.md appinfo/info.xml appinfo/signature.json lib/Controller/AuthorApiController.php and the providers directory

DoubleBastionAdmin authored on 20/08/2022 16:33:00
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,56 @@
1
+<?xml version="1.0"?>
2
+<psalm
3
+        useDocblockTypes="true"
4
+>
5
+    <projectFiles>
6
+        <directory name="src" />
7
+    </projectFiles>
8
+    <issueHandlers>
9
+        <InvalidFunctionCall errorLevel="suppress" />
10
+        <!--
11
+            Previous issue type is suppressed because we have to use a string
12
+            as a function name for PHP 5.2 compatibility. When testing, be sure
13
+            to change this to "info".
14
+         -->
15
+
16
+        <UndefinedFunction errorLevel="info" />
17
+        <!--
18
+            Inconsistently erroneous.
19
+        -->
20
+
21
+        <DuplicateClass errorLevel="info" />
22
+        <!--
23
+            Psalm isn't correctly identifying the guard conditions that return
24
+            early if a class already exists.
25
+        -->
26
+        <RedundantConditionGivenDocblockType errorLevel="suppress" />
27
+
28
+        <TooFewArguments errorLevel="info" />
29
+
30
+        <DocblockTypeContradiction errorLevel="suppress" />
31
+        <RedundantCondition errorLevel="info" />
32
+        <!--
33
+            Redundancy is good for PHP <7
34
+        -->
35
+
36
+        <TypeDoesNotContainType errorLevel="info" />
37
+        <!--
38
+            This mostly fails on `PHP_INT_SIZE === 4`
39
+        -->
40
+
41
+        <InternalMethod errorLevel="suppress" />
42
+        <!--
43
+            We mark methods as internal.
44
+        -->
45
+        <PossiblyNullArgument errorLevel="suppress" />
46
+        <!--
47
+            Not interesting
48
+        -->
49
+
50
+        <RedundantCast errorLevel="info" />
51
+        <UnnecessaryVarAnnotation errorLevel="suppress" />
52
+        <UnusedVariable errorLevel="info" />
53
+        <UnusedFunctionCall errorLevel="info" />
54
+
55
+    </issueHandlers>
56
+</psalm>