diff options
author | Sean Molenaar <sean@seanmolenaar.eu> | 2020-08-24 22:29:35 +0200 |
---|---|---|
committer | Sean Molenaar <SMillerDev@users.noreply.github.com> | 2020-08-25 20:52:48 +0200 |
commit | 54630030c35067c168847b3eaf109d93058e586a (patch) | |
tree | b9507a58686635fafa8289f502c90c18793ee7c2 /phpstan.neon.dist | |
parent | ea95ccb378a2c22f3a8865561b723afe155d2f1b (diff) |
Add phpstan checks
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
Diffstat (limited to 'phpstan.neon.dist')
-rw-r--r-- | phpstan.neon.dist | 9 |
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 |