eesyphp/phpstan.neon

31 lines
1 KiB
Text

parameters:
level: 5
paths:
- src
- includes
- public_html
- bin
excludePaths:
- includes/config.local.php
ignoreErrors:
-
message: "#Instantiated class Mail_mime not found\\.#"
path: includes/mail.php
-
message: "#Call to method (setFrom|setSubject|setHTMLBody|setTXTBody|get|headers|addAttachment)\\(\\) on an unknown class Mail_mime\\.#"
path: includes/mail.php
-
message: "#Call to static method factory\\(\\) on an unknown class Mail\\.#"
path: includes/mail.php
-
message: "#Call to static method isError\\(\\) on an unknown class PEAR\\.#"
path: includes/mail.php
-
message: "#Variable \\$root_dir_path might not be defined\\.#"
paths:
- includes/config.inc.php
-
message: "#Variable \\$status_list might not be defined\\.#"
paths:
- includes/cli.php