Rename GuzzleSiteAuthenticator namespace to SiteConfig

This commit is contained in:
Yassine Guedidi 2024-02-02 21:33:09 +01:00
parent 5aeb116d83
commit 8abea942b3
3 changed files with 5 additions and 5 deletions

View file

@ -191,13 +191,13 @@ services:
wallabag_core.http_client:
alias: 'httplug.client.wallabag_core'
Wallabag\CoreBundle\GuzzleSiteAuthenticator\GrabySiteConfigBuilder:
Wallabag\CoreBundle\SiteConfig\GrabySiteConfigBuilder:
tags:
- { name: monolog.logger, channel: graby }
# service alias override
bd_guzzle_site_authenticator.site_config_builder:
alias: Wallabag\CoreBundle\GuzzleSiteAuthenticator\GrabySiteConfigBuilder
alias: Wallabag\CoreBundle\SiteConfig\GrabySiteConfigBuilder
GuzzleHttp\Cookie\CookieJar:
alias: 'Wallabag\CoreBundle\Helper\FileCookieJar'

View file

@ -1,6 +1,6 @@
<?php
namespace Wallabag\CoreBundle\GuzzleSiteAuthenticator;
namespace Wallabag\CoreBundle\SiteConfig;
use BD\GuzzleSiteAuthenticator\SiteConfig\SiteConfig;
use BD\GuzzleSiteAuthenticator\SiteConfig\SiteConfigBuilder;

View file

@ -1,6 +1,6 @@
<?php
namespace Tests\Wallabag\CoreBundle\GuzzleSiteAuthenticator;
namespace Tests\Wallabag\CoreBundle\SiteConfig;
use Graby\SiteConfig\ConfigBuilder;
use Graby\SiteConfig\SiteConfig as GrabySiteConfig;
@ -10,8 +10,8 @@ use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage;
use Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken;
use Tests\Wallabag\CoreBundle\WallabagCoreTestCase;
use Wallabag\CoreBundle\Entity\User;
use Wallabag\CoreBundle\GuzzleSiteAuthenticator\GrabySiteConfigBuilder;
use Wallabag\CoreBundle\Repository\SiteCredentialRepository;
use Wallabag\CoreBundle\SiteConfig\GrabySiteConfigBuilder;
class GrabySiteConfigBuilderTest extends WallabagCoreTestCase
{