]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix psalm-ocp error about GdImage class
authorCôme Chilliet <come.chilliet@nextcloud.com>
Tue, 2 Nov 2021 10:07:40 +0000 (11:07 +0100)
committerCôme Chilliet <come.chilliet@nextcloud.com>
Tue, 2 Nov 2021 11:10:41 +0000 (12:10 +0100)
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
psalm-ocp.xml

index 5574ae0fb5dc18f568cba6e1e00849a6e361a130..4519b7e9ca46a7db42d753ce0838aa033b3f42dd 100644 (file)
        <extraFiles>
                <directory name="3rdparty"/>
        </extraFiles>
+       <issueHandlers>
+               <UndefinedDocblockClass>
+                       <errorLevel type="suppress">
+                               <!-- Classes from PHP>=8 -->
+                               <referencedClass name="GdImage" />
+                       </errorLevel>
+               </UndefinedDocblockClass>
+       </issueHandlers>
 </psalm>