Passed
Push — master ( d81171...ddb4d4 )
by Frank
02:35
created
src/Client/HttplugAsyncClient.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@
 block discarded – undo
129 129
 
130 130
         $this->promiseList = [];
131 131
 
132
-        if (! empty($exceptionList)) {
132
+        if (!empty($exceptionList)) {
133 133
             throw ClientException::fromException('Encountered errors while resolving requests', ...$exceptionList);
134 134
         }
135 135
     }
Please login to merge, or discard this patch.
src/Message/Transaction.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@
 block discarded – undo
107 107
     {
108 108
         $me = clone $this;
109 109
 
110
-        if (! isset($me->markList[$group])) {
110
+        if (!isset($me->markList[$group])) {
111 111
             $me->markList[$group] = [];
112 112
         }
113 113
         $me->markList[$group][$event] = $timestamp;
Please login to merge, or discard this patch.
src/Convenience/OpenTransaction.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
 
81 81
     public function addMark(string $group, string $event, float $timestamp): void
82 82
     {
83
-        if (! isset($this->markList[$group])) {
83
+        if (!isset($this->markList[$group])) {
84 84
             $this->markList[$group] = [];
85 85
         }
86 86
 
Please login to merge, or discard this patch.
src/Convenience/Middleware/ErrorMiddleware.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -69,8 +69,8 @@
 block discarded – undo
69 69
     private function createMessage(ServerRequestInterface $request, Throwable $throwable): ErrorMessage
70 70
     {
71 71
         $message = ErrorMessage::fromException($this->createException($throwable), new Timestamp())
72
-                               ->withId(Uuid::uuid4())
73
-                               ->inContext($this->createContext($request));
72
+                                ->withId(Uuid::uuid4())
73
+                                ->inContext($this->createContext($request));
74 74
 
75 75
         /** @var OpenTransaction|null $transaction */
76 76
         $transaction = $request->getAttribute(TransactionMiddleware::TRANSACTION_ATTRIBUTE);
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@
 block discarded – undo
95 95
     private function createStackTrace(Throwable $throwable): array
96 96
     {
97 97
         return array_map(
98
-            function (array $frame): StackTraceFrame {
98
+            function(array $frame): StackTraceFrame {
99 99
                 $function = implode('::', array_filter([
100 100
                     $frame['class'] ?? null,
101 101
                     $frame['function'] ?? null,
Please login to merge, or discard this patch.
src/Serialization.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
      */
17 17
     public static function filterUnset(array $input): array
18 18
     {
19
-        return array_filter($input, function ($value): bool {
19
+        return array_filter($input, function($value): bool {
20 20
             if ($value === null) {
21 21
                 return false;
22 22
             }
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
      */
35 35
     public static function serialize(JsonSerializable ...$serializable): array
36 36
     {
37
-        return array_map(function (JsonSerializable $frame) {
37
+        return array_map(function(JsonSerializable $frame) {
38 38
             return $frame->jsonSerialize();
39 39
         }, $serializable);
40 40
     }
Please login to merge, or discard this patch.