From e749490693eccd61e9ea9152fada33470e5492f7 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Fri, 31 Jan 2025 13:59:51 +0100 Subject: Pass PHPStan checkBenevolentUnionTypes (#7270) --- phpstan.dist.neon | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'phpstan.dist.neon') diff --git a/phpstan.dist.neon b/phpstan.dist.neon index 0f7612d8a..202591c83 100644 --- a/phpstan.dist.neon +++ b/phpstan.dist.neon @@ -14,13 +14,13 @@ parameters: - lib/phpgt/* - lib/phpmailer/* - lib/simplepie/* - - vendor/* analyseAndScan: - .git/*? - extensions/node_modules? - extensions/symbolic? - extensions/vendor? - node_modules/*? + - vendor/* bootstrapFiles: - cli/_cli.php - lib/favicons.php @@ -36,7 +36,7 @@ parameters: - STDOUT - TMP_PATH - USERS_PATH - checkBenevolentUnionTypes: false # TODO pass + checkBenevolentUnionTypes: true checkImplicitMixed: false # TODO pass checkMissingOverrideMethodAttribute: true checkTooWideReturnTypesInProtectedAndPublicMethods: true -- cgit v1.2.3