Completed
Push — 2.3 ( 3b6098...a3c7dc )
by
unknown
02:23
created
Filter/ClassFilter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
     /**
45 45
      * @param int $type
46 46
      *
47
-     * @return mixed
47
+     * @return string|false
48 48
      */
49 49
     private function getOperator($type)
50 50
     {
Please login to merge, or discard this patch.
Filter/StringFilter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
     /**
54 54
      * @param string $type
55 55
      *
56
-     * @return bool
56
+     * @return string|false
57 57
      */
58 58
     private function getOperator($type)
59 59
     {
Please login to merge, or discard this patch.
Model/ModelManager.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -618,7 +618,7 @@
 block discarded – undo
618 618
      *
619 619
      * @param string $property
620 620
      *
621
-     * @return mixed
621
+     * @return string
622 622
      */
623 623
     protected function camelize($property)
624 624
     {
Please login to merge, or discard this patch.
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -15,19 +15,15 @@
 block discarded – undo
15 15
 use Doctrine\ORM\EntityManager;
16 16
 use Sonata\DoctrineORMAdminBundle\Admin\FieldDescription;
17 17
 use Sonata\DoctrineORMAdminBundle\Datagrid\ProxyQuery;
18
-
19 18
 use Sonata\AdminBundle\Model\ModelManagerInterface;
20 19
 use Sonata\AdminBundle\Admin\FieldDescriptionInterface;
21 20
 use Sonata\AdminBundle\Datagrid\DatagridInterface;
22 21
 use Sonata\AdminBundle\Datagrid\ProxyQueryInterface;
23 22
 use Sonata\AdminBundle\Exception\ModelManagerException;
24
-
25 23
 use Doctrine\ORM\QueryBuilder;
26 24
 use Doctrine\DBAL\DBALException;
27
-
28 25
 use Symfony\Component\Form\Exception\PropertyAccessDeniedException;
29 26
 use Symfony\Bridge\Doctrine\RegistryInterface;
30
-
31 27
 use Exporter\Source\DoctrineORMQuerySourceIterator;
32 28
 
33 29
 class ModelManager implements ModelManagerInterface
Please login to merge, or discard this patch.
Filter/NumberFilter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
     /**
54 54
      * @param string $type
55 55
      *
56
-     * @return bool
56
+     * @return string|false
57 57
      */
58 58
     private function getOperator($type)
59 59
     {
Please login to merge, or discard this patch.
Block/AuditBlockService.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -14,13 +14,10 @@
 block discarded – undo
14 14
 use Sonata\BlockBundle\Block\BlockContextInterface;
15 15
 use Symfony\Component\HttpFoundation\Response;
16 16
 use Symfony\Bundle\FrameworkBundle\Templating\EngineInterface;
17
-
18 17
 use Sonata\AdminBundle\Form\FormMapper;
19 18
 use Sonata\AdminBundle\Validator\ErrorElement;
20
-
21 19
 use Sonata\BlockBundle\Model\BlockInterface;
22 20
 use Sonata\BlockBundle\Block\BaseBlockService;
23
-
24 21
 use SimpleThings\EntityAudit\AuditReader;
25 22
 use Symfony\Component\OptionsResolver\OptionsResolverInterface;
26 23
 
Please login to merge, or discard this patch.
Builder/FormContractor.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -14,13 +14,9 @@
 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 17
 use Symfony\Component\Form\FormFactoryInterface;
19
-
20 18
 use Doctrine\ORM\Mapping\ClassMetadataInfo;
21 19
 
22
-use Sonata\DoctrineORMAdminBundle\Admin\FieldDescription;
23
-
24 20
 class FormContractor implements FormContractorInterface
25 21
 {
26 22
     protected $fieldFactory;
Please login to merge, or discard this patch.
Filter/ChoiceFilter.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
     /**
54 54
      * @param string $type
55 55
      *
56
-     * @return bool
56
+     * @return string|false
57 57
      */
58 58
     private function getOperator($type)
59 59
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 
12 12
 namespace Sonata\DoctrineORMAdminBundle\Filter;
13 13
 
14
-use Doctrine\ORM\QueryBuilder;
15 14
 use Sonata\AdminBundle\Form\Type\Filter\ChoiceType;
16 15
 use Sonata\AdminBundle\Datagrid\ProxyQueryInterface;
17 16
 
Please login to merge, or discard this patch.
Util/ObjectAclManipulator.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,6 @@
 block discarded – undo
15 15
 use Symfony\Component\Security\Acl\Domain\ObjectIdentity;
16 16
 use Symfony\Component\Security\Acl\Domain\UserSecurityIdentity;
17 17
 use Symfony\Component\Console\Output\OutputInterface;
18
-
19 18
 use Sonata\AdminBundle\Security\Handler\AclSecurityHandlerInterface;
20 19
 use Sonata\AdminBundle\Admin\AdminInterface;
21 20
 use Sonata\AdminBundle\Util\ObjectAclManipulator as BaseObjectAclManipulator;
Please login to merge, or discard this patch.
Builder/DatagridBuilder.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,6 @@
 block discarded – undo
15 15
 use Symfony\Component\Security\Acl\Domain\ObjectIdentity;
16 16
 use Symfony\Component\Security\Acl\Domain\UserSecurityIdentity;
17 17
 use Symfony\Component\Console\Output\OutputInterface;
18
-
19 18
 use Sonata\AdminBundle\Security\Handler\AclSecurityHandlerInterface;
20 19
 use Sonata\AdminBundle\Admin\AdminInterface;
21 20
 use Sonata\AdminBundle\Util\ObjectAclManipulator as BaseObjectAclManipulator;
Please login to merge, or discard this patch.