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], ), );