Run PHPStan with level 3

This commit is contained in:
Art4 2025-02-24 13:17:34 +00:00
parent 3ecae98f86
commit 4546a4af51

View file

@ -3,10 +3,10 @@
# SPDX-License-Identifier: CC0-1.0 # SPDX-License-Identifier: CC0-1.0
parameters: parameters:
level: 2 level: 3
paths: paths:
- addon/ # - addon/
- bin/auth_ejabberd.php - bin/auth_ejabberd.php
- bin/console.php - bin/console.php
- bin/daemon.php - bin/daemon.php
@ -47,26 +47,26 @@ parameters:
message: '(^Parameter .+ has invalid type IMAP\\Connection\.$)' message: '(^Parameter .+ has invalid type IMAP\\Connection\.$)'
path: src path: src
- # -
# Ignore missing SMTP class in PHPMailer 5.2.21 # Ignore missing SMTP class in PHPMailer 5.2.21
# see https://github.com/PHPMailer/PHPMailer/blob/v5.2.21/class.smtp.php # see https://github.com/PHPMailer/PHPMailer/blob/v5.2.21/class.smtp.php
message: '(^.+ an unknown class SMTP\.$)' # message: '(^.+ an unknown class SMTP\.$)'
path: addon/mailstream/phpmailer # path: addon/mailstream/phpmailer
- # -
# Ignore missing SMTP class in PHPMailer 5.2.21 # Ignore missing SMTP class in PHPMailer 5.2.21
# see https://github.com/PHPMailer/PHPMailer/blob/v5.2.21/class.smtp.php # see https://github.com/PHPMailer/PHPMailer/blob/v5.2.21/class.smtp.php
message: '(^Property .+ has unknown class SMTP as its type\.$)' # message: '(^Property .+ has unknown class SMTP as its type\.$)'
path: addon/mailstream/phpmailer # path: addon/mailstream/phpmailer
- # -
# Ignore missing SMTP class in PHPMailer 5.2.21 # Ignore missing SMTP class in PHPMailer 5.2.21
# see https://github.com/PHPMailer/PHPMailer/blob/v5.2.21/class.smtp.php # see https://github.com/PHPMailer/PHPMailer/blob/v5.2.21/class.smtp.php
message: '(^Method .+ has invalid return type SMTP\.$)' # message: '(^Method .+ has invalid return type SMTP\.$)'
path: addon/mailstream/phpmailer # path: addon/mailstream/phpmailer
- # -
# Ignore missing SMTP class in PHPMailer 5.2.21 # Ignore missing SMTP class in PHPMailer 5.2.21
# see https://github.com/PHPMailer/PHPMailer/blob/v5.2.21/class.smtp.php # see https://github.com/PHPMailer/PHPMailer/blob/v5.2.21/class.smtp.php
message: '(^Instantiated class SMTP not found\.$)' # message: '(^Instantiated class SMTP not found\.$)'
path: addon/mailstream/phpmailer # path: addon/mailstream/phpmailer