From b7bdd7ca62712b596c3669c9f4b413cde47802e8 Mon Sep 17 00:00:00 2001 From: Prokyonn Date: Fri, 22 Sep 2023 01:23:57 +0200 Subject: [PATCH] Fix php 8 --- Tests/Application/Kernel.php | 4 ++-- Tests/Application/config/config_website.yml | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Tests/Application/Kernel.php b/Tests/Application/Kernel.php index 40f9b673..02741ca9 100644 --- a/Tests/Application/Kernel.php +++ b/Tests/Application/Kernel.php @@ -20,7 +20,7 @@ class Kernel extends SuluTestKernel { - public function registerBundles() + public function registerBundles(): iterable { $bundles = parent::registerBundles(); $bundles[] = new SuluCommentBundle(); @@ -40,7 +40,7 @@ public function registerContainerConfiguration(LoaderInterface $loader) $loader->load(__DIR__ . '/config/config_' . $context . '.yml'); } - protected function getKernelParameters() + protected function getKernelParameters(): array { $parameters = parent::getKernelParameters(); diff --git a/Tests/Application/config/config_website.yml b/Tests/Application/config/config_website.yml index d6b7d7b7..e0e03051 100644 --- a/Tests/Application/config/config_website.yml +++ b/Tests/Application/config/config_website.yml @@ -9,7 +9,7 @@ security: access_decision_manager: strategy: affirmative - encoders: + password_hashers: Sulu\Bundle\SecurityBundle\Entity\User: plaintext providers: @@ -22,7 +22,6 @@ security: firewalls: test: http_basic: ~ - anonymous: ~ sulu_test: enable_test_user_provider: true