From 74d26a72a0e35c74b738d0804b5610da991a22ba Mon Sep 17 00:00:00 2001 From: Oliver Klee Date: Thu, 18 Apr 2024 15:40:58 +0200 Subject: [PATCH] [CLEANUP] Reduce redundancies in the PHPStan configuration (#1242) Directories configured via `paths` already allows PHPStan to discover the symbols in the code located there. So there is no need to add these directories again via `scanDirectories`. https://phpstan.org/user-guide/discovering-symbols#third-party-code-outside-of-composer-dependencies --- phpstan.neon | 5 ----- 1 file changed, 5 deletions(-) diff --git a/phpstan.neon b/phpstan.neon index 2ccfbb5..ce2fa9c 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -20,11 +20,6 @@ parameters: - Configuration - Tests - scanDirectories: - - Classes - - Configuration - - Tests - type_coverage: return_type: 100 param_type: 100