diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-10-08 16:10:49 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-10-08 16:36:45 +0300 |
commit | 92e0d802c9e89d14499d91bcec9f9d9b112de314 (patch) | |
tree | 25f1528b319b0df39df6086e4467ff6310c996c6 /psalm.xml | |
parent | 7143b9cb687ca75b3be2654d1fe59bff92f24af8 (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.xml | 21 |
1 files changed, 20 insertions, 1 deletions
@@ -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> |