eesyphp/phpstan.neon
2024-02-18 18:27:59 +01:00

35 lines
1.3 KiB
Plaintext

parameters:
level: 5
paths:
- src
universalObjectCratesClasses:
- EesyPHP\HookEvent
- EesyPHP\UrlRequest
- EesyPHP\Auth\User
- EesyPHP\Db\DbObject
ignoreErrors:
-
message: "#Property EesyPHP\\\\Auth\\\\Ldap::\\$connection has unknown class Net_LDAP2 as its type\\.#"
path: src/Auth/Ldap.php
-
message: "#Call to method search\\(\\) on an unknown class Net_LDAP2\\.#"
path: src/Auth/Ldap.php
-
message: "#Call to static method connect\\(\\) on an unknown class Net_LDAP2\\.#"
path: src/Auth/Ldap.php
-
message: "#Call to static method escape\\(\\) on an unknown class Net_LDAP2_Filter\\.#"
path: src/Auth/Ldap.php
-
message: "#Instantiated class Mail_mime not found\\.#"
path: src/Email.php
-
message: "#Call to method (setFrom|setSubject|setHTMLBody|setTXTBody|get|headers|addAttachment)\\(\\) on an unknown class Mail_mime\\.#"
path: src/Email.php
-
message: "#Call to static method factory\\(\\) on an unknown class Mail\\.#"
path: src/Email.php
-
message: "#Call to static method isError\\(\\) on an unknown class PEAR\\.#"
path: src/Email.php