From 6d37c1f8ab15dcff2a0e3779919ff5f39a1fa0f4 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Tue, 19 Oct 2021 00:09:59 +0200 Subject: [PATCH] Ignore unmatched errors --- phpstan/config.neon | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/phpstan/config.neon b/phpstan/config.neon index c59a66951..710ebd4ea 100644 --- a/phpstan/config.neon +++ b/phpstan/config.neon @@ -4,11 +4,15 @@ includes: parameters: level: 5 + excludes_analyse: - '../tests/Composer/Test/Fixtures/*' - '../tests/Composer/Test/Autoload/Fixtures/*' - '../tests/Composer/Test/Plugin/Fixtures/*' - '../tests/Composer/Test/PolyfillTestCase.php' + + reportUnmatchedIgnoredErrors: false + ignoreErrors: # unused parameters - '~^Constructor of class Composer\\Repository\\VcsRepository has an unused parameter \$dispatcher\.$~'