Completed
Push — master ( b64fc1...5651bd )
by Raffael
16:20 queued 08:39
created
src/lib/Rest/Routes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
      */
21 21
     public static function collect()
22 22
     {
23
-        return FastRoute\simpleDispatcher(function (FastRoute\RouteCollector $r) {
23
+        return FastRoute\simpleDispatcher(function(FastRoute\RouteCollector $r) {
24 24
             $r->addRoute('GET', '/api', [v1\Api::class, 'get']);
25 25
             $r->addRoute('GET', '/api/v1', [v1\Api::class, 'get']);
26 26
             $r->addRoute('GET', '/spec/api/v1', [Specifications::class, 'getApiv1']);
Please login to merge, or discard this patch.
src/lib/AccessRole/Factory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
     {
63 63
         $that = $this;
64 64
 
65
-        return $this->resource_factory->getAllFrom($this->db->{self::COLLECTION_NAME}, $query, $offset, $limit, $sort, function ($resource) use ($that) {
65
+        return $this->resource_factory->getAllFrom($this->db->{self::COLLECTION_NAME}, $query, $offset, $limit, $sort, function($resource) use ($that) {
66 66
             return $that->build($resource);
67 67
         });
68 68
     }
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
     {
131 131
         $that = $this;
132 132
 
133
-        return $this->resource_factory->watchFrom($this->db->{self::COLLECTION_NAME}, $after, $existing, $query, function ($resource) use ($that) {
133
+        return $this->resource_factory->watchFrom($this->db->{self::COLLECTION_NAME}, $after, $existing, $query, function($resource) use ($that) {
134 134
             return $that->build($resource);
135 135
         }, $offset, $limit, $sort);
136 136
     }
Please login to merge, or discard this patch.
src/lib/ResourceNamespace/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/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/Endpoint/MicrosoftGraph.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -286,7 +286,7 @@  discard block
 block discarded – undo
286 286
                     'body' => [
287 287
                         '@odata.id' => self::API_ENDPOINT.'/directoryObjects/'.$member,
288 288
                     ],
289
-                     'headers' => [
289
+                        'headers' => [
290 290
                         'Content-Type' => 'application/json',
291 291
                     ],
292 292
                 ];
@@ -297,7 +297,7 @@  discard block
 block discarded – undo
297 297
                     'id' => 'remove-'.$type.'-'.$member,
298 298
                     'method' => 'DELETE',
299 299
                     'url' => '/groups/'.$id.'/'.$type.'/'.$member.'/$ref',
300
-                     'headers' => [
300
+                        'headers' => [
301 301
                         'Content-Type' => 'application/json',
302 302
                     ],
303 303
                 ];
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.