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/Endpoint/Moodle/ApiClient.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
     /**
70 70
      * Set options.
71 71
      *
72
-     * @param iterable $config
72
+     * @param iterable|null $config
73 73
      */
74 74
     public function setOptions(?Iterable $config): ApiClient
75 75
     {
Please login to merge, or discard this patch.
src/lib/Endpoint/AbstractRest.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -218,6 +218,7 @@
 block discarded – undo
218 218
 
219 219
     /**
220 220
      * Verify response.
221
+     * @param \Psr\Http\Message\ResponseInterface $response
221 222
      */
222 223
     protected function getResponse($response): array
223 224
     {
Please login to merge, or discard this patch.
src/lib/AccessRule.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
         $resource = [
43 43
             'kind' => 'AccessRule',
44 44
             'data' => $this->getData(),
45
-       ];
45
+        ];
46 46
 
47 47
         return AttributeResolver::resolve($request, $this, $resource);
48 48
     }
Please login to merge, or discard this patch.
src/lib/Storage/Balloon/ApiClient.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -122,7 +122,7 @@
 block discarded – undo
122 122
             'http' => [
123 123
                 'method' => $method,
124 124
                 'header' => "Content-Type: application/json\r\n".
125
-                          'Authorization: Basic '.base64_encode($this->username.':'.$this->password)."\r\n",
125
+                            'Authorization: Basic '.base64_encode($this->username.':'.$this->password)."\r\n",
126 126
             ],
127 127
         ];
128 128
 
Please login to merge, or discard this patch.
src/lib/Async/Sync.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -398,9 +398,9 @@
 block discarded – undo
398 398
         }
399 399
 
400 400
         $mail = (new Message())
401
-          ->setSubject($subject)
402
-          ->setBody($body)
403
-          ->setEncoding('UTF-8');
401
+            ->setSubject($subject)
402
+            ->setBody($body)
403
+            ->setEncoding('UTF-8');
404 404
 
405 405
         foreach ($this->data['notification']['receiver'] as $receiver) {
406 406
             $mail->setTo($receiver);
Please login to merge, or discard this 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.