From ca2e07d760c09865d1779afb131c22efa26cdecf Mon Sep 17 00:00:00 2001 From: Lina Wolf <48202465+linawolf@users.noreply.github.com> Date: Sat, 4 May 2024 14:01:28 +0200 Subject: [PATCH] [TASK] Raise PHPstan level to 5 (#268) --- Build/phpstan/phpstan.neon | 2 +- Classes/Controller/HtmlParserController.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Build/phpstan/phpstan.neon b/Build/phpstan/phpstan.neon index 21c1ec9..f58c47f 100644 --- a/Build/phpstan/phpstan.neon +++ b/Build/phpstan/phpstan.neon @@ -3,7 +3,7 @@ includes: parameters: phpVersion: 80200 - level: 4 + level: 5 bootstrapFiles: - phpstan-typo3-constants.php diff --git a/Classes/Controller/HtmlParserController.php b/Classes/Controller/HtmlParserController.php index 8960b92..87d6376 100644 --- a/Classes/Controller/HtmlParserController.php +++ b/Classes/Controller/HtmlParserController.php @@ -90,7 +90,7 @@ public function indexAction(): ResponseInterface $testHTML, $tagCfg, false, - false, + 0, ['xhtml' => 1], ), );