summaryrefslogtreecommitdiffstats
path: root/psalm.xml
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2020-12-29 16:09:49 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2021-01-04 13:01:39 +0100
commit06546438e1762c2e05e0f1cd3d94fb0255710c22 (patch)
tree83ae76add5c9477a49569061c705af03c96e6117 /psalm.xml
parentd31d2a2ebb4af4039fa1eb9449661963977bcdcd (diff)
Add psalm
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'psalm.xml')
-rw-r--r--psalm.xml32
1 files changed, 32 insertions, 0 deletions
diff --git a/psalm.xml b/psalm.xml
new file mode 100644
index 00000000..77f99494
--- /dev/null
+++ b/psalm.xml
@@ -0,0 +1,32 @@
+<?xml version="1.0"?>
+<psalm
+ errorLevel="4"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns="https://getpsalm.org/schema/config"
+ xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
+ errorBaseline="tests/psalm-baseline.xml"
+>
+ <projectFiles>
+ <directory name="lib" />
+ </projectFiles>
+ <extraFiles>
+ <directory name="vendor/christophwurst/nextcloud" />
+ </extraFiles>
+ <issueHandlers>
+ <UndefinedClass>
+ <errorLevel type="suppress">
+ <referencedClass name="OC" />
+ <referencedClass name="Doctrine\DBAL\Types\Type"/>
+ </errorLevel>
+ </UndefinedClass>
+ <UndefinedDocblockClass>
+ <errorLevel type="suppress">
+ <referencedClass name="Doctrine\DBAL\Driver\Statement" />
+ <referencedClass name="Doctrine\DBAL\Schema\Schema" />
+ <referencedClass name="Doctrine\DBAL\Schema\SchemaException" />
+ <referencedClass name="Doctrine\DBAL\Schema\Table" />
+ <referencedClass name="Doctrine\DBAL\Statement" />
+ </errorLevel>
+ </UndefinedDocblockClass>
+ </issueHandlers>
+</psalm>