Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-10-08 16:10:49 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-10-08 16:36:45 +0300
commit92e0d802c9e89d14499d91bcec9f9d9b112de314 (patch)
tree25f1528b319b0df39df6086e4467ff6310c996c6 /psalm.xml
parent7143b9cb687ca75b3be2654d1fe59bff92f24af8 (diff)
Add ignores for known external issues and add a baseline for the rest
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'psalm.xml')
-rw-r--r--psalm.xml21
1 files changed, 20 insertions, 1 deletions
diff --git a/psalm.xml b/psalm.xml
index c2bb95901..6f8785284 100644
--- a/psalm.xml
+++ b/psalm.xml
@@ -6,6 +6,7 @@
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" />
@@ -15,7 +16,25 @@
</ignoreFiles>
</projectFiles>
<extraFiles>
- <directory name="vendor/christophwurst/nextcloud" />
+ <directory name="vendor" />
<directory name="lib/Vendor" />
+ <ignoreFiles>
+ <directory name="vendor/phpunit/php-code-coverage" />
+ </ignoreFiles>
</extraFiles>
+ <issueHandlers>
+ <UndefinedClass>
+ <errorLevel type="suppress">
+ <referencedClass name="OC" />
+ </errorLevel>
+ </UndefinedClass>
+ <UndefinedDocblockClass>
+ <errorLevel type="suppress">
+ <referencedClass name="Doctrine\DBAL\Schema\Schema" />
+ <referencedClass name="Doctrine\DBAL\Schema\SchemaException" />
+ <referencedClass name="Doctrine\DBAL\Driver\Statement" />
+ <referencedClass name="Doctrine\DBAL\Schema\Table" />
+ </errorLevel>
+ </UndefinedDocblockClass>
+ </issueHandlers>
</psalm>