From 86676e8cb94c63965eefd776bec9738d479c4e36 Mon Sep 17 00:00:00 2001 From: Oliver Klee Date: Mon, 6 May 2024 06:32:12 +0200 Subject: [PATCH] [TASK] Raise PHPStan to level 6 (#1258) Part of #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..699d4fe 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -1,2 +1,6 @@ parameters: - ignoreErrors: [] + ignoreErrors: + - + message: "#^Method TTN\\\\Tea\\\\Domain\\\\Repository\\\\TeaRepository\\:\\:findByOwnerUid\\(\\) return type with generic interface TYPO3\\\\CMS\\\\Extbase\\\\Persistence\\\\QueryResultInterface does not specify its types\\: ModelType$#" + count: 1 + path: Classes/Domain/Repository/TeaRepository.php diff --git a/phpstan.neon b/phpstan.neon index f0fb6e3..2e6618a 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: 4 + level: 6 paths: - Classes