@@ -20,9 +20,7 @@ |
||
| 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 |
@@ -14,10 +14,7 @@ |
||
| 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 |
@@ -16,7 +16,6 @@ |
||
| 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 |
@@ -16,7 +16,6 @@ |
||
| 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 |
@@ -11,8 +11,6 @@ |
||
| 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 | |
@@ -18,9 +18,7 @@ |
||
| 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 | |
@@ -18,12 +18,10 @@ |
||
| 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 |
@@ -12,7 +12,6 @@ |
||
| 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 |
@@ -12,7 +12,6 @@ |
||
| 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 |