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