aboutsummaryrefslogtreecommitdiff
path: root/phpstan.dist.neon
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2025-01-31 13:59:51 +0100
committerGravatar GitHub <noreply@github.com> 2025-01-31 13:59:51 +0100
commite749490693eccd61e9ea9152fada33470e5492f7 (patch)
tree405c8c03a676f74399f21830e5e0244dac5eb8bd /phpstan.dist.neon
parentf72f5e95238a866c39535932c803720d7644a276 (diff)
Pass PHPStan checkBenevolentUnionTypes (#7270)
Diffstat (limited to 'phpstan.dist.neon')
-rw-r--r--phpstan.dist.neon4
1 files changed, 2 insertions, 2 deletions
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