Skip to content

Commit

Permalink
Merge pull request #43 from paulandrieux/scrutinizer-patch-3
Browse files Browse the repository at this point in the history
Scrutinizer Auto-Fixes
  • Loading branch information
paulandrieux committed Feb 27, 2015
2 parents 4e3ee6e + d9b7cac commit 3b3640e
Show file tree
Hide file tree
Showing 9 changed files with 4 additions and 16 deletions.
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

0 comments on commit 3b3640e

Please sign in to comment.