From: Art4 Date: Sat, 7 Dec 2024 14:35:59 +0000 (+0000) Subject: Ignore missing IMAP\Connection class in PHP 7.4 and 8.0 X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8aa54fe9fdfda29886c4713cbce0680884d3da8e;p=friendica.git Ignore missing IMAP\Connection class in PHP 7.4 and 8.0 --- diff --git a/.phpstan.neon b/.phpstan.neon index de35beae92..8978a15eb5 100644 --- a/.phpstan.neon +++ b/.phpstan.neon @@ -26,6 +26,16 @@ parameters: ignoreErrors: - - # Ignore missing GdImage class in PHP 7.4 + # Ignore missing GdImage class in PHP <= 7.4 message: '(^Property .+ has unknown class GdImage as its type\.$)' path: src + + - + # Ignore missing IMAP\Connection class in PHP <= 8.0 + message: '(^Method .+ has invalid return type IMAP\\Connection\.$)' + path: src + + - + # Ignore missing IMAP\Connection class in PHP <= 8.0 + message: '(^Parameter .+ has invalid type IMAP\\Connection\.$)' + path: src