From 60145ba685ef56cebe05346bffbd78a9088ba269 Mon Sep 17 00:00:00 2001 From: Oliver Klee Date: Mon, 6 May 2024 13:25:05 +0200 Subject: [PATCH] [TASK] Raise PHPStan to level 9 (#1269) Fixes #1252 --- phpstan-baseline.neon | 6 +++++- phpstan.neon | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index aab4991..5e1924b 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -1,2 +1,6 @@ parameters: - ignoreErrors: [] + ignoreErrors: + - + message: "#^Method TTN\\\\Tea\\\\Controller\\\\FrontEndEditorController\\:\\:getUidOfLoggedInUser\\(\\) should return int\\<0, max\\> but returns mixed\\.$#" + count: 1 + path: Classes/Controller/FrontEndEditorController.php diff --git a/phpstan.neon b/phpstan.neon index 5430b1d..58d6f6d 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -10,7 +10,7 @@ parameters: # Don't be overly greedy on machines with more CPU's to be a good neighbor especially on CI maximumNumberOfProcesses: 5 - level: 8 + level: 9 paths: - Classes