From 3c3a2cb9938d6c2a4753e55659d26b014c299941 Mon Sep 17 00:00:00 2001 From: Hugues Tavernier Date: Thu, 9 May 2024 11:17:03 +0200 Subject: [PATCH] fix vite-bundle php80 error with ViteCollector --- src/vite-bundle/phpstan.neon | 2 +- src/vite-bundle/src/DataCollector/ViteCollector.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vite-bundle/phpstan.neon b/src/vite-bundle/phpstan.neon index 54ce9603..8fb2c5d5 100644 --- a/src/vite-bundle/phpstan.neon +++ b/src/vite-bundle/phpstan.neon @@ -2,6 +2,6 @@ parameters: level: max paths: - src - - tests/Service/DebugTest.php + includes: - vendor/phpstan/phpstan-symfony/extension.neon diff --git a/src/vite-bundle/src/DataCollector/ViteCollector.php b/src/vite-bundle/src/DataCollector/ViteCollector.php index 20aab1e9..f19045b8 100644 --- a/src/vite-bundle/src/DataCollector/ViteCollector.php +++ b/src/vite-bundle/src/DataCollector/ViteCollector.php @@ -11,7 +11,7 @@ class ViteCollector extends AbstractDataCollector { public function __construct( - private readonly EntrypointRenderer $entrypointRenderer + private EntrypointRenderer $entrypointRenderer ) { }