aboutsummaryrefslogtreecommitdiff
path: root/phpstan.neon.dist
diff options
context:
space:
mode:
Diffstat (limited to 'phpstan.neon.dist')
-rw-r--r--phpstan.neon.dist24
1 files changed, 24 insertions, 0 deletions
diff --git a/phpstan.neon.dist b/phpstan.neon.dist
new file mode 100644
index 0000000..0968809
--- /dev/null
+++ b/phpstan.neon.dist
@@ -0,0 +1,24 @@
+parameters:
+ level: 0
+ phpVersion: 70200 # PHP 7.2
+ paths:
+ # - app/routes
+ - lib
+ # - tests
+ scanDirectories:
+ - app/controllers
+ - lib
+ - vendor
+ excludePaths:
+ - lib/classes/ZipArchiveLegacyTrait.php
+ - lib/soap/StudipSoapClient_PHP5.class.php
+ tmpDir: .caches
+ earlyTerminatingMethodCalls:
+ RESTAPI\RouteMap:
+ - error
+ - halt
+ errorFormat:
+ junit
+ ignoreErrors:
+ - '#Access to an undefined property#'
+ - '#Undefined variable#'