diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2021-11-02 11:07:40 +0100 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2021-11-02 11:07:40 +0100 |
commit | 3b4fb5e8432b9e70f032324439b79c7e29a3d8f4 (patch) | |
tree | e590451844ee121613243232b4e3279862253b94 | |
parent | f8c8b2cea9a71724595622734dfb75d9175d5a6f (diff) | |
download | nextcloud-server-3b4fb5e8432b9e70f032324439b79c7e29a3d8f4.tar.gz nextcloud-server-3b4fb5e8432b9e70f032324439b79c7e29a3d8f4.zip |
Fix psalm-ocp error about GdImage class
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
-rw-r--r-- | psalm-ocp.xml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/psalm-ocp.xml b/psalm-ocp.xml index 5574ae0fb5d..4519b7e9ca4 100644 --- a/psalm-ocp.xml +++ b/psalm-ocp.xml @@ -16,4 +16,12 @@ <extraFiles> <directory name="3rdparty"/> </extraFiles> + <issueHandlers> + <UndefinedDocblockClass> + <errorLevel type="suppress"> + <!-- Classes from PHP>=8 --> + <referencedClass name="GdImage" /> + </errorLevel> + </UndefinedDocblockClass> + </issueHandlers> </psalm> |