Completed
Push — master ( 3301bd...f07202 )
by Tijs
30:27 queued 25:47
created
src/SumoCoders/FrameworkCoreBundle/Form/Type/ImageType.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
         $builder
32 32
             ->addEventListener(
33 33
                 FormEvents::PRE_SET_DATA,
34
-                function (FormEvent $event) use ($options) {
34
+                function(FormEvent $event) use ($options) {
35 35
                     $event->getForm()->add(
36 36
                         'file',
37 37
                         SymfonyFileType::class,
@@ -61,10 +61,10 @@  discard block
 block discarded – undo
61 61
             )
62 62
             ->addModelTransformer(
63 63
                 new CallbackTransformer(
64
-                    function (AbstractImage $image = null) {
64
+                    function(AbstractImage $image = null) {
65 65
                         return $image;
66 66
                     },
67
-                    function (AbstractImage $image = null) use ($options) {
67
+                    function(AbstractImage $image = null) use ($options) {
68 68
                         if ($image === null) {
69 69
                             $imageClass = $options['image_class'];
70 70
                             if ($this->removeField !== null && $this->removeField->getData()) {
Please login to merge, or discard this patch.
src/SumoCoders/FrameworkCoreBundle/Form/Type/FileType.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
         $builder
32 32
             ->addEventListener(
33 33
                 FormEvents::PRE_SET_DATA,
34
-                function (FormEvent $event) use ($options) {
34
+                function(FormEvent $event) use ($options) {
35 35
                     $event->getForm()->add(
36 36
                         'file',
37 37
                         SymfonyFileType::class,
@@ -61,10 +61,10 @@  discard block
 block discarded – undo
61 61
             )
62 62
             ->addModelTransformer(
63 63
                 new CallbackTransformer(
64
-                    function (AbstractFile $file = null) {
64
+                    function(AbstractFile $file = null) {
65 65
                         return $file;
66 66
                     },
67
-                    function (AbstractFile $file = null) use ($options) {
67
+                    function(AbstractFile $file = null) use ($options) {
68 68
                         if ($file === null) {
69 69
                             $fileClass = $options['file_class'];
70 70
                             if ($this->removeField !== null && $this->removeField->getData()) {
Please login to merge, or discard this patch.
src/SumoCoders/FrameworkCoreBundle/Extensions/Doctrine/MatchAgainst.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,10 +56,10 @@
 block discarded – undo
56 56
             $haystack .= $column->dispatch($sqlWalker);
57 57
         }
58 58
 
59
-        $query = "MATCH(" . $haystack . ") AGAINST (" . $this->needle->dispatch($sqlWalker);
59
+        $query = "MATCH(".$haystack.") AGAINST (".$this->needle->dispatch($sqlWalker);
60 60
 
61 61
         if ($this->mode) {
62
-            $query .= " " . $this->mode->value . " )";
62
+            $query .= " ".$this->mode->value." )";
63 63
         } else {
64 64
             $query .= " )";
65 65
         }
Please login to merge, or discard this patch.