Completed
Push — wip-platform ( f9e163...53fa26 )
by
unknown
02:09
created
Admin/Traits/Base.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 Blast\Bundle\CoreBundle\Admin\Traits;
13 13
 
14 14
 use Blast\Bundle\CoreBundle\Admin\CoreAdmin;
15
-use Blast\Bundle\CoreBundle\DataSource\Iterator;
16 15
 use Sonata\AdminBundle\Datagrid\DatagridMapper;
17 16
 use Sonata\AdminBundle\Datagrid\ListMapper;
18 17
 use Sonata\AdminBundle\Form\FormMapper;
Please login to merge, or discard this patch.
DataSource/Iterator.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 
14 14
 use Exporter\Source\DoctrineORMQuerySourceIterator;
15 15
 use Doctrine\ORM\PersistentCollection;
16
-use Symfony\Component\PropertyAccess\Exception\NoSuchPropertyException;
17 16
 use Symfony\Component\PropertyAccess\Exception\UnexpectedTypeException;
18 17
 
19 18
 class Iterator extends DoctrineORMQuerySourceIterator
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
 
50 50
                     unset($this->propertyPaths[$i]);
51 51
                 }
52
-            } catch (NoSuchPropertyException|UnexpectedTypeException $e) {
52
+            } catch (NoSuchPropertyException | UnexpectedTypeException $e) {
53 53
                 $collection = preg_replace('/\..+$/', '', $propertyPath);
54 54
                 $subProperty = preg_replace('/^.+\./U', '', $propertyPath);
55 55
                 if ($collection != (string) $propertyPath && $subProperty) {
Please login to merge, or discard this patch.
Exporter/Exporter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
         }
55 55
         $writer = $this->writers[$format];
56 56
 
57
-        $callback = function () use ($source, $writer) {
57
+        $callback = function() use ($source, $writer) {
58 58
             $handler = Handler::create($source, $writer);
59 59
             $handler->export();
60 60
         };
Please login to merge, or discard this patch.