From 681d288653e165fee7a371fc33bf8a807ddba3b2 Mon Sep 17 00:00:00 2001 From: Oliver Klee Date: Mon, 6 May 2024 12:52:07 +0200 Subject: [PATCH] [TASK] Raise PHPStan to level 8 (#1267) --- 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..0c9d45d 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -1,2 +1,6 @@ parameters: - ignoreErrors: [] + ignoreErrors: + - + message: "#^Cannot call method getImage\\(\\) on TTN\\\\Tea\\\\Domain\\\\Model\\\\Tea\\|null\\.$#" + count: 1 + path: Tests/Functional/Domain/Repository/TeaRepositoryTest.php diff --git a/phpstan.neon b/phpstan.neon index 2e6618a..5430b1d 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: 6 + level: 8 paths: - Classes