2020-10-09 12:28:46 +03:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<psalm
|
|
|
|
totallyTyped="true"
|
|
|
|
errorLevel="5"
|
|
|
|
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"
|
|
|
|
errorBaseline="tests/psalm-baseline.xml"
|
|
|
|
>
|
|
|
|
<projectFiles>
|
|
|
|
<directory name="lib" />
|
|
|
|
<ignoreFiles>
|
|
|
|
<directory name="vendor" />
|
|
|
|
</ignoreFiles>
|
|
|
|
</projectFiles>
|
|
|
|
<issueHandlers>
|
|
|
|
<UndefinedClass>
|
|
|
|
<errorLevel type="suppress">
|
2021-01-08 13:08:02 +03:00
|
|
|
<referencedClass name="Doctrine\DBAL\Exception" />
|
2021-01-08 13:19:46 +03:00
|
|
|
<referencedClass name="Doctrine\DBAL\Exception\InvalidFieldNameException" />
|
|
|
|
<referencedClass name="Doctrine\DBAL\Exception\TableNotFoundException" />
|
2020-10-26 14:48:37 +03:00
|
|
|
<referencedClass name="Doctrine\DBAL\Exception\UniqueConstraintViolationException" />
|
2021-01-08 13:08:02 +03:00
|
|
|
<referencedClass name="Doctrine\DBAL\Platforms\PostgreSQL94Platform" />
|
2020-12-04 14:58:51 +03:00
|
|
|
<referencedClass name="Doctrine\DBAL\Types\Types" />
|
2020-11-02 16:29:03 +03:00
|
|
|
<referencedClass name="OC" />
|
2020-09-29 12:52:55 +03:00
|
|
|
<referencedClass name="OCA\Files_Sharing\SharedStorage" />
|
2020-10-09 12:28:46 +03:00
|
|
|
</errorLevel>
|
|
|
|
</UndefinedClass>
|
|
|
|
<UndefinedDocblockClass>
|
|
|
|
<errorLevel type="suppress">
|
2021-01-08 13:08:02 +03:00
|
|
|
<referencedClass name="Doctrine\DBAL\Driver\Statement" />
|
|
|
|
<referencedClass name="Doctrine\DBAL\Exception" />
|
2020-11-02 16:29:03 +03:00
|
|
|
<referencedClass name="Doctrine\DBAL\Exception\UniqueConstraintViolationException" />
|
2021-01-08 13:08:02 +03:00
|
|
|
<referencedClass name="Doctrine\DBAL\Platforms\AbstractPlatform" />
|
2020-10-09 12:28:46 +03:00
|
|
|
<referencedClass name="Doctrine\DBAL\Schema\Schema" />
|
|
|
|
<referencedClass name="Doctrine\DBAL\Schema\SchemaException" />
|
|
|
|
<referencedClass name="Doctrine\DBAL\Schema\Table" />
|
2021-03-08 14:56:44 +03:00
|
|
|
<referencedClass name="OC\DB\ConnectionAdapter" />
|
2020-10-09 12:28:46 +03:00
|
|
|
</errorLevel>
|
|
|
|
</UndefinedDocblockClass>
|
2021-03-08 14:56:44 +03:00
|
|
|
<UndefinedInterfaceMethod>
|
|
|
|
<errorLevel type="suppress">
|
|
|
|
<referencedMethod name="OCP\IDBConnection::getInner" />
|
|
|
|
</errorLevel>
|
|
|
|
</UndefinedInterfaceMethod>
|
2020-11-03 21:20:16 +03:00
|
|
|
<InvalidThrow>
|
|
|
|
<errorLevel type="suppress">
|
|
|
|
<referencedClass name="Doctrine\DBAL\Exception\UniqueConstraintViolationException" />
|
|
|
|
</errorLevel>
|
|
|
|
</InvalidThrow>
|
2020-10-09 12:28:46 +03:00
|
|
|
</issueHandlers>
|
2020-10-28 16:10:03 +03:00
|
|
|
<stubs>
|
|
|
|
<file name="tests/stubs/oc_comments_manager.php" />
|
|
|
|
</stubs>
|
2020-10-09 12:28:46 +03:00
|
|
|
</psalm>
|