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,14 +1,14 @@
<?php
namespace Wallabag\CoreBundle\Controller\Import;
namespace Wallabag\Controller\Import;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
use Symfony\Contracts\Translation\TranslatorInterface;
use Wallabag\CoreBundle\Controller\AbstractController;
use Wallabag\CoreBundle\Form\Type\UploadImportType;
use Wallabag\CoreBundle\Import\ImportInterface;
use Wallabag\Controller\AbstractController;
use Wallabag\Form\Type\UploadImportType;
use Wallabag\Import\ImportInterface;
abstract class BrowserController extends AbstractController
{

View File

@ -1,14 +1,14 @@
<?php
namespace Wallabag\CoreBundle\Controller\Import;
namespace Wallabag\Controller\Import;
use Craue\ConfigBundle\Util\Config;
use OldSound\RabbitMqBundle\RabbitMq\Producer as RabbitMqProducer;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\Routing\Annotation\Route;
use Symfony\Contracts\Translation\TranslatorInterface;
use Wallabag\CoreBundle\Import\ChromeImport;
use Wallabag\CoreBundle\Redis\Producer as RedisProducer;
use Wallabag\Import\ChromeImport;
use Wallabag\Redis\Producer as RedisProducer;
class ChromeController extends BrowserController
{

View File

@ -1,16 +1,16 @@
<?php
namespace Wallabag\CoreBundle\Controller\Import;
namespace Wallabag\Controller\Import;
use Craue\ConfigBundle\Util\Config;
use OldSound\RabbitMqBundle\RabbitMq\Producer as RabbitMqProducer;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\Routing\Annotation\Route;
use Symfony\Contracts\Translation\TranslatorInterface;
use Wallabag\CoreBundle\Controller\AbstractController;
use Wallabag\CoreBundle\Form\Type\UploadImportType;
use Wallabag\CoreBundle\Import\DeliciousImport;
use Wallabag\CoreBundle\Redis\Producer as RedisProducer;
use Wallabag\Controller\AbstractController;
use Wallabag\Form\Type\UploadImportType;
use Wallabag\Import\DeliciousImport;
use Wallabag\Redis\Producer as RedisProducer;
class DeliciousController extends AbstractController
{

View File

@ -1,14 +1,14 @@
<?php
namespace Wallabag\CoreBundle\Controller\Import;
namespace Wallabag\Controller\Import;
use Craue\ConfigBundle\Util\Config;
use OldSound\RabbitMqBundle\RabbitMq\Producer as RabbitMqProducer;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\Routing\Annotation\Route;
use Symfony\Contracts\Translation\TranslatorInterface;
use Wallabag\CoreBundle\Import\ElcuratorImport;
use Wallabag\CoreBundle\Redis\Producer as RedisProducer;
use Wallabag\Import\ElcuratorImport;
use Wallabag\Redis\Producer as RedisProducer;
class ElcuratorController extends WallabagController
{

View File

@ -1,14 +1,14 @@
<?php
namespace Wallabag\CoreBundle\Controller\Import;
namespace Wallabag\Controller\Import;
use Craue\ConfigBundle\Util\Config;
use OldSound\RabbitMqBundle\RabbitMq\Producer as RabbitMqProducer;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\Routing\Annotation\Route;
use Symfony\Contracts\Translation\TranslatorInterface;
use Wallabag\CoreBundle\Import\FirefoxImport;
use Wallabag\CoreBundle\Redis\Producer as RedisProducer;
use Wallabag\Import\FirefoxImport;
use Wallabag\Redis\Producer as RedisProducer;
class FirefoxController extends BrowserController
{

View File

@ -1,14 +1,14 @@
<?php
namespace Wallabag\CoreBundle\Controller\Import;
namespace Wallabag\Controller\Import;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
use Symfony\Contracts\Translation\TranslatorInterface;
use Wallabag\CoreBundle\Controller\AbstractController;
use Wallabag\CoreBundle\Form\Type\UploadImportType;
use Wallabag\CoreBundle\Import\ImportInterface;
use Wallabag\Controller\AbstractController;
use Wallabag\Form\Type\UploadImportType;
use Wallabag\Import\ImportInterface;
abstract class HtmlController extends AbstractController
{

View File

@ -1,14 +1,14 @@
<?php
namespace Wallabag\CoreBundle\Controller\Import;
namespace Wallabag\Controller\Import;
use Craue\ConfigBundle\Util\Config;
use Predis\Client;
use Symfony\Component\Routing\Annotation\Route;
use Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface;
use Wallabag\CoreBundle\Consumer\RabbitMQConsumerTotalProxy;
use Wallabag\CoreBundle\Controller\AbstractController;
use Wallabag\CoreBundle\Import\ImportChain;
use Wallabag\Consumer\RabbitMQConsumerTotalProxy;
use Wallabag\Controller\AbstractController;
use Wallabag\Import\ImportChain;
class ImportController extends AbstractController
{

View File

@ -1,16 +1,16 @@
<?php
namespace Wallabag\CoreBundle\Controller\Import;
namespace Wallabag\Controller\Import;
use Craue\ConfigBundle\Util\Config;
use OldSound\RabbitMqBundle\RabbitMq\Producer as RabbitMqProducer;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\Routing\Annotation\Route;
use Symfony\Contracts\Translation\TranslatorInterface;
use Wallabag\CoreBundle\Controller\AbstractController;
use Wallabag\CoreBundle\Form\Type\UploadImportType;
use Wallabag\CoreBundle\Import\InstapaperImport;
use Wallabag\CoreBundle\Redis\Producer as RedisProducer;
use Wallabag\Controller\AbstractController;
use Wallabag\Form\Type\UploadImportType;
use Wallabag\Import\InstapaperImport;
use Wallabag\Redis\Producer as RedisProducer;
class InstapaperController extends AbstractController
{

View File

@ -1,16 +1,16 @@
<?php
namespace Wallabag\CoreBundle\Controller\Import;
namespace Wallabag\Controller\Import;
use Craue\ConfigBundle\Util\Config;
use OldSound\RabbitMqBundle\RabbitMq\Producer as RabbitMqProducer;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\Routing\Annotation\Route;
use Symfony\Contracts\Translation\TranslatorInterface;
use Wallabag\CoreBundle\Controller\AbstractController;
use Wallabag\CoreBundle\Form\Type\UploadImportType;
use Wallabag\CoreBundle\Import\PinboardImport;
use Wallabag\CoreBundle\Redis\Producer as RedisProducer;
use Wallabag\Controller\AbstractController;
use Wallabag\Form\Type\UploadImportType;
use Wallabag\Import\PinboardImport;
use Wallabag\Redis\Producer as RedisProducer;
class PinboardController extends AbstractController
{

View File

@ -1,6 +1,6 @@
<?php
namespace Wallabag\CoreBundle\Controller\Import;
namespace Wallabag\Controller\Import;
use Craue\ConfigBundle\Util\Config;
use OldSound\RabbitMqBundle\RabbitMq\Producer as RabbitMqProducer;
@ -10,9 +10,9 @@ use Symfony\Component\HttpFoundation\Session\SessionInterface;
use Symfony\Component\Routing\Annotation\Route;
use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
use Symfony\Contracts\Translation\TranslatorInterface;
use Wallabag\CoreBundle\Controller\AbstractController;
use Wallabag\CoreBundle\Import\PocketImport;
use Wallabag\CoreBundle\Redis\Producer as RedisProducer;
use Wallabag\Controller\AbstractController;
use Wallabag\Import\PocketImport;
use Wallabag\Redis\Producer as RedisProducer;
class PocketController extends AbstractController
{

View File

@ -1,14 +1,14 @@
<?php
namespace Wallabag\CoreBundle\Controller\Import;
namespace Wallabag\Controller\Import;
use Craue\ConfigBundle\Util\Config;
use OldSound\RabbitMqBundle\RabbitMq\Producer as RabbitMqProducer;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\Routing\Annotation\Route;
use Symfony\Contracts\Translation\TranslatorInterface;
use Wallabag\CoreBundle\Import\PocketHtmlImport;
use Wallabag\CoreBundle\Redis\Producer as RedisProducer;
use Wallabag\Import\PocketHtmlImport;
use Wallabag\Redis\Producer as RedisProducer;
class PocketHtmlController extends HtmlController
{

View File

@ -1,16 +1,16 @@
<?php
namespace Wallabag\CoreBundle\Controller\Import;
namespace Wallabag\Controller\Import;
use Craue\ConfigBundle\Util\Config;
use OldSound\RabbitMqBundle\RabbitMq\Producer as RabbitMqProducer;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\Routing\Annotation\Route;
use Symfony\Contracts\Translation\TranslatorInterface;
use Wallabag\CoreBundle\Controller\AbstractController;
use Wallabag\CoreBundle\Form\Type\UploadImportType;
use Wallabag\CoreBundle\Import\ReadabilityImport;
use Wallabag\CoreBundle\Redis\Producer as RedisProducer;
use Wallabag\Controller\AbstractController;
use Wallabag\Form\Type\UploadImportType;
use Wallabag\Import\ReadabilityImport;
use Wallabag\Redis\Producer as RedisProducer;
class ReadabilityController extends AbstractController
{

View File

@ -1,14 +1,14 @@
<?php
namespace Wallabag\CoreBundle\Controller\Import;
namespace Wallabag\Controller\Import;
use Craue\ConfigBundle\Util\Config;
use OldSound\RabbitMqBundle\RabbitMq\Producer as RabbitMqProducer;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\Routing\Annotation\Route;
use Symfony\Contracts\Translation\TranslatorInterface;
use Wallabag\CoreBundle\Import\ShaarliImport;
use Wallabag\CoreBundle\Redis\Producer as RedisProducer;
use Wallabag\Import\ShaarliImport;
use Wallabag\Redis\Producer as RedisProducer;
class ShaarliController extends HtmlController
{

View File

@ -1,14 +1,14 @@
<?php
namespace Wallabag\CoreBundle\Controller\Import;
namespace Wallabag\Controller\Import;
use Symfony\Component\HttpFoundation\RedirectResponse;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Contracts\Translation\TranslatorInterface;
use Wallabag\CoreBundle\Controller\AbstractController;
use Wallabag\CoreBundle\Form\Type\UploadImportType;
use Wallabag\CoreBundle\Import\ImportInterface;
use Wallabag\Controller\AbstractController;
use Wallabag\Form\Type\UploadImportType;
use Wallabag\Import\ImportInterface;
/**
* Define Wallabag import for v1 and v2, since there are very similar.

View File

@ -1,14 +1,14 @@
<?php
namespace Wallabag\CoreBundle\Controller\Import;
namespace Wallabag\Controller\Import;
use Craue\ConfigBundle\Util\Config;
use OldSound\RabbitMqBundle\RabbitMq\Producer as RabbitMqProducer;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\Routing\Annotation\Route;
use Symfony\Contracts\Translation\TranslatorInterface;
use Wallabag\CoreBundle\Import\WallabagV1Import;
use Wallabag\CoreBundle\Redis\Producer as RedisProducer;
use Wallabag\Import\WallabagV1Import;
use Wallabag\Redis\Producer as RedisProducer;
class WallabagV1Controller extends WallabagController
{

View File

@ -1,14 +1,14 @@
<?php
namespace Wallabag\CoreBundle\Controller\Import;
namespace Wallabag\Controller\Import;
use Craue\ConfigBundle\Util\Config;
use OldSound\RabbitMqBundle\RabbitMq\Producer as RabbitMqProducer;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\Routing\Annotation\Route;
use Symfony\Contracts\Translation\TranslatorInterface;
use Wallabag\CoreBundle\Import\WallabagV2Import;
use Wallabag\CoreBundle\Redis\Producer as RedisProducer;
use Wallabag\Import\WallabagV2Import;
use Wallabag\Redis\Producer as RedisProducer;
class WallabagV2Controller extends WallabagController
{