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,9 +1,9 @@
<?php
namespace Wallabag\CoreBundle\Event;
namespace Wallabag\Event;
use Symfony\Contracts\EventDispatcher\Event;
use Wallabag\CoreBundle\Entity\Config;
use Wallabag\Entity\Config;
/**
* This event is fired as soon as user configuration is updated.

View File

@ -1,9 +1,9 @@
<?php
namespace Wallabag\CoreBundle\Event;
namespace Wallabag\Event;
use Symfony\Contracts\EventDispatcher\Event;
use Wallabag\CoreBundle\Entity\Entry;
use Wallabag\Entity\Entry;
/**
* This event is fired as soon as an entry is deleted.

View File

@ -1,9 +1,9 @@
<?php
namespace Wallabag\CoreBundle\Event;
namespace Wallabag\Event;
use Symfony\Contracts\EventDispatcher\Event;
use Wallabag\CoreBundle\Entity\Entry;
use Wallabag\Entity\Entry;
/**
* This event is fired as soon as an entry was saved.

View File

@ -1,6 +1,6 @@
<?php
namespace Wallabag\CoreBundle\Event\Listener;
namespace Wallabag\Event\Listener;
use Psr\Log\LoggerInterface;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;

View File

@ -1,13 +1,13 @@
<?php
namespace Wallabag\CoreBundle\Event\Listener;
namespace Wallabag\Event\Listener;
use Doctrine\ORM\EntityManagerInterface;
use FOS\UserBundle\Event\UserEvent;
use FOS\UserBundle\FOSUserEvents;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
use Symfony\Component\HttpFoundation\RequestStack;
use Wallabag\CoreBundle\Entity\Config;
use Wallabag\Entity\Config;
/**
* This listener will create the associated configuration when a user register.

View File

@ -1,6 +1,6 @@
<?php
namespace Wallabag\CoreBundle\Event\Listener;
namespace Wallabag\Event\Listener;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
use Symfony\Component\HttpKernel\Event\RequestEvent;

View File

@ -1,6 +1,6 @@
<?php
namespace Wallabag\CoreBundle\Event\Listener;
namespace Wallabag\Event\Listener;
use FOS\UserBundle\Event\FormEvent;
use FOS\UserBundle\FOSUserEvents;

View File

@ -1,6 +1,6 @@
<?php
namespace Wallabag\CoreBundle\Event\Listener;
namespace Wallabag\Event\Listener;
use FOS\UserBundle\Event\GetResponseUserEvent;
use FOS\UserBundle\FOSUserEvents;

View File

@ -1,10 +1,10 @@
<?php
namespace Wallabag\CoreBundle\Event\Listener;
namespace Wallabag\Event\Listener;
use Symfony\Component\HttpFoundation\Session\SessionInterface;
use Symfony\Component\Security\Http\Event\InteractiveLoginEvent;
use Wallabag\CoreBundle\Entity\User;
use Wallabag\Entity\User;
/**
* Stores the locale of the user in the session after the login.

View File

@ -1,6 +1,6 @@
<?php
namespace Wallabag\CoreBundle\Event\Subscriber;
namespace Wallabag\Event\Subscriber;
use Spiriit\Bundle\FormFilterBundle\Event\GetFilterConditionEvent;
use Spiriit\Bundle\FormFilterBundle\Event\Subscriber\DoctrineORMSubscriber;

View File

@ -1,14 +1,14 @@
<?php
namespace Wallabag\CoreBundle\Event\Subscriber;
namespace Wallabag\Event\Subscriber;
use Doctrine\ORM\EntityManagerInterface;
use Psr\Log\LoggerInterface;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
use Wallabag\CoreBundle\Entity\Entry;
use Wallabag\CoreBundle\Event\EntryDeletedEvent;
use Wallabag\CoreBundle\Event\EntrySavedEvent;
use Wallabag\CoreBundle\Helper\DownloadImages;
use Wallabag\Entity\Entry;
use Wallabag\Event\EntryDeletedEvent;
use Wallabag\Event\EntrySavedEvent;
use Wallabag\Helper\DownloadImages;
class DownloadImagesSubscriber implements EventSubscriberInterface
{

View File

@ -1,11 +1,11 @@
<?php
namespace Wallabag\CoreBundle\Event\Subscriber;
namespace Wallabag\Event\Subscriber;
use Doctrine\ORM\EntityManagerInterface;
use ScssPhp\ScssPhp\Compiler;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
use Wallabag\CoreBundle\Event\ConfigUpdatedEvent;
use Wallabag\Event\ConfigUpdatedEvent;
class GenerateCustomCSSSubscriber implements EventSubscriberInterface
{

View File

@ -1,12 +1,12 @@
<?php
namespace Wallabag\CoreBundle\Event\Subscriber;
namespace Wallabag\Event\Subscriber;
use Doctrine\Common\EventSubscriber;
use Doctrine\DBAL\Platforms\SqlitePlatform;
use Doctrine\ORM\Event\LifecycleEventArgs;
use Doctrine\Persistence\ManagerRegistry;
use Wallabag\CoreBundle\Entity\Entry;
use Wallabag\Entity\Entry;
/**
* SQLite doesn't care about cascading remove, so we need to manually remove associated stuf for an Entry.

View File

@ -1,6 +1,6 @@
<?php
namespace Wallabag\CoreBundle\Event\Subscriber;
namespace Wallabag\Event\Subscriber;
use Doctrine\Common\EventSubscriber;
use Doctrine\ORM\Event\LoadClassMetadataEventArgs;