mirror of
https://github.com/friendica/friendica
synced 2026-03-14 01:49:03 +01:00
Exclude deprecated PHPMailer library from PHPStan static analysis
- We should update PHPMailer or install it via Composer
This commit is contained in:
parent
4afcfce6ad
commit
3e7a1770dd
1 changed files with 2 additions and 25 deletions
|
|
@ -14,6 +14,7 @@ parameters:
|
|||
- addon/*/vendor/*
|
||||
- addon/convert/UnitConvertor.php
|
||||
- addon/pumpio/oauth/*
|
||||
- addon/mailstream/phpmailer/*
|
||||
|
||||
scanDirectories:
|
||||
- mod
|
||||
|
|
@ -25,28 +26,4 @@ parameters:
|
|||
dynamicConstantNames:
|
||||
- DB_UPDATE_VERSION
|
||||
|
||||
ignoreErrors:
|
||||
|
||||
-
|
||||
# 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
|
||||
|
||||
-
|
||||
# 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
|
||||
|
||||
-
|
||||
# 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
|
||||
|
||||
-
|
||||
# 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
|
||||
ignoreErrors: []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue