Skip to content

Commit f26221b

Browse files
committed
cs cleanup
1 parent 943c9a2 commit f26221b

File tree

17 files changed

+3
-21
lines changed

17 files changed

+3
-21
lines changed

Admin/Extension/RouteReferrersExtension.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
namespace Symfony\Cmf\Bundle\RoutingBundle\Admin\Extension;
44

55
use Sonata\AdminBundle\Admin\AdminExtension;
6-
use Sonata\AdminBundle\Admin\AdminInterface;
7-
use Sonata\AdminBundle\Datagrid\ListMapper;
86
use Sonata\AdminBundle\Form\FormMapper;
97

108
/**

Admin/RouteAdmin.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ public function setControllerResolver($controllerResolver)
9999
$this->controllerResolver = $controllerResolver;
100100
}
101101

102-
103102
public function getExportFormats()
104103
{
105104
return array();

CmfRoutingBundle.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@ private function findDoctrineOrmCompiler()
115115
return false;
116116
}
117117

118-
119118
/**
120119
* Builds the compiler pass for the symfony core routing component. The
121120
* compiler pass factory method uses the SymfonyFileLocator which does

Doctrine/Phpcr/PrefixInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ public function getId();
2020
* document.
2121
*/
2222
public function setPrefix($prefix);
23-
}
23+
}

Form/Type/RouteTypeType.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
use Symfony\Component\Form\AbstractType;
66
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
7-
use Symfony\Component\Translation\TranslatorInterface;
87

98
class RouteTypeType extends AbstractType
109
{
@@ -50,4 +49,3 @@ public function getName()
5049
return 'cmf_routing_route_type';
5150
}
5251
}
53-

Model/Route.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace Symfony\Cmf\Bundle\RoutingBundle\Model;
44

5-
65
use Symfony\Component\Routing\Route as SymfonyRoute;
76
use Symfony\Cmf\Component\Routing\RouteObjectInterface;
87

Tests/Functional/BaseTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
use Symfony\Cmf\Bundle\RoutingBundle\Doctrine\Phpcr\Route;
66

7-
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
87
use Symfony\Cmf\Component\Testing\Functional\BaseTestCase as ComponentBaseTestCase;
98
use PHPCR\Util\PathHelper;
109
use Symfony\Cmf\Component\Testing\Document\Content;
@@ -14,6 +13,7 @@ class BaseTestCase extends ComponentBaseTestCase
1413
protected function getDm()
1514
{
1615
$dm = $this->db('PHPCR')->getOm();
16+
1717
return $dm;
1818
}
1919

Tests/Functional/Controller/RedirectControllerTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,12 @@
22

33
namespace Symfony\Cmf\Bundle\RoutingBundle\Tests\Functional\Controller;
44

5-
use PHPCR\Util\PathHelper;
6-
75
use Symfony\Component\HttpFoundation\RedirectResponse;
86

97
use Symfony\Cmf\Bundle\RoutingBundle\Doctrine\Phpcr\Route;
108
use Symfony\Cmf\Bundle\RoutingBundle\Doctrine\Phpcr\RedirectRoute;
119
use Symfony\Cmf\Bundle\RoutingBundle\Controller\RedirectController;
1210
use Symfony\Cmf\Bundle\RoutingBundle\Tests\Functional\BaseTestCase;
13-
use PHPCR\Util\NodeHelper;
1411

1512
class RedirectControllerTest extends BaseTestCase
1613
{

Tests/Functional/Doctrine/Phpcr/RedirectRouteTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
use Symfony\Cmf\Bundle\RoutingBundle\Doctrine\Phpcr\Route;
66
use Symfony\Cmf\Bundle\RoutingBundle\Doctrine\Phpcr\RedirectRoute;
7-
use PHPCR\Util\PathHelper;
87
use Symfony\Cmf\Bundle\RoutingBundle\Tests\Functional\BaseTestCase;
98

109
class RedirectRouteTest extends BaseTestCase

Tests/Functional/Doctrine/Phpcr/RouteProviderTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
namespace Symfony\Cmf\Bundle\RoutingBundle\Tests\Functional\Doctrine\Phpcr;
44

55
use Doctrine\ODM\PHPCR\Document\Generic;
6-
use PHPCR\Util\PathHelper;
76
use Symfony\Component\HttpFoundation\Request;
87

98
use Symfony\Cmf\Bundle\RoutingBundle\Doctrine\Phpcr\Route;

0 commit comments

Comments
 (0)