Skip to content

Commit

Permalink
Fix php 8
Browse files Browse the repository at this point in the history
  • Loading branch information
Prokyonn committed Sep 21, 2023
1 parent fbc26ee commit b7bdd7c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Tests/Application/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

class Kernel extends SuluTestKernel
{
public function registerBundles()
public function registerBundles(): iterable
{
$bundles = parent::registerBundles();
$bundles[] = new SuluCommentBundle();
Expand All @@ -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();

Expand Down
3 changes: 1 addition & 2 deletions Tests/Application/config/config_website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ security:
access_decision_manager:
strategy: affirmative

encoders:
password_hashers:
Sulu\Bundle\SecurityBundle\Entity\User: plaintext

providers:
Expand All @@ -22,7 +22,6 @@ security:
firewalls:
test:
http_basic: ~
anonymous: ~

sulu_test:
enable_test_user_provider: true
Expand Down

0 comments on commit b7bdd7c

Please sign in to comment.