Completed
Push — master ( e9a4c1...1f7593 )
by Raffael
09:08 queued 01:05
created
src/lib/Secret/Factory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
         $filter = $this->prepareQuery($namespace, $query);
94 94
         $that = $this;
95 95
 
96
-        return $this->resource_factory->getAllFrom($this->db->{self::COLLECTION_NAME}, $filter, $offset, $limit, $sort, function (array $resource) use ($namespace, $that) {
96
+        return $this->resource_factory->getAllFrom($this->db->{self::COLLECTION_NAME}, $filter, $offset, $limit, $sort, function(array $resource) use ($namespace, $that) {
97 97
             return $that->build($resource, $namespace);
98 98
         });
99 99
     }
@@ -230,7 +230,7 @@  discard block
 block discarded – undo
230 230
         $filter = $this->prepareQuery($namespace, $query);
231 231
         $that = $this;
232 232
 
233
-        return $this->resource_factory->watchFrom($this->db->{self::COLLECTION_NAME}, $after, $existing, $filter, function (array $resource) use ($namespace, $that) {
233
+        return $this->resource_factory->watchFrom($this->db->{self::COLLECTION_NAME}, $after, $existing, $filter, function(array $resource) use ($namespace, $that) {
234 234
             return $that->build($resource, $namespace);
235 235
         }, $offset, $limit, $sort);
236 236
     }
Please login to merge, or discard this patch.
src/lib/Collection/Factory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
         $filter = $this->prepareQuery($namespace, $query);
94 94
         $that = $this;
95 95
 
96
-        return $this->resource_factory->getAllFrom($this->db->{self::COLLECTION_NAME}, $filter, $offset, $limit, $sort, function (array $resource) use ($namespace, $that) {
96
+        return $this->resource_factory->getAllFrom($this->db->{self::COLLECTION_NAME}, $filter, $offset, $limit, $sort, function(array $resource) use ($namespace, $that) {
97 97
             return $that->build($resource, $namespace);
98 98
         });
99 99
     }
@@ -230,7 +230,7 @@  discard block
 block discarded – undo
230 230
         $filter = $this->prepareQuery($namespace, $query);
231 231
         $that = $this;
232 232
 
233
-        return $this->resource_factory->watchFrom($this->db->{self::COLLECTION_NAME}, $after, $existing, $filter, function (array $resource) use ($namespace, $that) {
233
+        return $this->resource_factory->watchFrom($this->db->{self::COLLECTION_NAME}, $after, $existing, $filter, function(array $resource) use ($namespace, $that) {
234 234
             return $that->build($resource, $namespace);
235 235
         }, $offset, $limit, $sort);
236 236
     }
Please login to merge, or discard this patch.
src/lib/DataObject/Factory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
     {
142 142
         $that = $this;
143 143
 
144
-        return $this->resource_factory->getAllFrom($this->db->{$collection->getCollection()}, $query, $offset, $limit, $sort, function (array $resource) use ($collection, $that) {
144
+        return $this->resource_factory->getAllFrom($this->db->{$collection->getCollection()}, $query, $offset, $limit, $sort, function(array $resource) use ($collection, $that) {
145 145
             return $that->build($resource, $collection);
146 146
         });
147 147
     }
@@ -221,7 +221,7 @@  discard block
 block discarded – undo
221 221
     {
222 222
         $that = $this;
223 223
 
224
-        return $this->resource_factory->watchFrom($this->db->{$collection->getCollection()}, $after, $existing, $query, function (array $resource) use ($collection, $that) {
224
+        return $this->resource_factory->watchFrom($this->db->{$collection->getCollection()}, $after, $existing, $query, function(array $resource) use ($collection, $that) {
225 225
             return $that->build($resource, $collection);
226 226
         }, $offset, $limit, $sort);
227 227
     }
Please login to merge, or discard this patch.
src/lib/Log/Factory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
     {
102 102
         $that = $this;
103 103
 
104
-        return $this->resource_factory->getAllFrom($this->db->{self::COLLECTION_NAME}, $query, $offset, $limit, $sort, function (array $resource) use ($that) {
104
+        return $this->resource_factory->getAllFrom($this->db->{self::COLLECTION_NAME}, $query, $offset, $limit, $sort, function(array $resource) use ($that) {
105 105
             return $that->build($resource);
106 106
         });
107 107
     }
@@ -173,7 +173,7 @@  discard block
 block discarded – undo
173 173
     {
174 174
         $that = $this;
175 175
 
176
-        return $this->resource_factory->watchFrom($this->db->{self::COLLECTION_NAME}, $after, $existing, $query, function (array $resource) use ($that) {
176
+        return $this->resource_factory->watchFrom($this->db->{self::COLLECTION_NAME}, $after, $existing, $query, function(array $resource) use ($that) {
177 177
             return $that->build($resource);
178 178
         }, $offset, $limit, $sort);
179 179
     }
Please login to merge, or discard this patch.
src/lib/Job.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
             'kind' => 'Job',
90 90
             'namespace' => $this->namespace->getName(),
91 91
             'data' => $this->getData(),
92
-            'status' => function () use ($resource, $scheduler) {
92
+            'status' => function() use ($resource, $scheduler) {
93 93
                 $process = iterator_to_array($scheduler->getJobs([
94 94
                     'data.job' => $resource->getName(),
95 95
                     'data.namespace' => $this->namespace->getName(),
Please login to merge, or discard this patch.
src/lib/Async/Sync.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -234,7 +234,7 @@
 block discarded – undo
234 234
             $this->logger->popProcessor();
235 235
         }
236 236
 
237
-        $this->logger->pushProcessor(function ($record) use ($context) {
237
+        $this->logger->pushProcessor(function($record) use ($context) {
238 238
             $record['context'] = array_merge($record['context'], $context);
239 239
 
240 240
             return $record;
Please login to merge, or discard this patch.
src/lib/Rest/Helper.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
         $options = isset($query['pretty']) ? JSON_PRETTY_PRINT : 0;
75 75
         $error = null;
76 76
 
77
-        $stream = new StreamIterator($cursor, function ($resource) use ($request, $options) {
77
+        $stream = new StreamIterator($cursor, function($resource) use ($request, $options) {
78 78
             if ($this->tell() === 0) {
79 79
                 echo  '[';
80 80
             } else {
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
             }
89 89
 
90 90
             flush();
91
-        }, function (\Throwable $e) {
91
+        }, function(\Throwable $e) {
92 92
             if ($this->tell() === 0) {
93 93
                 echo  '[';
94 94
             } else {
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
         $query = $request->getQueryParams();
122 122
         $options = isset($query['pretty']) ? JSON_PRETTY_PRINT : 0;
123 123
 
124
-        $stream = new StreamIterator($cursor, function ($event) use ($request, $options) {
124
+        $stream = new StreamIterator($cursor, function($event) use ($request, $options) {
125 125
             if ($this->tell() === 0) {
126 126
                 echo  '[';
127 127
             } else {
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
             }
139 139
 
140 140
             flush();
141
-        }, function (\Throwable $e) {
141
+        }, function(\Throwable $e) {
142 142
             if ($this->tell() === 0) {
143 143
                 echo  '[';
144 144
             } else {
Please login to merge, or discard this patch.