Completed
Pull Request — 1.2 (#351)
by Wouter
15:38
created
Builder/DatagridBuilder.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -20,9 +20,7 @@
 block discarded – undo
20 20
 use Sonata\AdminBundle\Builder\DatagridBuilderInterface;
21 21
 use Sonata\AdminBundle\Guesser\TypeGuesserInterface;
22 22
 use Sonata\AdminBundle\Filter\FilterFactoryInterface;
23
-
24 23
 use Sonata\DoctrinePHPCRAdminBundle\Datagrid\SimplePager;
25
-
26 24
 use Symfony\Component\Form\FormFactory;
27 25
 
28 26
 class DatagridBuilder implements DatagridBuilderInterface
Please login to merge, or discard this patch.
Builder/FormContractor.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -14,10 +14,7 @@
 block discarded – undo
14 14
 use Sonata\AdminBundle\Admin\AdminInterface;
15 15
 use Sonata\AdminBundle\Admin\FieldDescriptionInterface;
16 16
 use Sonata\AdminBundle\Builder\FormContractorInterface;
17
-
18
-use Symfony\Component\Form\FormBuilder;
19 17
 use Symfony\Component\Form\FormFactoryInterface;
20
-
21 18
 use Doctrine\ODM\PHPCR\Mapping\ClassMetadata;
22 19
 
23 20
 class FormContractor implements FormContractorInterface
Please login to merge, or discard this patch.
Builder/ListBuilder.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,6 @@
 block discarded – undo
16 16
 use Sonata\AdminBundle\Admin\FieldDescriptionCollection;
17 17
 use Sonata\AdminBundle\Builder\ListBuilderInterface;
18 18
 use Sonata\AdminBundle\Guesser\TypeGuesserInterface;
19
-
20 19
 use Doctrine\ODM\PHPCR\Mapping\ClassMetadata;
21 20
 
22 21
 class ListBuilder implements ListBuilderInterface
Please login to merge, or discard this patch.
Builder/ShowBuilder.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,6 @@
 block discarded – undo
16 16
 use Sonata\AdminBundle\Admin\FieldDescriptionCollection;
17 17
 use Sonata\AdminBundle\Builder\ShowBuilderInterface;
18 18
 use Sonata\AdminBundle\Guesser\TypeGuesserInterface;
19
-
20 19
 use Doctrine\ODM\PHPCR\Mapping\ClassMetadata;
21 20
 
22 21
 class ShowBuilder implements ShowBuilderInterface
Please login to merge, or discard this patch.
Filter/NumberFilter.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -11,8 +11,6 @@
 block discarded – undo
11 11
 
12 12
 namespace Sonata\DoctrinePHPCRAdminBundle\Filter;
13 13
 
14
-use Doctrine\ODM\PHPCR\Query\ExpressionBuilder;
15
-use Doctrine\ODM\PHPCR\Query\Expression\Comparison;
16 14
 use Sonata\AdminBundle\Form\Type\Filter\NumberType;
17 15
 use Sonata\AdminBundle\Datagrid\ProxyQueryInterface;
18 16
 
Please login to merge, or discard this patch.
Form/Type/TreeModelType.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -18,9 +18,7 @@
 block discarded – undo
18 18
 use Symfony\Component\Form\FormView;
19 19
 use Symfony\Component\OptionsResolver\OptionsResolverInterface;
20 20
 use Symfony\Component\OptionsResolver\Options;
21
-
22 21
 use Symfony\Cmf\Bundle\TreeBrowserBundle\Tree\TreeInterface;
23
-
24 22
 use Sonata\AdminBundle\Form\ChoiceList\ModelChoiceList;
25 23
 use Sonata\AdminBundle\Form\DataTransformer\ModelToIdTransformer;
26 24
 
Please login to merge, or discard this patch.
Model/ModelManager.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -18,12 +18,10 @@
 block discarded – undo
18 18
 use Sonata\AdminBundle\Datagrid\DatagridInterface;
19 19
 use Sonata\AdminBundle\Datagrid\ProxyQueryInterface;
20 20
 use Sonata\AdminBundle\Exception\ModelManagerException;
21
-
22 21
 use Doctrine\ODM\PHPCR\Mapping\ClassMetadata;
23 22
 use Doctrine\ODM\PHPCR\DocumentManager;
24 23
 use Doctrine\Common\Collections\ArrayCollection;
25 24
 use Doctrine\Common\Util\ClassUtils;
26
-
27 25
 use Symfony\Component\PropertyAccess\Exception\NoSuchPropertyException;
28 26
 
29 27
 class ModelManager implements ModelManagerInterface
Please login to merge, or discard this patch.
Tests/Datagrid/SimplePagerBasicTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 namespace Sonata\DoctrinePHPCRAdminBundle\Tests\Datagrid;
13 13
 
14 14
 use Sonata\DoctrinePHPCRAdminBundle\Datagrid\SimplePager;
15
-use Doctrine\ODM\PHPCR\Query\Query as PHPCRQuery;
16 15
 use Doctrine\Common\Collections\ArrayCollection;
17 16
 
18 17
 class SimplePagerBasicTest extends \PHPUnit_Framework_TestCase
Please login to merge, or discard this patch.
Tests/Datagrid/SimplePagerTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 namespace Sonata\DoctrinePHPCRAdminBundle\Tests\Datagrid;
13 13
 
14 14
 use Sonata\DoctrinePHPCRAdminBundle\Datagrid\SimplePager;
15
-use Doctrine\ODM\PHPCR\Query\Query as PHPCRQuery;
16 15
 use Doctrine\Common\Collections\ArrayCollection;
17 16
 
18 17
 class SimplePagerTest extends \PHPUnit_Framework_TestCase
Please login to merge, or discard this patch.