Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scrutinizer Auto-Fixes #43

Merged
merged 1 commit into from
Feb 27, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion Bundle/MediaBundle/Controller/FolderController.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace Victoire\Bundle\MediaBundle\Controller;

use Symfony\Component\HttpFoundation\Response;

use Victoire\Bundle\MediaBundle\Entity\Folder;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Victoire\Bundle\MediaBundle\Form\FolderType;
Expand Down
1 change: 0 additions & 1 deletion Bundle/MediaBundle/Form/Type/IdToMediaTransformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace Victoire\Bundle\MediaBundle\Form\Type;

use Doctrine\Common\Persistence\ObjectManager;

use Symfony\Component\Form\DataTransformerInterface;
use Symfony\Component\Form\Exception\UnexpectedTypeException;
use Symfony\Component\Form\Exception\TransformationFailedException;
Expand Down
11 changes: 4 additions & 7 deletions Bundle/MediaBundle/Helper/Services/MediaCreatorService.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,11 @@
namespace Victoire\Bundle\MediaBundle\Helper\Services;

use Doctrine\ORM\EntityManager;

use Gaufrette\Filesystem;

use Victoire\Bundle\MediaBundle\Entity\Folder,
Victoire\Bundle\MediaBundle\Repository\FolderRepository,
Victoire\Bundle\MediaBundle\Entity\Media,
Victoire\Bundle\MediaBundle\Helper\File\FileHandler;

use Victoire\Bundle\MediaBundle\Entity\Folder;
use Victoire\Bundle\MediaBundle\Repository\FolderRepository;
use Victoire\Bundle\MediaBundle\Entity\Media;
use Victoire\Bundle\MediaBundle\Helper\File\FileHandler;
use Symfony\Component\HttpFoundation\File\File;

// TODO: Would be cool if we could pass on the folder name. Or the path with a locale.
Expand Down
1 change: 0 additions & 1 deletion Bundle/PageBundle/Controller/BasePageController.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?php
namespace Victoire\Bundle\PageBundle\Controller;

use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\HttpFoundation\Request;
Expand Down
1 change: 0 additions & 1 deletion Bundle/PageBundle/Helper/PageHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
use Victoire\Bundle\PageBundle\Entity\BasePage;
use Victoire\Bundle\PageBundle\Entity\Page;
use Victoire\Bundle\SeoBundle\Helper\PageSeoHelper;
use Victoire\Bundle\TemplateBundle\Entity\Template;
use Victoire\Bundle\WidgetMapBundle\Builder\WidgetMapBuilder;
use Victoire\Bundle\BusinessEntityBundle\Converter\ParameterConverter as BETParameterConverter;
use Victoire\Bundle\BusinessEntityBundle\Helper\BusinessEntityHelper;
Expand Down
1 change: 0 additions & 1 deletion Bundle/PageBundle/Security/Voter/PageOwnerVoter.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

use Symfony\Component\Security\Core\Authorization\Voter\VoterInterface;
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;

use Victoire\Bundle\PageBundle\Entity\Page;

/**
Expand Down
1 change: 0 additions & 1 deletion Bundle/TemplateBundle/Listener/TemplateMenuListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
use Symfony\Component\EventDispatcher\Event;
use Victoire\Bundle\CoreBundle\Listener\MenuListenerInterface;
use Victoire\Bundle\CoreBundle\Menu\MenuBuilder;
use Victoire\Bundle\TemplateBundle\Entity\Template;
use Victoire\Bundle\TemplateBundle\Event\Menu\TemplateMenuContextualEvent;

/**
Expand Down
1 change: 0 additions & 1 deletion Bundle/WidgetBundle/Controller/WidgetController.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\HttpFoundation\JsonResponse;
use Symfony\Component\HttpFoundation\Response;
use Victoire\Bundle\CoreBundle\Entity\View;
use Victoire\Bundle\CoreBundle\Widget\Managers\WidgetManager;
use Victoire\Bundle\WidgetBundle\Entity\Widget;
Expand Down
2 changes: 0 additions & 2 deletions Bundle/WidgetBundle/Model/WidgetManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,8 @@
use Victoire\Bundle\CoreBundle\Entity\View;
use Victoire\Bundle\CoreBundle\Template\TemplateMapper;
use Victoire\Bundle\FormBundle\Helper\FormErrorHelper;
use Victoire\Bundle\PageBundle\Entity\Slot;
use Victoire\Bundle\PageBundle\Entity\WidgetMap;
use Victoire\Bundle\PageBundle\Helper\PageHelper;
use Victoire\Bundle\TemplateBundle\Entity\Template;
use Victoire\Bundle\WidgetBundle\Builder\WidgetFormBuilder;
use Victoire\Bundle\WidgetBundle\Helper\WidgetHelper;
use Victoire\Bundle\WidgetBundle\Renderer\WidgetRenderer;
Expand Down