]> git.mxchange.org Git - friendica.git/commitdiff
Run PHPStan with level 3
authorArt4 <art4@wlabs.de>
Mon, 24 Feb 2025 13:17:34 +0000 (13:17 +0000)
committerArt4 <art4@wlabs.de>
Mon, 24 Feb 2025 13:17:34 +0000 (13:17 +0000)
.phpstan.neon

index 8dfd10deae285a9afc1bbbce3672134cca83983e..bf01c3cc07d5b948582da533e8df2a16d9fe4368 100644 (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