Skip to content

Commit 0e3f9cb

Browse files
committed
Merge pull request #14 from fejese/cleanup-uses
Clean up unused uses
2 parents a85bb60 + ca065fc commit 0e3f9cb

13 files changed

+0
-19
lines changed

Attachment/PathHelper.php

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

55
use Infinite\FormBundle\Attachment\Sanitiser;
66
use Symfony\Component\HttpFoundation\File\UploadedFile;
7-
use Symfony\Component\HttpFoundation\Request;
8-
use Symfony\Component\HttpFoundation\StreamedResponse;
9-
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
107

118
class PathHelper
129
{

Form/DataTransformer/AttachmentTransformer.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
use Infinite\FormBundle\Attachment\PathHelper;
88
use Infinite\FormBundle\Attachment\Uploader;
99
use Symfony\Component\Form\DataTransformerInterface;
10-
use Symfony\Component\Form\Exception\TransformationFailedException;
1110
use Symfony\Component\HttpFoundation\File\UploadedFile;
1211

1312
class AttachmentTransformer implements DataTransformerInterface

Form/DataTransformer/EntitySearchTransformerFactory.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
namespace Infinite\FormBundle\Form\DataTransformer;
44

55
use Doctrine\Common\Persistence\ManagerRegistry;
6-
use Doctrine\Common\Persistence\ObjectManager;
76

87
/**
98
* A quick class to create EntitySearchTransformers from options.

InfiniteFormBundle.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
namespace Infinite\FormBundle;
1111

1212
use Symfony\Component\HttpKernel\Bundle\Bundle;
13-
use Symfony\Component\DependencyInjection\ContainerBuilder;
1413

1514
class InfiniteFormBundle extends Bundle
1615
{

Tests/Attachment/AttachmentFieldTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
use Symfony\Bridge\Doctrine\Tests\DoctrineOrmTestCase;
2020
use Symfony\Component\Form\Forms;
2121
use Symfony\Component\HttpFoundation\File\UploadedFile;
22-
use Symfony\Component\HttpFoundation\Request;
2322

2423
class AttachmentFieldTest extends DoctrineOrmTestCase
2524
{

Tests/Attachment/SanitiserTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
namespace Infinite\FormBundle\Tests\Attachment;
1111

1212
use Infinite\FormBundle\Attachment\Sanitiser;
13-
use Symfony\Component\Form\Forms;
14-
use Symfony\Component\HttpFoundation\Request;
1513

1614
class SanitiserTest extends \PHPUnit_Framework_TestCase
1715
{

Tests/Attachment/StreamerTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
use Infinite\FormBundle\Attachment\Sanitiser;
1414
use Infinite\FormBundle\Attachment\Streamer;
1515
use Infinite\FormBundle\Tests\Attachment\Attachments\StandardAttachment;
16-
use Symfony\Component\Form\Forms;
1716
use Symfony\Component\HttpFoundation\Request;
1817

1918
class StreamerTest extends \PHPUnit_Framework_TestCase

Tests/Attachment/UploaderTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@
1616
use Infinite\FormBundle\Tests\Attachment\Attachments\FullHashAttachment;
1717
use Infinite\FormBundle\Tests\Attachment\Attachments\InvalidFormatAttachment;
1818
use Infinite\FormBundle\Tests\Attachment\Attachments\StandardAttachment;
19-
use Symfony\Component\Form\Forms;
2019
use Symfony\Component\HttpFoundation\File\UploadedFile;
21-
use Symfony\Component\HttpFoundation\Request;
2220

2321
class UploaderTest extends \PHPUnit_Framework_TestCase
2422
{

Tests/BundleTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
namespace Infinite\FormBundle\Tests;
1111

1212
use Infinite\FormBundle\InfiniteFormBundle;
13-
use Symfony\Component\Form\Forms;
14-
use Symfony\Component\HttpFoundation\Request;
1513

1614
class BundleTest extends \PHPUnit_Framework_TestCase
1715
{

Tests/CheckboxGrid/CheckboxGridTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
use Infinite\FormBundle\Tests\CheckboxGrid\Model\ColorFinish;
1515
use Symfony\Component\Form\Extension\Core\ChoiceList\SimpleChoiceList;
1616
use Symfony\Component\Form\Forms;
17-
use Symfony\Component\HttpFoundation\Request;
1817

1918
class CheckboxGridTest extends \PHPUnit_Framework_TestCase
2019
{

Tests/CheckboxGrid/EntityCheckboxGridTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
use Infinite\FormBundle\Tests\CheckboxGrid\Type\SalesmanType;
1919
use Symfony\Bridge\Doctrine\Tests\DoctrineOrmTestCase;
2020
use Symfony\Component\Form\Forms;
21-
use Symfony\Component\HttpFoundation\Request;
2221

2322
class EntityCheckboxGridTest extends DoctrineOrmTestCase
2423
{

Tests/EntitySearch/EntitySearchTransformerTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111

1212
use Infinite\FormBundle\Form\DataTransformer\EntitySearchTransformer;
1313
use Infinite\FormBundle\Tests\EntitySearch\Entity\Fruit;
14-
use Symfony\Bridge\Doctrine\Tests\DoctrineOrmTestCase;
15-
use Symfony\Component\Form\Forms;
1614

1715
class EntitySearchTransformerTest extends \PHPUnit_Framework_TestCase
1816
{

Tests/FormExtension/FormExtensionTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
use Symfony\Component\Form\FormError;
1414
use Symfony\Component\Form\FormFactory;
1515
use Symfony\Component\Form\Forms;
16-
use Symfony\Component\Validator\Validation;
1716

1817
class FormExtensionTest extends \PHPUnit_Framework_TestCase
1918
{

0 commit comments

Comments
 (0)