From 3f6855a3c9a63ea844cf2536288a2f07f1b56175 Mon Sep 17 00:00:00 2001 From: Sacha Telgenhof Date: Sat, 30 Dec 2023 14:34:00 +0100 Subject: [PATCH] Add a few more PHPStan settings and fix indendation. Signed-off-by: Sacha Telgenhof --- phpstan.neon.dist | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/phpstan.neon.dist b/phpstan.neon.dist index fad49a494..f9ac466cf 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -1,10 +1,13 @@ parameters: - level: 6 - paths: - - src - - examples - ignoreErrors: - - - message: '#Comparison operation "<=" between [0-9]+ and int<[0-9]+, max> is always true.#' - path: src/Yasumi/Provider/Turkey.php - checkGenericClassInNonGenericObjectType: false + level: 6 + paths: + - src + - examples + ignoreErrors: + - + message: '#Comparison operation "<=" between [0-9]+ and int<[0-9]+, max> is always true.#' + path: src/Yasumi/Provider/Turkey.php + checkGenericClassInNonGenericObjectType: false + reportUnmatchedIgnoredErrors: true # Do not allow outdated errors in the baseline + treatPhpDocTypesAsCertain: false + tipsOfTheDay: false