From 54630030c35067c168847b3eaf109d93058e586a Mon Sep 17 00:00:00 2001 From: Sean Molenaar Date: Mon, 24 Aug 2020 22:29:35 +0200 Subject: Add phpstan checks Signed-off-by: Sean Molenaar --- phpstan.neon.dist | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 phpstan.neon.dist (limited to 'phpstan.neon.dist') 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 -- cgit v1.2.3