File tree 13 files changed +0
-19
lines changed 13 files changed +0
-19
lines changed Original file line number Diff line number Diff line change 4
4
5
5
use Infinite \FormBundle \Attachment \Sanitiser ;
6
6
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 ;
10
7
11
8
class PathHelper
12
9
{
Original file line number Diff line number Diff line change 7
7
use Infinite \FormBundle \Attachment \PathHelper ;
8
8
use Infinite \FormBundle \Attachment \Uploader ;
9
9
use Symfony \Component \Form \DataTransformerInterface ;
10
- use Symfony \Component \Form \Exception \TransformationFailedException ;
11
10
use Symfony \Component \HttpFoundation \File \UploadedFile ;
12
11
13
12
class AttachmentTransformer implements DataTransformerInterface
Original file line number Diff line number Diff line change 3
3
namespace Infinite \FormBundle \Form \DataTransformer ;
4
4
5
5
use Doctrine \Common \Persistence \ManagerRegistry ;
6
- use Doctrine \Common \Persistence \ObjectManager ;
7
6
8
7
/**
9
8
* A quick class to create EntitySearchTransformers from options.
Original file line number Diff line number Diff line change 10
10
namespace Infinite \FormBundle ;
11
11
12
12
use Symfony \Component \HttpKernel \Bundle \Bundle ;
13
- use Symfony \Component \DependencyInjection \ContainerBuilder ;
14
13
15
14
class InfiniteFormBundle extends Bundle
16
15
{
Original file line number Diff line number Diff line change 19
19
use Symfony \Bridge \Doctrine \Tests \DoctrineOrmTestCase ;
20
20
use Symfony \Component \Form \Forms ;
21
21
use Symfony \Component \HttpFoundation \File \UploadedFile ;
22
- use Symfony \Component \HttpFoundation \Request ;
23
22
24
23
class AttachmentFieldTest extends DoctrineOrmTestCase
25
24
{
Original file line number Diff line number Diff line change 10
10
namespace Infinite \FormBundle \Tests \Attachment ;
11
11
12
12
use Infinite \FormBundle \Attachment \Sanitiser ;
13
- use Symfony \Component \Form \Forms ;
14
- use Symfony \Component \HttpFoundation \Request ;
15
13
16
14
class SanitiserTest extends \PHPUnit_Framework_TestCase
17
15
{
Original file line number Diff line number Diff line change 13
13
use Infinite \FormBundle \Attachment \Sanitiser ;
14
14
use Infinite \FormBundle \Attachment \Streamer ;
15
15
use Infinite \FormBundle \Tests \Attachment \Attachments \StandardAttachment ;
16
- use Symfony \Component \Form \Forms ;
17
16
use Symfony \Component \HttpFoundation \Request ;
18
17
19
18
class StreamerTest extends \PHPUnit_Framework_TestCase
Original file line number Diff line number Diff line change 16
16
use Infinite \FormBundle \Tests \Attachment \Attachments \FullHashAttachment ;
17
17
use Infinite \FormBundle \Tests \Attachment \Attachments \InvalidFormatAttachment ;
18
18
use Infinite \FormBundle \Tests \Attachment \Attachments \StandardAttachment ;
19
- use Symfony \Component \Form \Forms ;
20
19
use Symfony \Component \HttpFoundation \File \UploadedFile ;
21
- use Symfony \Component \HttpFoundation \Request ;
22
20
23
21
class UploaderTest extends \PHPUnit_Framework_TestCase
24
22
{
Original file line number Diff line number Diff line change 10
10
namespace Infinite \FormBundle \Tests ;
11
11
12
12
use Infinite \FormBundle \InfiniteFormBundle ;
13
- use Symfony \Component \Form \Forms ;
14
- use Symfony \Component \HttpFoundation \Request ;
15
13
16
14
class BundleTest extends \PHPUnit_Framework_TestCase
17
15
{
Original file line number Diff line number Diff line change 14
14
use Infinite \FormBundle \Tests \CheckboxGrid \Model \ColorFinish ;
15
15
use Symfony \Component \Form \Extension \Core \ChoiceList \SimpleChoiceList ;
16
16
use Symfony \Component \Form \Forms ;
17
- use Symfony \Component \HttpFoundation \Request ;
18
17
19
18
class CheckboxGridTest extends \PHPUnit_Framework_TestCase
20
19
{
Original file line number Diff line number Diff line change 18
18
use Infinite \FormBundle \Tests \CheckboxGrid \Type \SalesmanType ;
19
19
use Symfony \Bridge \Doctrine \Tests \DoctrineOrmTestCase ;
20
20
use Symfony \Component \Form \Forms ;
21
- use Symfony \Component \HttpFoundation \Request ;
22
21
23
22
class EntityCheckboxGridTest extends DoctrineOrmTestCase
24
23
{
Original file line number Diff line number Diff line change 11
11
12
12
use Infinite \FormBundle \Form \DataTransformer \EntitySearchTransformer ;
13
13
use Infinite \FormBundle \Tests \EntitySearch \Entity \Fruit ;
14
- use Symfony \Bridge \Doctrine \Tests \DoctrineOrmTestCase ;
15
- use Symfony \Component \Form \Forms ;
16
14
17
15
class EntitySearchTransformerTest extends \PHPUnit_Framework_TestCase
18
16
{
Original file line number Diff line number Diff line change 13
13
use Symfony \Component \Form \FormError ;
14
14
use Symfony \Component \Form \FormFactory ;
15
15
use Symfony \Component \Form \Forms ;
16
- use Symfony \Component \Validator \Validation ;
17
16
18
17
class FormExtensionTest extends \PHPUnit_Framework_TestCase
19
18
{
You can’t perform that action at this time.
0 commit comments