1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-09-15 18:57:05 +00:00

Remove the CoreBundle namespace

This commit is contained in:
Yassine Guedidi 2024-02-19 01:30:12 +01:00
parent fe039247b5
commit 0b44170e83
338 changed files with 1061 additions and 1061 deletions

View file

@ -1,6 +1,6 @@
<?php
namespace Wallabag\CoreBundle\Helper;
namespace Wallabag\Helper;
use Graby\Graby;
use Psr\Log\LoggerInterface;
@ -8,8 +8,8 @@ use Symfony\Component\Mime\MimeTypes;
use Symfony\Component\Validator\Constraints\Locale as LocaleConstraint;
use Symfony\Component\Validator\Constraints\Url as UrlConstraint;
use Symfony\Component\Validator\Validator\ValidatorInterface;
use Wallabag\CoreBundle\Entity\Entry;
use Wallabag\CoreBundle\Tools\Utils;
use Wallabag\Entity\Entry;
use Wallabag\Tools\Utils;
/**
* This kind of proxy class takes care of getting the content from an url

View file

@ -1,6 +1,6 @@
<?php
namespace Wallabag\CoreBundle\Helper;
namespace Wallabag\Helper;
use Defuse\Crypto\Crypto;
use Defuse\Crypto\Exception\WrongKeyOrModifiedCiphertextException;

View file

@ -1,6 +1,6 @@
<?php
namespace Wallabag\CoreBundle\Helper;
namespace Wallabag\Helper;
use enshrined\svgSanitize\Sanitizer;
use GuzzleHttp\Psr7\Uri;

View file

@ -1,6 +1,6 @@
<?php
namespace Wallabag\CoreBundle\Helper;
namespace Wallabag\Helper;
use Doctrine\ORM\Mapping as ORM;

View file

@ -1,6 +1,6 @@
<?php
namespace Wallabag\CoreBundle\Helper;
namespace Wallabag\Helper;
use Html2Text\Html2Text;
use JMS\Serializer\SerializationContext;
@ -10,8 +10,8 @@ use PHPePub\Core\Structure\OPF\DublinCore;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
use Symfony\Contracts\Translation\TranslatorInterface;
use Wallabag\CoreBundle\Entity\Entry;
use Wallabag\CoreBundle\Entity\User;
use Wallabag\Entity\Entry;
use Wallabag\Entity\User;
/**
* This class doesn't have unit test BUT it's fully covered by a functional test with ExportControllerTest.

View file

@ -1,6 +1,6 @@
<?php
namespace Wallabag\CoreBundle\Helper;
namespace Wallabag\Helper;
use GuzzleHttp\Cookie\FileCookieJar as BaseFileCookieJar;
use GuzzleHttp\Cookie\SetCookie;

View file

@ -1,6 +1,6 @@
<?php
namespace Wallabag\CoreBundle\Helper;
namespace Wallabag\Helper;
use GuzzleHttp\Client as GuzzleClient;
use GuzzleHttp\Cookie\CookieJar;

View file

@ -1,12 +1,12 @@
<?php
namespace Wallabag\CoreBundle\Helper;
namespace Wallabag\Helper;
use Pagerfanta\Adapter\AdapterInterface;
use Pagerfanta\Adapter\NullAdapter;
use Pagerfanta\Pagerfanta;
use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
use Wallabag\CoreBundle\Entity\User;
use Wallabag\Entity\User;
class PreparePagerForEntries
{

View file

@ -1,12 +1,12 @@
<?php
namespace Wallabag\CoreBundle\Helper;
namespace Wallabag\Helper;
use GuzzleHttp\Psr7\Uri;
use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
use Wallabag\CoreBundle\Entity\Config;
use Wallabag\CoreBundle\Entity\User;
use Wallabag\Entity\Config;
use Wallabag\Entity\User;
/**
* Manage redirections to avoid redirecting to empty routes.

View file

@ -1,11 +1,11 @@
<?php
namespace Wallabag\CoreBundle\Helper;
namespace Wallabag\Helper;
use Psr\Log\LoggerInterface;
use RulerZ\RulerZ;
use Wallabag\CoreBundle\Entity\Entry;
use Wallabag\CoreBundle\Repository\IgnoreOriginInstanceRuleRepository;
use Wallabag\Entity\Entry;
use Wallabag\Repository\IgnoreOriginInstanceRuleRepository;
class RuleBasedIgnoreOriginProcessor
{

View file

@ -1,16 +1,16 @@
<?php
namespace Wallabag\CoreBundle\Helper;
namespace Wallabag\Helper;
use Doctrine\Common\Collections\ArrayCollection;
use Psr\Log\LoggerInterface;
use RulerZ\RulerZ;
use Wallabag\CoreBundle\Entity\Entry;
use Wallabag\CoreBundle\Entity\Tag;
use Wallabag\CoreBundle\Entity\TaggingRule;
use Wallabag\CoreBundle\Entity\User;
use Wallabag\CoreBundle\Repository\EntryRepository;
use Wallabag\CoreBundle\Repository\TagRepository;
use Wallabag\Entity\Entry;
use Wallabag\Entity\Tag;
use Wallabag\Entity\TaggingRule;
use Wallabag\Entity\User;
use Wallabag\Repository\EntryRepository;
use Wallabag\Repository\TagRepository;
class RuleBasedTagger
{

View file

@ -1,10 +1,10 @@
<?php
namespace Wallabag\CoreBundle\Helper;
namespace Wallabag\Helper;
use Wallabag\CoreBundle\Entity\Entry;
use Wallabag\CoreBundle\Entity\Tag;
use Wallabag\CoreBundle\Repository\TagRepository;
use Wallabag\Entity\Entry;
use Wallabag\Entity\Tag;
use Wallabag\Repository\TagRepository;
class TagsAssigner
{

View file

@ -1,6 +1,6 @@
<?php
namespace Wallabag\CoreBundle\Helper;
namespace Wallabag\Helper;
/**
* Hash URLs for privacy and performance.