diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2021-10-25 16:13:50 +0200 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2021-10-28 17:48:43 +0200 |
commit | 36317896513ce229938d3cba96d32db19d2510d2 (patch) | |
tree | 5897796dc942200e8fb7fd02b2d8672573917bf2 /psalm.xml | |
parent | df4e6bab6938287e7c0a876bdeacb7e0d8617723 (diff) | |
download | nextcloud-server-36317896513ce229938d3cba96d32db19d2510d2.tar.gz nextcloud-server-36317896513ce229938d3cba96d32db19d2510d2.zip |
Fix resource usages in OC_Image
This makes sure using resource or GdImage (PHP>=8) behaves the same.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'psalm.xml')
-rw-r--r-- | psalm.xml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/psalm.xml b/psalm.xml index a075ceb24a7..4f75af61dde 100644 --- a/psalm.xml +++ b/psalm.xml @@ -81,6 +81,8 @@ <errorLevel type="suppress"> <referencedClass name="OCA\GroupFolders\Mount\GroupFolderStorage"/> <referencedClass name="OCA\TwoFactorNextcloudNotification\Controller\APIController"/> + <!-- Classes from PHP>=8 (needed to be able to use \GdImage::class) --> + <referencedClass name="GdImage" /> </errorLevel> </UndefinedClass> <UndefinedFunction> @@ -124,6 +126,8 @@ <!-- Helper classes for sharing API integration from other apps --> <referencedClass name="OCA\Deck\Sharing\ShareAPIHelper" /> <referencedClass name="OCA\Talk\Share\Helper\DeletedShareAPIController" /> + <!-- Classes from PHP>=8 --> + <referencedClass name="GdImage" /> </errorLevel> </UndefinedDocblockClass> </issueHandlers> |