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
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