From f3f391ab430894c0b3711089184da1138950fb0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Tue, 13 Jun 2023 19:01:19 +0200 Subject: [PATCH] Updated phpstan config --- phpstan.neon | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/phpstan.neon b/phpstan.neon index e0e0e662..4aa7c6a3 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -1,11 +1,20 @@ parameters: + + level: 5 + + paths: + - src + - tests + + excludes_analyse: + - src/DataTables/Adapter/* + - src/Configuration/* + - src/Doctrine/Purger/* + + + inferPrivatePropertyTypeFromConstructor: true treatPhpDocTypesAsCertain: false symfony: - container_xml_path: '%rootDir%/../../../var/cache/dev/App_KernelDevDebugContainer.xml' - - excludes_analyse: - - src/DataTables/Adapter/* - - src/Configuration/* - - src/Doctrine/Purger/* \ No newline at end of file + container_xml_path: '%rootDir%/../../../var/cache/dev/App_KernelDevDebugContainer.xml' \ No newline at end of file