Test Setup Failed
Pull Request — 1.x (#77)
by
unknown
17:40 queued 02:41
created
src/Builders/Overrides/OverrideBuilderFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,10 +34,10 @@
 block discarded – undo
34 34
     protected static function getFactories()
35 35
     {
36 36
         return [
37
-            AttributeOverride::class   => function (ClassMetadata $meta, $name) {
37
+            AttributeOverride::class   => function(ClassMetadata $meta, $name) {
38 38
                 return $meta->hasField($name);
39 39
             },
40
-            AssociationOverride::class => function (ClassMetadata $meta, $name) {
40
+            AssociationOverride::class => function(ClassMetadata $meta, $name) {
41 41
                 return $meta->hasAssociation($name);
42 42
             },
43 43
         ];
Please login to merge, or discard this patch.
src/Extensions/Gedmo/Blameable.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,11 +18,11 @@
 block discarded – undo
18 18
      */
19 19
     public static function enable()
20 20
     {
21
-        Field::macro(self::MACRO_METHOD, function (Field $builder) {
21
+        Field::macro(self::MACRO_METHOD, function(Field $builder) {
22 22
             return new static($builder->getClassMetadata(), $builder->getName());
23 23
         });
24 24
 
25
-        ManyToOne::macro(self::MACRO_METHOD, function (ManyToOne $builder) {
25
+        ManyToOne::macro(self::MACRO_METHOD, function(ManyToOne $builder) {
26 26
             return new static($builder->getClassMetadata(), $builder->getRelation());
27 27
         });
28 28
     }
Please login to merge, or discard this patch.
src/Extensions/Gedmo/IpTraceable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
      */
16 16
     public static function enable()
17 17
     {
18
-        Field::macro(static::MACRO_METHOD, function (Field $builder) {
18
+        Field::macro(static::MACRO_METHOD, function(Field $builder) {
19 19
             return new static($builder->getClassMetadata(), $builder->getName());
20 20
         });
21 21
     }
Please login to merge, or discard this patch.
src/Extensions/Gedmo/Sluggable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@
 block discarded – undo
112 112
      */
113 113
     public static function enable()
114 114
     {
115
-        Field::macro(static::MACRO_METHOD, function (Field $builder, $fields) {
115
+        Field::macro(static::MACRO_METHOD, function(Field $builder, $fields) {
116 116
             return new static($builder->getClassMetadata(), $builder->getName(), $fields);
117 117
         });
118 118
     }
Please login to merge, or discard this patch.
src/Extensions/Gedmo/SortableGroup.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -48,15 +48,15 @@
 block discarded – undo
48 48
      */
49 49
     public static function enable()
50 50
     {
51
-        Field::macro(self::MACRO_METHOD, function (Field $builder) {
51
+        Field::macro(self::MACRO_METHOD, function(Field $builder) {
52 52
             return new static($builder->getClassMetadata(), $builder->getName());
53 53
         });
54 54
 
55
-        ManyToOne::macro(self::MACRO_METHOD, function (ManyToOne $builder) {
55
+        ManyToOne::macro(self::MACRO_METHOD, function(ManyToOne $builder) {
56 56
             return new static($builder->getClassMetadata(), $builder->getRelation());
57 57
         });
58 58
 
59
-        ManyToMany::macro(self::MACRO_METHOD, function (ManyToMany $builder) {
59
+        ManyToMany::macro(self::MACRO_METHOD, function(ManyToMany $builder) {
60 60
             return new static($builder->getClassMetadata(), $builder->getRelation());
61 61
         });
62 62
     }
Please login to merge, or discard this patch.
src/Extensions/Gedmo/SortablePosition.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
      */
47 47
     public static function enable()
48 48
     {
49
-        Field::macro(self::MACRO_METHOD, function (Field $builder) {
49
+        Field::macro(self::MACRO_METHOD, function(Field $builder) {
50 50
             return new static($builder->getClassMetadata(), $builder->getName());
51 51
         });
52 52
     }
Please login to merge, or discard this patch.
src/Extensions/Gedmo/Timestamps.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
      */
17 17
     public static function enable()
18 18
     {
19
-        Builder::macro(self::MACRO_METHOD, function (Fluent $builder, $createdAt = 'createdAt', $updatedAt = 'updatedAt', $type = 'dateTime') {
19
+        Builder::macro(self::MACRO_METHOD, function(Fluent $builder, $createdAt = 'createdAt', $updatedAt = 'updatedAt', $type = 'dateTime') {
20 20
             $builder->{$type}($createdAt)->timestampable()->onCreate();
21 21
             $builder->{$type}($updatedAt)->timestampable()->onUpdate();
22 22
         });
Please login to merge, or discard this patch.
src/Extensions/Gedmo/TreeLeft.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
-        Field::macro(self::MACRO_METHOD, function (Field $field) {
40
+        Field::macro(self::MACRO_METHOD, function(Field $field) {
41 41
             return new static($field->getClassMetadata(), $field->getName());
42 42
         });
43 43
     }
Please login to merge, or discard this patch.
src/Extensions/Gedmo/TreeLevel.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
-        Field::macro(self::MACRO_METHOD, function (Field $field) {
40
+        Field::macro(self::MACRO_METHOD, function(Field $field) {
41 41
             return new static($field->getClassMetadata(), $field->getName());
42 42
         });
43 43
     }
Please login to merge, or discard this patch.