diff options
author | dartcafe <github@dartcafe.de> | 2021-05-08 23:13:52 +0300 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2021-05-08 23:13:52 +0300 |
commit | 6d0058ca1eb0ef936b75cae2d7339887716b4bea (patch) | |
tree | bf6040c329952746cb10f2ea590291bf855afc0d /psalm.xml | |
parent | cdeb5c761029577544d23df6e70e6b03a5594118 (diff) |
use psalm for static analysis
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to 'psalm.xml')
-rw-r--r-- | psalm.xml | 79 |
1 files changed, 40 insertions, 39 deletions
@@ -1,39 +1,40 @@ -<?xml version="1.0"?> -<psalm - errorLevel="4" - resolveFromConfigFile="true" - 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" -> - <projectFiles> - <directory name="lib" /> - <ignoreFiles> - <directory name="vendor" /> - </ignoreFiles> - </projectFiles> - <extraFiles> - <directory name="vendor" /> - <ignoreFiles> - <directory name="vendor/phpunit/php-code-coverage" /> - <directory name="vendor/vimeo" /> - </ignoreFiles> - </extraFiles> - <issueHandlers> - <UndefinedClass> - <errorLevel type="suppress"> - <referencedClass name="OC" /> - <referencedClass name="OC\Security\CSP\ContentSecurityPolicyNonceManager" /> - </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" /> - <referencedClass name="OC\Security\CSP\ContentSecurityPolicyNonceManager" /> - </errorLevel> - </UndefinedDocblockClass> - </issueHandlers> -</psalm> +<?xml version="1.0"?>
+<psalm
+ errorLevel="4"
+ resolveFromConfigFile="true"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns="https://getpsalm.org/schema/config"
+ xsi:schemaLocation="https://getpsalm.org/schema/config"
+>
+ <projectFiles>
+ <directory name="lib" />
+ <ignoreFiles>
+ <directory name="vendor" />
+ </ignoreFiles>
+ </projectFiles>
+ <extraFiles>
+ <directory name="vendor" />
+ </extraFiles>
+ <issueHandlers>
+ <UndefinedClass>
+ <errorLevel type="suppress">
+ <referencedClass name="OC" />
+ <referencedClass name="OC\Core\Command\Base" />
+ <referencedClass name="OC\DB\SchemaWrapper" />
+ <referencedClass name="OC\DB\Connection" />
+ <referencedClass name="OCA\Circles\Api\v1\Circles" />
+ </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" />
+ <referencedClass name="OC\DB\Connection" />
+ <referencedClass name="OC\Security\CSP\ContentSecurityPolicyNonceManager" />
+ <referencedClass name="OCA\Circles\Model\Circle" />
+ </errorLevel>
+ </UndefinedDocblockClass>
+ </issueHandlers>
+</psalm>
|