summaryrefslogtreecommitdiffstats
path: root/phpstan.neon.dist
diff options
context:
space:
mode:
authorSean Molenaar <sean@seanmolenaar.eu>2020-08-24 22:29:35 +0200
committerSean Molenaar <SMillerDev@users.noreply.github.com>2020-08-25 20:52:48 +0200
commit54630030c35067c168847b3eaf109d93058e586a (patch)
treeb9507a58686635fafa8289f502c90c18793ee7c2 /phpstan.neon.dist
parentea95ccb378a2c22f3a8865561b723afe155d2f1b (diff)
Add phpstan checks
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
Diffstat (limited to 'phpstan.neon.dist')
-rw-r--r--phpstan.neon.dist9
1 files changed, 9 insertions, 0 deletions
diff --git a/phpstan.neon.dist b/phpstan.neon.dist
new file mode 100644
index 000000000..113409c06
--- /dev/null
+++ b/phpstan.neon.dist
@@ -0,0 +1,9 @@
+parameters:
+ inferPrivatePropertyTypeFromConstructor: true
+ treatPhpDocTypesAsCertain: false
+ bootstrapFiles:
+ - %currentWorkingDirectory%/../../lib/base.php
+ excludes_analyse:
+ - %currentWorkingDirectory%/lib/Migration/*.php
+ - %currentWorkingDirectory%/lib/AppInfo/Application.php
+ - %currentWorkingDirectory%/lib/Fetcher/Client/Legacy*.php