Completed
Push — master ( e9a4c1...1f7593 )
by Raffael
09:08 queued 01:05
created
src/lib/Bootstrap/AbstractBootstrap.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
      */
43 43
     protected function setErrorHandler(): self
44 44
     {
45
-        set_error_handler(function ($severity, $message, $file, $line) {
45
+        set_error_handler(function($severity, $message, $file, $line) {
46 46
             $log = $message.' in '.$file.':'.$line;
47 47
 
48 48
             switch ($severity) {
Please login to merge, or discard this patch.
src/lib/Bootstrap/Cli.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -184,7 +184,7 @@
 block discarded – undo
184 184
      */
185 185
     protected function setExceptionHandler(): self
186 186
     {
187
-        set_exception_handler(function ($e) {
187
+        set_exception_handler(function($e) {
188 188
             $this->logger->emergency('uncaught exception: '.$e->getMessage(), [
189 189
                 'category' => get_class($this),
190 190
                 'exception' => $e,
Please login to merge, or discard this patch.
src/lib/Bootstrap/ContainerBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
      */
52 52
     protected static function setErrorHandler(LoggerInterface $logger): void
53 53
     {
54
-        set_error_handler(function ($severity, $message, $file, $line) use ($logger) {
54
+        set_error_handler(function($severity, $message, $file, $line) use ($logger) {
55 55
             $log = $message.' in '.$file.':'.$line;
56 56
 
57 57
             switch ($severity) {
Please login to merge, or discard this patch.
src/lib/Async/WorkerFactory.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
      */
55 55
     protected function setErrorHandler(LoggerInterface $logger): self
56 56
     {
57
-        set_error_handler(function ($severity, $message, $file, $line) use ($logger) {
57
+        set_error_handler(function($severity, $message, $file, $line) use ($logger) {
58 58
             $log = $message.' in '.$file.':'.$line;
59 59
 
60 60
             switch ($severity) {
Please login to merge, or discard this patch.
src/lib/DataObject.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
             'namespace' => $namespace,
64 64
             'collection' => $collection,
65 65
             'data' => $this->getData(),
66
-            'status' => function ($object) {
66
+            'status' => function($object) {
67 67
                 $endpoints = $object->getEndpoints();
68 68
                 foreach ($endpoints as &$endpoint) {
69 69
                     $endpoint['last_sync'] = $endpoint['last_sync']->toDateTime()->format('c');
Please login to merge, or discard this patch.
src/lib/ResourceNamespace/ResourceNamespaceInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,5 +46,5 @@
 block discarded – undo
46 46
     /**
47 47
      * Switch namespace.
48 48
      */
49
-    public function switch(string $name): ResourceNamespaceInterface;
49
+    public function switch (string $name): ResourceNamespaceInterface;
50 50
 }
Please login to merge, or discard this patch.
src/lib/ResourceNamespace.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@
 block discarded – undo
109 109
     /**
110 110
      * {@inheritdoc}
111 111
      */
112
-    public function switch(string $name): ResourceNamespaceInterface
112
+    public function switch (string $name): ResourceNamespaceInterface
113 113
     {
114 114
         return $this->namespace_factory->getOne($name);
115 115
     }
Please login to merge, or discard this patch.
src/httpdocs/index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
 $request = Zend\Diactoros\ServerRequestFactory::fromGlobals();
32 32
 $logger = $dic->get(Psr\Log\LoggerInterface::class);
33 33
 
34
-set_exception_handler(function ($e) use ($logger) {
34
+set_exception_handler(function($e) use ($logger) {
35 35
     http_response_code(500);
36 36
     $logger->emergency('uncaught exception: '.$e->getMessage(), [
37 37
         'category' => 'Http',
Please login to merge, or discard this patch.
src/lib/Endpoint/AbstractEndpoint.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -178,7 +178,7 @@  discard block
 block discarded – undo
178 178
             'namespace' => $namespace,
179 179
             'collection' => $collection,
180 180
             'data' => $this->getData(),
181
-            'status' => function ($endpoint) {
181
+            'status' => function($endpoint) {
182 182
                 try {
183 183
                     $endpoint->setup();
184 184
 
@@ -334,7 +334,7 @@  discard block
 block discarded – undo
334 334
      */
335 335
     private function parseAttribute(string $string, array $data): string
336 336
     {
337
-        return preg_replace_callback('/(\{(([^\}\{\"]*)+)\})/', function ($match) use ($string, $data) {
337
+        return preg_replace_callback('/(\{(([^\}\{\"]*)+)\})/', function($match) use ($string, $data) {
338 338
             if (substr($match[0], 0, 2) === '{{' && $match[4][0] === '}') {
339 339
                 return $match[2].$match[4];
340 340
             }
Please login to merge, or discard this patch.