Benjamin Renard
6fdc5447f1
* Code cleaning and fix some small errors using Phpstan * Configure pre-commit to run Phpstan before each commit * Some little improvments and logging, mail, smarty & URL libs * Add Sentry integration * Add Webstat JS code inclusion * Install Smarty dependency using composer Breaking changes: * Rename Event class as HookEvent to avoid conflict with PECL event * URL with refresh GET parameter now automatically trigger redirection without it after page loading to avoid to keep it in URL
32 lines
1.1 KiB
Plaintext
32 lines
1.1 KiB
Plaintext
parameters:
|
|
level: 5
|
|
paths:
|
|
- 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
|
|
- "#Access to private property UrlRequest::\\$(handler|api_mode|authenticated)\\.#"
|
|
-
|
|
message: "#Variable \\$status_list might not be defined\\.#"
|
|
paths:
|
|
- includes/cli.php
|
|
|