Completed
Push — extensions-support ( b18681...5db11b )
by Guido
09:56 queued 06:11
created
src/Extensions/Gedmo/TranslationClass.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
      */
38 38
     public static function enable()
39 39
     {
40
-        Builder::macro(self::MACRO_METHOD, function (Builder $builder, $class) {
40
+        Builder::macro(self::MACRO_METHOD, function(Builder $builder, $class) {
41 41
             return new static($builder->getClassMetadata(), $class);
42 42
         });
43 43
     }
Please login to merge, or discard this patch.
src/Extensions/Gedmo/Uploadable.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
      */
79 79
     public static function enable()
80 80
     {
81
-        Builder::macro(self::MACRO_METHOD, function (Builder $builder) {
81
+        Builder::macro(self::MACRO_METHOD, function(Builder $builder) {
82 82
             return new static($builder->getClassMetadata());
83 83
         });
84 84
 
@@ -312,7 +312,7 @@  discard block
 block discarded – undo
312 312
                 'pathMethod'        => $this->pathMethod,
313 313
                 'callback'          => $this->callback,
314 314
                 'filenameGenerator' => $this->filenameGenerator,
315
-                'maxSize'           => (double)$this->maxSize,
315
+                'maxSize'           => (double) $this->maxSize,
316 316
                 'allowedTypes'      => $this->allowedTypes,
317 317
                 'disallowedTypes'   => $this->disallowedTypes,
318 318
             ]
Please login to merge, or discard this patch.
src/Extensions/Gedmo/UploadableFile.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
     public static function enable()
55 55
     {
56 56
         foreach (self::$validTypes as $type) {
57
-            Field::macro("asFile$type", function (Field $builder) use ($type) {
57
+            Field::macro("asFile$type", function(Field $builder) use ($type) {
58 58
                 return new static($builder->getClassMetadata(), $builder->getName(), $type);
59 59
             });
60 60
         }
Please login to merge, or discard this patch.
src/Extensions/Gedmo/Versioned.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -37,15 +37,15 @@
 block discarded – undo
37 37
 
38 38
     public static function enable()
39 39
     {
40
-        Field::macro(self::MACRO_METHOD, function (Field $builder) {
40
+        Field::macro(self::MACRO_METHOD, function(Field $builder) {
41 41
             return new static($builder->getClassMetadata(), $builder->getName());
42 42
         });
43 43
 
44
-        ManyToOne::macro(self::MACRO_METHOD, function (ManyToOne $builder) {
44
+        ManyToOne::macro(self::MACRO_METHOD, function(ManyToOne $builder) {
45 45
             return new static($builder->getClassMetadata(), $builder->getRelation());
46 46
         });
47 47
 
48
-        OneToOne::macro(self::MACRO_METHOD, function (OneToOne $builder) {
48
+        OneToOne::macro(self::MACRO_METHOD, function(OneToOne $builder) {
49 49
             return new static($builder->getClassMetadata(), $builder->getRelation());
50 50
         });
51 51
     }
Please login to merge, or discard this patch.
src/Extensions/Gedmo/Mappings/Tree/AbstractClosureMapping.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
      */
23 23
     public function map(Fluent $builder)
24 24
     {
25
-        $builder->integer('id')->unsigned()->primary()->generatedValue(function (GeneratedValue $builder) {
25
+        $builder->integer('id')->unsigned()->primary()->generatedValue(function(GeneratedValue $builder) {
26 26
             $builder->identity();
27 27
         });
28 28
         $builder->integer('depth');
Please login to merge, or discard this patch.
Gedmo/Mappings/Translatable/AbstractPersonalTranslationMapping.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
      */
23 23
     public function map(Fluent $builder)
24 24
     {
25
-        $builder->integer('id')->unsigned()->primary()->generatedValue(function (GeneratedValue $builder) {
25
+        $builder->integer('id')->unsigned()->primary()->generatedValue(function(GeneratedValue $builder) {
26 26
             $builder->identity();
27 27
         });
28 28
         $builder->integer('depth');
Please login to merge, or discard this patch.
src/Extensions/Gedmo/Mappings/Translatable/AbstractTranslationMapping.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
      */
23 23
     public function map(Fluent $builder)
24 24
     {
25
-        $builder->integer('id')->unsigned()->primary()->generatedValue(function (GeneratedValue $builder) {
25
+        $builder->integer('id')->unsigned()->primary()->generatedValue(function(GeneratedValue $builder) {
26 26
             $builder->identity();
27 27
         });
28 28
         $builder->integer('depth');
Please login to merge, or discard this patch.
src/Extensions/Gedmo/Tree.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
      */
35 35
     public static function enable()
36 36
     {
37
-        Builder::macro(self::MACRO_METHOD, function (Fluent $builder, callable $callback = null) {
37
+        Builder::macro(self::MACRO_METHOD, function(Fluent $builder, callable $callback = null) {
38 38
             $tree = new static($builder);
39 39
 
40 40
             if (is_callable($callback)) {
Please login to merge, or discard this patch.
src/Extensions/Gedmo/TreeSelfReference.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -76,13 +76,13 @@
 block discarded – undo
76 76
      */
77 77
     protected static function addMacro($method, $key)
78 78
     {
79
-        Field::macro($method, function (Field $field) use ($key) {
79
+        Field::macro($method, function(Field $field) use ($key) {
80 80
             $field->nullable();
81 81
 
82 82
             return new static($field->getClassMetadata(), $field->getName(), $key);
83 83
         });
84 84
 
85
-        ManyToOne::macro($method, function (ManyToOne $relation) use ($key) {
85
+        ManyToOne::macro($method, function(ManyToOne $relation) use ($key) {
86 86
             $relation->nullable();
87 87
 
88 88
             return new static($relation->getClassMetadata(), $relation->getRelation(), $key);
Please login to merge, or discard this patch.