From 4546a4af512fb4df12de005ed2c2d97e6be5fbec Mon Sep 17 00:00:00 2001 From: Art4 Date: Mon, 24 Feb 2025 13:17:34 +0000 Subject: [PATCH] Run PHPStan with level 3 --- .phpstan.neon | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/.phpstan.neon b/.phpstan.neon index 8dfd10deae..bf01c3cc07 100644 --- a/.phpstan.neon +++ b/.phpstan.neon @@ -3,10 +3,10 @@ # SPDX-License-Identifier: CC0-1.0 parameters: - level: 2 + level: 3 paths: - - addon/ + # - addon/ - bin/auth_ejabberd.php - bin/console.php - bin/daemon.php @@ -47,26 +47,26 @@ parameters: message: '(^Parameter .+ has invalid type IMAP\\Connection\.$)' path: src - - + # - # Ignore missing SMTP class in PHPMailer 5.2.21 # see https://github.com/PHPMailer/PHPMailer/blob/v5.2.21/class.smtp.php - message: '(^.+ an unknown class SMTP\.$)' - path: addon/mailstream/phpmailer + # message: '(^.+ an unknown class SMTP\.$)' + # path: addon/mailstream/phpmailer - - + # - # Ignore missing SMTP class in PHPMailer 5.2.21 # see https://github.com/PHPMailer/PHPMailer/blob/v5.2.21/class.smtp.php - message: '(^Property .+ has unknown class SMTP as its type\.$)' - path: addon/mailstream/phpmailer + # message: '(^Property .+ has unknown class SMTP as its type\.$)' + # path: addon/mailstream/phpmailer - - + # - # Ignore missing SMTP class in PHPMailer 5.2.21 # see https://github.com/PHPMailer/PHPMailer/blob/v5.2.21/class.smtp.php - message: '(^Method .+ has invalid return type SMTP\.$)' - path: addon/mailstream/phpmailer + # message: '(^Method .+ has invalid return type SMTP\.$)' + # path: addon/mailstream/phpmailer - - + # - # Ignore missing SMTP class in PHPMailer 5.2.21 # see https://github.com/PHPMailer/PHPMailer/blob/v5.2.21/class.smtp.php - message: '(^Instantiated class SMTP not found\.$)' - path: addon/mailstream/phpmailer + # message: '(^Instantiated class SMTP not found\.$)' + # path: addon/mailstream/phpmailer