summaryrefslogtreecommitdiffstats
path: root/psalm.xml
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-11-03 19:20:16 +0100
committerJoas Schilling <coding@schilljs.com>2020-11-26 09:46:45 +0100
commit2b7ce7a2d3ab2a62892c9d59e3b1d94065619418 (patch)
tree373233144657b1f3f1d7566b046dbff3e8fe3a7f /psalm.xml
parent758048ff39f33351b8db1362d21175b0d0c46a4c (diff)
Ignore the exception that is unknown
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'psalm.xml')
-rw-r--r--psalm.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/psalm.xml b/psalm.xml
index 70f2c04ad..4b701c084 100644
--- a/psalm.xml
+++ b/psalm.xml
@@ -34,6 +34,11 @@
<referencedClass name="Doctrine\DBAL\Schema\Table" />
</errorLevel>
</UndefinedDocblockClass>
+ <InvalidThrow>
+ <errorLevel type="suppress">
+ <referencedClass name="Doctrine\DBAL\Exception\UniqueConstraintViolationException" />
+ </errorLevel>
+ </InvalidThrow>
</issueHandlers>
<stubs>
<file name="tests/stubs/oc_comments_manager.php" />